fromIntToLiteral

chisel3.`package`.fromIntToLiteral
implicit class fromIntToLiteral(int: Int) extends fromBigIntToLiteral

Attributes

Source
package.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def B: Bool

Int to Bool conversion, allowing compact syntax like 1.B and 0.B

Int to Bool conversion, allowing compact syntax like 1.B and 0.B

Attributes

Inherited from:
fromBigIntToLiteral
Source
package.scala
def S(width: Width): SInt

Int to SInt conversion with specified width, recommended style for constants.

Int to SInt conversion with specified width, recommended style for constants.

Attributes

Inherited from:
fromBigIntToLiteral
Source
package.scala
def S: SInt

Int to SInt conversion, recommended style for constants.

Int to SInt conversion, recommended style for constants.

Attributes

Inherited from:
fromBigIntToLiteral
Source
package.scala
def U(width: Width): UInt

Int to UInt conversion with specified width, recommended style for constants.

Int to UInt conversion with specified width, recommended style for constants.

Attributes

Inherited from:
fromBigIntToLiteral
Source
package.scala
def U: UInt

Int to UInt conversion, recommended style for constants.

Int to UInt conversion, recommended style for constants.

Attributes

Inherited from:
fromBigIntToLiteral
Source
package.scala
def asSInt(width: Width): SInt

Int to SInt conversion with specified width, recommended style for variables.

Int to SInt conversion with specified width, recommended style for variables.

Attributes

Inherited from:
fromBigIntToLiteral
Source
package.scala
def asSInt: SInt

Int to SInt conversion, recommended style for variables.

Int to SInt conversion, recommended style for variables.

Attributes

Inherited from:
fromBigIntToLiteral
Source
package.scala
def asUInt(width: Width): UInt

Int to UInt conversion with specified width, recommended style for variables.

Int to UInt conversion with specified width, recommended style for variables.

Attributes

Inherited from:
fromBigIntToLiteral
Source
package.scala
def asUInt: UInt

Int to UInt conversion, recommended style for variables.

Int to UInt conversion, recommended style for variables.

Attributes

Inherited from:
fromBigIntToLiteral
Source
package.scala