SpinalHDL 1.1.0

This commit is contained in:
Dolu1990
2017-12-28 13:48:42 +01:00
parent e0b1e20252
commit ba46b38c7d
2 changed files with 3 additions and 3 deletions

View File

@@ -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)