projects
/
soc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't use OP_NOP for zero-delay subtraction
[soc.git]
/
src
/
soc
/
experiment
/
alu_hier.py
diff --git
a/src/soc/experiment/alu_hier.py
b/src/soc/experiment/alu_hier.py
index 49b0db62b6f5c3417b17069a473508e533d298f0..39a4be95c5d75e688045f268d64f91abc032eb1b 100644
(file)
--- a/
src/soc/experiment/alu_hier.py
+++ b/
src/soc/experiment/alu_hier.py
@@
-468,7
+468,7
@@
def alu_sim(dut):
# test zero-delay ALU
# don't have OP_SUB, so use any other
- result = yield from run_op(dut, 5, 3, MicrOp.OP_
NO
P)
+ result = yield from run_op(dut, 5, 3, MicrOp.OP_
CM
P)
print("alu_sim sub", result)
assert (result == 2)