mirror of
https://github.com/SpinalHDL/SpinalTemplateSbt.git
synced 2025-10-22 23:58:44 +08:00
SpinalHDL 1.1.0
This commit is contained in:
@@ -7,8 +7,8 @@ scalaVersion := "2.11.6"
|
|||||||
EclipseKeys.withSource := true
|
EclipseKeys.withSource := true
|
||||||
|
|
||||||
libraryDependencies ++= Seq(
|
libraryDependencies ++= Seq(
|
||||||
"com.github.spinalhdl" % "spinalhdl-core_2.11" % "1.0.5",
|
"com.github.spinalhdl" % "spinalhdl-core_2.11" % "1.1.0",
|
||||||
"com.github.spinalhdl" % "spinalhdl-lib_2.11" % "1.0.5"
|
"com.github.spinalhdl" % "spinalhdl-lib_2.11" % "1.1.0"
|
||||||
)
|
)
|
||||||
|
|
||||||
addCompilerPlugin("org.scala-lang.plugins" % "scala-continuations-plugin_2.11.6" % "1.0.2")
|
addCompilerPlugin("org.scala-lang.plugins" % "scala-continuations-plugin_2.11.6" % "1.0.2")
|
||||||
|
@@ -10,7 +10,7 @@ import scala.util.Random
|
|||||||
//MyTopLevel's testbench
|
//MyTopLevel's testbench
|
||||||
object MyTopLevelSim {
|
object MyTopLevelSim {
|
||||||
def main(args: Array[String]) {
|
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
|
//Fork a process to generate the reset and the clock on the dut
|
||||||
dut.clockDomain.forkStimulus(period = 10)
|
dut.clockDomain.forkStimulus(period = 10)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user