SpinalHDL 1.3.1

This commit is contained in:
Dolu1990
2019-01-14 13:35:34 +01:00
parent 31f3b617a9
commit 70ee49e249
2 changed files with 3 additions and 6 deletions

View File

@@ -7,8 +7,8 @@ scalaVersion := "2.11.12"
EclipseKeys.withSource := true
libraryDependencies ++= Seq(
"com.github.spinalhdl" % "spinalhdl-core_2.11" % "1.3.0",
"com.github.spinalhdl" % "spinalhdl-lib_2.11" % "1.3.0"
"com.github.spinalhdl" % "spinalhdl-core_2.11" % "1.3.1",
"com.github.spinalhdl" % "spinalhdl-lib_2.11" % "1.3.1"
)
fork := true

View File

@@ -15,8 +15,7 @@ object MyTopLevelSim {
dut.clockDomain.forkStimulus(period = 10)
var modelState = 0
var idx = 0
while(idx < 100){
for(idx <- 0 to 99){
//Drive the dut inputs with random values
dut.io.cond0 #= Random.nextBoolean()
dut.io.cond1 #= Random.nextBoolean()
@@ -33,8 +32,6 @@ object MyTopLevelSim {
if(dut.io.cond0.toBoolean) {
modelState = (modelState + 1) & 0xFF
}
idx += 1
}
}
}