corrections to wishbone test
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 16 Apr 2021 00:43:28 +0000 (01:43 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 16 Apr 2021 00:43:28 +0000 (01:43 +0100)
ls180/post_pnr/cocotb/test.py

index 2c1174deb1557e177f9ed05cfb8729aa644ff34f..718faf562c7bdf0bfcf8678201e1d79579bbd6a2 100644 (file)
@@ -216,7 +216,7 @@ def wishbone_basic(dut):
     dut._log.info("  input: {}".format(data_in.binstr))
     yield master.shift_data(data_in)
     dut._log.info("  output: {}".format(master.result.binstr))
-    #assert master.result.binstr == "000000000000000000000000000010"
+    assert master.result.binstr == "000000000000000000000000000011"
 
     # Do read
     yield master.load_ir(cmd_MEMREAD)
@@ -241,7 +241,7 @@ def wishbone_basic(dut):
     dut._log.info("  input: {}".format(data_in.binstr))
     yield master.shift_data(data_in)
     dut._log.info("  output: {}".format(master.result.binstr))
-    assert master.result.binstr == "000000000000000000000000000010"
+    assert master.result.binstr == "000000000000000000000000000011"
 
     # Do read
     yield master.load_ir(cmd_MEMREAD) # MEMREAD