projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82e4c36
)
add some more experimental instructions
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 8 May 2019 11:11:49 +0000
(12:11 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 8 May 2019 11:11:49 +0000
(12:11 +0100)
src/experiment/cscore.py
patch
|
blob
|
history
diff --git
a/src/experiment/cscore.py
b/src/experiment/cscore.py
index e3f19c661c4cb0364e635cf4f1e3744c03d3c418..858b3c1a3b7848cecbeb2f03d1fca0a991e25d8a 100644
(file)
--- a/
src/experiment/cscore.py
+++ b/
src/experiment/cscore.py
@@
-240,8
+240,14
@@
def scoreboard_sim(dut):
yield from int_instr(dut, IADD, 4, 3, 5)
yield from print_reg(dut, [3,4,5])
yield
+ yield from int_instr(dut, IADD, 5, 2, 4)
yield from print_reg(dut, [3,4,5])
yield
+ yield dut.int_insn_i[IADD].eq(0)
+ yield from int_instr(dut, ISUB, 5, 2, 3)
+ yield from print_reg(dut, [3,4,5])
+ yield
+ yield dut.int_insn_i[ISUB].eq(0)
yield from print_reg(dut, [3,4,5])
yield
yield from print_reg(dut, [3,4,5])