instantiable

chisel3.experimental.hierarchy.instantiable
class instantiable extends StaticAnnotation

Classes or traits which will be used with the Definition + Instance api should be marked with the instantiable annotation at the class/trait definition.

Attributes

Example
@instantiable
class MyModule extends Module {
 ...
}
val d = Definition(new MyModule)
val i0 = Instance(d)
val i1 = Instance(d)
Source
HierarchyMarker.scala
Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
In this article