You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide the steps to reproduce the problem:
See below for complete project. I modified the simulator to export vcd and keep the temp files.
class TmpUnitTests extends AnyFlatSpec {
behavior of "Tmp"
it should "have an oscilating clock" in {
simulate(new TmpTestBench) { dut =>
dut.clock.step()
dut.io.in.valid.poke(true.B)
dut.io.in.bits.poke(42.U)
dut.io.in.ready.expect(true.B) // Remove this to fix the clock
dut.clock.step()
dut.io.out.expect(42.U)
dut.clock.step()
}
}
}
Type of issue: Bug Report
Please provide the steps to reproduce the problem:
See below for complete project. I modified the simulator to export vcd and keep the temp files.
What is the current behavior?
What is the expected behavior?
Please tell us about your environment:
Other Information
This is sent to the "simulation" executable.
I i remove line 5 (R 0), everything looks fine.
Here's the complete project:
src/test/scala/TmpTests.scala
build.sbt
The text was updated successfully, but these errors were encountered: