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 StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
In this article