t

chisel3.iotesters

EditableBuildCSimulatorCommand

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.

Source
PeekPokeTesterUtils.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EditableBuildCSimulatorCommand
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. 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.

  2. 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

  3. 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.

  4. abstract val prefix: String

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. 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.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. 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

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped