projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca0653
)
starting on alu output check
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 10 Jun 2020 12:09:45 +0000
(13:09 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 10 Jun 2020 12:09:45 +0000
(13:09 +0100)
src/soc/fu/test/common.py
patch
|
blob
|
history
diff --git
a/src/soc/fu/test/common.py
b/src/soc/fu/test/common.py
index b68e0739ecdc3d53aa31584941824024108560be..e373a70887daab4468b540bb34a4c74acccb21b8 100644
(file)
--- a/
src/soc/fu/test/common.py
+++ b/
src/soc/fu/test/common.py
@@
-82,3
+82,10
@@
class ALUHelpers:
else:
yield alu.p.data_i.full_cr.eq(0)
+ def get_int_o(res, alu, dec2):
+ out_reg_valid = yield pdecode2.e.write_reg.ok
+ if out_reg_valid:
+ res['o'] = yield alu.n.data_o.o.data
+
+ def check_int_o(dut, alu, sim, dec2):
+ pass