projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9199656
)
Ooops, actually assert during cmpeqb
author
Michael Nolan
<mtnolan2640@gmail.com>
Fri, 15 May 2020 16:52:33 +0000
(12:52 -0400)
committer
Michael Nolan
<mtnolan2640@gmail.com>
Fri, 15 May 2020 16:52:33 +0000
(12:52 -0400)
src/soc/decoder/isa/test_caller.py
patch
|
blob
|
history
diff --git
a/src/soc/decoder/isa/test_caller.py
b/src/soc/decoder/isa/test_caller.py
index 19bff96ace32bb6808007cdab16b60f08566422a..a8ddc3feabbbbc964a0b834cd2bbadf8677d8b89 100644
(file)
--- 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))