Collect BlackBoxHelperAnnos and and find the target dir if specified
Collect BlackBoxHelperAnnos and and find the target dir if specified
a list of generic annotations for this transform
BlackBoxHelperAnnos and target directory
write the verilog source for each annotation to the target directory
write the verilog source for each annotation to the target directory
Input Firrtl AST
A transformed Firrtl AST
BlackBoxNotFoundException
if a Verilog source cannot be found
the state is not changed by this transform
The firrtl.CircuitForm that this transform requires to operate on
The firrtl.CircuitForm that this transform requires to operate on
A convenience function useful for debugging and error messages
A convenience function useful for debugging and error messages
The firrtl.CircuitForm that this transform outputs
The firrtl.CircuitForm that this transform outputs
Perform the transform and update annotations.
Perform the transform and update annotations.
Input Firrtl AST
A transformed Firrtl AST
Convenience method to get annotations relevant to this Transform
Convenience method to get annotations relevant to this Transform
The CircuitState form which to extract annotations
A collection of annotations
(Since version 1.1) Just collect the actual Annotation types the transform wants
Handle source for Verilog ExtModules (BlackBoxes)
This transform handles the moving of Verilog source for black boxes into the target directory so that it can be accessed by verilator or other backend compilers While parsing it's annotations it looks for a BlackBoxTargetDir annotation that will set the directory where the Verilog will be written. This annotation is typically be set by the execution harness, or directly in the tests