trait EditableBuildCSimulatorCommand extends AnyRef
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.
- Alphabetic
- By Inheritance
- EditableBuildCSimulatorCommand
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
composeCommand(topModule: String, dir: File, flags: Seq[String], cFlags: Seq[String]): String
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).
- topModule
- the name of the module to be simulated
- dir
- the directory in which to build the simulation
- flags
- general flags for the build process
- cFlags
- C flags for the build process
- returns
a string (suitable for "bash -c") to build the simulator.
-
abstract
def
composeFlags(topModule: String, dir: File, moreIvlFlags: Seq[String] = Seq.empty[String], moreIvlCFlags: Seq[String] = Seq.empty[String]): (Seq[String], Seq[String])
Compose user-supplied flags with the default flags.
Compose user-supplied flags with the default flags.
- topModule
- the name of the module to be simulated
- dir
- the directory in which to build the simulation
- returns
tuple containing a sequence of the composed general flags and a sequence of the composed C flags
-
abstract
def
constructCSimulatorCommand(topModule: String, dir: File, harness: File, flags: Seq[String] = Seq.empty[String], cFlags: Seq[String] = Seq.empty[String]): String
Construct a command to build a C-based simulator.
Construct a command to build a C-based simulator.
- topModule
- the name of the module to be simulated
- dir
- the directory in which to build the simulation
- flags
- user flags to be passed to the build process - these will be composed with the default flags for the builder
- cFlags
- user C flags to be passed to the build process - these will be composed with the default C flags for the builder
- returns
string representing the bash command to be executed
- Note
This method will call
composeFlags()
internally, so the flag parameters should NOT include the default flags for the builder.
- abstract val prefix: String
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
blackBoxVerilogList(dir: File): Seq[String]
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.
- dir
- directory in which the file should exist
- returns
sequence of strings (suitable for passing as arguments to the simulator builder) specifying a flag and the absolute path to the file.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
editCSimulatorCommand(buildCommand: String, editCommands: String): String
Edit a C simulator build string.
Edit a C simulator build string.
- buildCommand
- generated command line to be passed to the build process ("bash -c <cmd>")
- editCommands
- commands to edit the generated command line
- returns
edited command string
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated