o

vexiiriscv.tester

TestBenchServer

object TestBenchServer extends App

So, this is a quite special scala App. It allows to start a VexiiRiscv simulation server for a specific configuration.

here is an example how you can start the server and spawn a simulation on it : sbt "runMain vexiiriscv.tester.TestBenchServer --with-rvm" Then wait for : [info] [Progress] Verilator compilation started [info] [Progress] Verilator compilation done in 2591.432 ms [info] Waiting for connections Then, in another terminal, you can spawn a new simulation via for instance : echo '--load-elf ext/NaxSoftware/baremetal/dhrystone/build/rv32ima/dhrystone.elf' | nc localhost 8189

The advantage of this aproache over runnint the sbt "runMain vexiiriscv.tester.TestBench" is that you can "warm up" a simulator, meaning running the generation and compilation of the hardware, and then invoke the simulations many time on it with close to zero startup time. This was done to run the many embench benchmarks efficiently.

Linear Supertypes
App, DelayedInit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestBenchServer
  2. App
  3. DelayedInit
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val compiled: SimCompiled[VexiiRiscv]
  2. val executionStart: Long
    Definition Classes
    App
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  3. var i: Int
  4. def main(args: Array[String]): Unit
    Definition Classes
    App
    Annotations
    @deprecatedOverriding( "main should not be overridden" , "2.11.0" )
  5. val param: ParamSimple
  6. val serverSocket: ServerSocket
  7. val simConfig: SpinalSimConfig

Deprecated Value Members

  1. def delayedInit(body: ⇒ Unit): Unit
    Definition Classes
    App → DelayedInit
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) the delayedInit mechanism will disappear