IntrinsicExpr

chisel3.IntrinsicExpr
object IntrinsicExpr

Attributes

Source
Intrinsic.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[T <: Data](intrinsic: String, ret: => T, params: (String, Param)*)(data: Data*)(implicit sourceInfo: SourceInfo): T

Create an intrinsic expression.

Create an intrinsic expression.

Value parameters

data

inputs

intrinsic

name of the intrinsic

params

parameter name/value pairs, if any. Parameter names must be unique.

ret

return type of the expression

Attributes

Returns

intrinsic expression that returns the specified return type

Example
val test = IntrinsicExpr("test", UInt(32.W), "Foo" -> 5)(f, g) + 3.U
Source
Intrinsic.scala