Skip to content

Commit b6a5aec

Browse files
Update MainSpec.scala
1 parent 6a54e14 commit b6a5aec

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/test/scala/RISCV/MainSpec.scala

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,23 @@ class MainSpec extends AnyFreeSpec with Matchers with ChiselSim {
4444
dut.io.debug_write.poke(true.B)
4545

4646
dut.io.debug_write_address.poke(0.U)
47-
dut.io.debug_write_data.poke(0x00004137.U)
47+
dut.io.debug_write_data.poke(0x00004137L.U)
4848
dut.clock.step(1)
4949

50-
dut.io.debug_write_address.poke(1.U)
51-
dut.io.debug_write_data.poke(0x00408093.U)
50+
dut.io.debug_write_address.poke(1L.U)
51+
dut.io.debug_write_data.poke(0x00408093L.U)
5252
dut.clock.step(1)
5353

54-
dut.io.debug_write_address.poke(2.U)
55-
dut.io.debug_write_data.poke(0x00110113.U)
54+
dut.io.debug_write_address.poke(2L.U)
55+
dut.io.debug_write_data.poke(0x00110113L.U)
5656
dut.clock.step(1)
5757

58-
dut.io.debug_write_address.poke(3.U)
59-
dut.io.debug_write_data.poke(0x00208023.U)
58+
dut.io.debug_write_address.poke(3L.U)
59+
dut.io.debug_write_data.poke(0x00208023L.U)
6060
dut.clock.step(1)
6161

62-
dut.io.debug_write_address.poke(4.U)
63-
dut.io.debug_write_data.poke(0xff1ff06f.U)
62+
dut.io.debug_write_address.poke(4L.U)
63+
dut.io.debug_write_data.poke(0xff1ff06fL.U)
6464
dut.clock.step(1)
6565

6666
// dut.io.debug_write_address.poke(0.U)

0 commit comments

Comments
 (0)