c

vexiiriscv.tester

TestOptions

class TestOptions extends AnyRef

This class store a bunch of options about how to run a VexiiRiscv testbench, including which binaries need to be loaded in memory.

It also include a "test" function actualy contains the simulation code itself, and when invoked will run the whole simulation.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestOptions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TestOptions()

Value Members

  1. def addElf(f: File): TestOptions.this.type
  2. def addOptions(parser: OptionParser[Unit]): Unit
  3. val bins: ArrayBuffer[(Long, File)]
  4. var dbusBaseLatency: Int
  5. var dbusReadyFactor: Float
  6. var dualSim: Boolean
  7. val elfs: ArrayBuffer[File]
  8. var failAfter: Option[Long]
  9. val fsmTasksGen: Queue[() ⇒ FsmTask]
  10. def getTestName(): String
  11. var ibusBaseLatency: Int
  12. var ibusReadyFactor: Float
  13. var jtagRemote: Boolean
  14. var passAfter: Option[Long]
  15. var passSymbolName: String
  16. var printStats: Boolean
  17. var seed: Int
  18. def setFailAfter(time: Long): TestOptions.this.type
  19. var simSpeedPrinter: Option[Double]
  20. var spawnProcess: Option[String]
  21. var startSymbol: Option[String]
  22. var startSymbolOffset: Long
  23. def test(dut: VexiiRiscv, onTrace: (⇒ Unit) ⇒ Unit = cb => {}): Unit
  24. def test(compiled: SimCompiled[VexiiRiscv]): Unit
  25. var testName: Option[String]
  26. var traceKonata: Boolean
  27. var traceRvlsLog: Boolean
  28. var traceSpikeLog: Boolean
  29. var traceWave: Boolean
  30. val u32s: ArrayBuffer[(Long, Int)]
  31. var withProbe: Boolean
  32. var withRvls: Boolean
  33. var withRvlsCheck: Boolean
  34. var withStdIn: Boolean