mirror of
https://github.com/SpinalHDL/SpinalTemplateSbt.git
synced 2025-10-23 08:08:43 +08:00
SpinalHDL 1.1.0
This commit is contained in:
@@ -10,7 +10,7 @@ import scala.util.Random
|
||||
//MyTopLevel's testbench
|
||||
object MyTopLevelSim {
|
||||
def main(args: Array[String]) {
|
||||
SimConfig(new MyTopLevel).withWave.doManagedSim{dut =>
|
||||
SimConfig.withWave.doSim(new MyTopLevel){dut =>
|
||||
//Fork a process to generate the reset and the clock on the dut
|
||||
dut.clockDomain.forkStimulus(period = 10)
|
||||
|
||||
|
Reference in New Issue
Block a user