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.
- Alphabetic
- By Inheritance
- TestBenchServer
- App
- DelayedInit
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- val compiled: SimCompiled[VexiiRiscv]
-
val
executionStart: Long
- Definition Classes
- App
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
- var i: Int
-
def
main(args: Array[String]): Unit
- Definition Classes
- App
- Annotations
- @deprecatedOverriding( "main should not be overridden" , "2.11.0" )
- val param: ParamSimple
- val serverSocket: ServerSocket
- val simConfig: SpinalSimConfig
Deprecated Value Members
-
def
delayedInit(body: ⇒ Unit): Unit
- Definition Classes
- App → DelayedInit
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) the delayedInit mechanism will disappear