Ooops, actually assert during cmpeqb
authorMichael Nolan <mtnolan2640@gmail.com>
Fri, 15 May 2020 16:52:33 +0000 (12:52 -0400)
committerMichael Nolan <mtnolan2640@gmail.com>
Fri, 15 May 2020 16:52:33 +0000 (12:52 -0400)
src/soc/decoder/isa/test_caller.py

index 19bff96ace32bb6808007cdab16b60f08566422a..a8ddc3feabbbbc964a0b834cd2bbadf8677d8b89 100644 (file)
@@ -274,6 +274,10 @@ class DecoderTestCase(FHDLTestCase):
         initial_regs[3] = 0x10
         with Program(lst) as program:
             sim = self.run_tst_program(program, initial_regs)
+            self.assertEqual(sim.crl[0].get_range().value,
+                             SelectableInt(4, 4))
+            self.assertEqual(sim.crl[1].get_range().value,
+                             SelectableInt(0, 4))