SBT setup for simulation
To enable SpinalSim, the following lines have to be added in your build.sbt file :
fork := true
Also the following imports have to be added in testbenches sources :
import spinal.core._
import spinal.core.sim._
Also, if you need to use gmake instead of make (ex OpenBSD) you can set the SPINAL_MAKE_CMD environnement variable to “gmake”