From ba46b38c7dac3f0571ad233f8b6ebe43ac6d3a90 Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Thu, 28 Dec 2017 13:48:42 +0100 Subject: [PATCH] SpinalHDL 1.1.0 --- build.sbt | 4 ++-- src/main/scala/mylib/MyTopLevelSim.scala | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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)