chisel3.tester.legacy.backends.verilator
Given two sets of flags (non-CFlags and CFlags), return the composed command (prior to editting).
Given two sets of flags (non-CFlags and CFlags), return the composed command (prior to editting).
- the name of the module to be simulated
- the directory in which to build the simulation
- general flags for the build process
- C flags for the build process
a string (suitable for "bash -c") to build the simulator.
Compose user-supplied flags with the default flags.
Compose user-supplied flags with the default flags.
- the name of the module to be simulated
- the directory in which to build the simulation
- general flags for the build process
- C flags for the build process
tuple containing a sequence of the composed general flags and a sequence of the composed C flags
Construct a command to build a C-based simulator.
Construct a command to build a C-based simulator.
- the name of the module to be simulated
- the directory in which to build the simulation
- user flags to be passed to the build process - these will be composed with the default flags for the builder
- user C flags to be passed to the build process - these will be composed with the default C flags for the builder
string representing the bash command to be executed
This method will call composeFlags()
internally, so the flag parameters should NOT include the default flags for the builder.
If we have a list of black box verilog implementations, return a sequence suitable for sourcing the file containing the list.
If we have a list of black box verilog implementations, return a sequence suitable for sourcing the file containing the list.
- directory in which the file should exist
sequence of strings (suitable for passing as arguments to the simulator builder) specifying a flag and the absolute path to the file.
Edit a C simulator build string.
Edit a C simulator build string.
- generated command line to be passed to the build process ("bash -c <cmd>")
- commands to edit the generated command line
edited command string
An EditableBuildCSimulatorCommand provides methods for assembling a system command string from provided flags and editing specifications. This is a trait to facilitate expansion (for more C-based simulators) and testing.