Trait

chisel3.iotesters

EditableBuildCSimulatorCommand

Related Doc: package iotesters

Permalink

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

Abstract Value Members

  1. abstract def composeCommand(topModule: String, dir: File, flags: Seq[String], cFlags: Seq[String]): String

    Permalink

    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])

    Permalink

    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

    Permalink

    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

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def blackBoxVerilogList(dir: File): Seq[String]

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def editCSimulatorCommand(buildCommand: String, editCommands: String): String

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped