diff --git a/build.sbt b/build.sbt index a421407..c9f323f 100644 --- a/build.sbt +++ b/build.sbt @@ -7,8 +7,8 @@ scalaVersion := "2.11.6" EclipseKeys.withSource := true libraryDependencies ++= Seq( - "com.github.spinalhdl" % "spinalhdl-core_2.11" % "1.0.5", - "com.github.spinalhdl" % "spinalhdl-lib_2.11" % "1.0.5" + "com.github.spinalhdl" % "spinalhdl-core_2.11" % "1.1.0", + "com.github.spinalhdl" % "spinalhdl-lib_2.11" % "1.1.0" ) addCompilerPlugin("org.scala-lang.plugins" % "scala-continuations-plugin_2.11.6" % "1.0.2") diff --git a/src/main/scala/mylib/MyTopLevelSim.scala b/src/main/scala/mylib/MyTopLevelSim.scala index 9963cc4..4db12dd 100644 --- a/src/main/scala/mylib/MyTopLevelSim.scala +++ b/src/main/scala/mylib/MyTopLevelSim.scala @@ -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)