projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
138678a
)
Clear input data along with valid_i
author
Cesar Strauss
<cestrauss@gmail.com>
Tue, 7 Jul 2020 09:30:02 +0000
(06:30 -0300)
committer
Cesar Strauss
<cestrauss@gmail.com>
Tue, 7 Jul 2020 15:58:13 +0000
(12:58 -0300)
src/soc/experiment/alu_hier.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/alu_hier.py
b/src/soc/experiment/alu_hier.py
index 828511b65815067f8992979e92056cee92683792..c1ca6fa315ed0f603ce9ded499c0e76f1eb25860 100644
(file)
--- a/
src/soc/experiment/alu_hier.py
+++ b/
src/soc/experiment/alu_hier.py
@@
-400,6
+400,10
@@
def run_op(dut, a, b, op, inv_a=0):
yield
yield dut.p.valid_i.eq(0)
+ yield dut.a.eq(0)
+ yield dut.b.eq(0)
+ yield dut.op.insn_type.eq(0)
+ yield dut.op.invert_a.eq(0)
# wait for the ALU to present the output data
while not (yield dut.n.valid_o):