IdentityLike

firrtl.options.IdentityLike
trait IdentityLike[A]

Mix-in that makes a TransformLike guaranteed to be an identity function on some type.

Type parameters

A

the transformed type

Attributes

Deprecated
[Since version Chisel 7.0.0] All APIs in package firrtl are deprecated.
Source
Phase.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

protected def internalTransform(a: A): Unit

The internal operation of this transform which, in order for this to be an identity function, must return nothing.

The internal operation of this transform which, in order for this to be an identity function, must return nothing.

Value parameters

a

an input object

Attributes

Returns

nothing

Source
Phase.scala
final override def transform(a: A): A

This method will execute internalTransform and then return the original input object

This method will execute internalTransform and then return the original input object

Value parameters

a

an input object

Attributes

Returns

the input object

Definition Classes
Source
Phase.scala