From 7f2bb98313f7f687bc050ca14be39525c95d8bb6 Mon Sep 17 00:00:00 2001 From: Michael Nolan Date: Fri, 15 May 2020 12:52:33 -0400 Subject: [PATCH] Ooops, actually assert during cmpeqb --- src/soc/decoder/isa/test_caller.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/soc/decoder/isa/test_caller.py b/src/soc/decoder/isa/test_caller.py index 19bff96a..a8ddc3fe 100644 --- a/src/soc/decoder/isa/test_caller.py +++ b/src/soc/decoder/isa/test_caller.py @@ -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)) -- 2.30.2