projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06a4c76
)
add example stage data signalling properties
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 5 Apr 2019 08:05:21 +0000
(09:05 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 5 Apr 2019 08:06:36 +0000
(09:06 +0100)
src/add/test_buf_pipe.py
patch
|
blob
|
history
diff --git
a/src/add/test_buf_pipe.py
b/src/add/test_buf_pipe.py
index 2376f337dcdd3a825642b4178816cc90f17454e2..6f43ba2b9886538b20be547b0872c4e7bf60c7a9 100644
(file)
--- a/
src/add/test_buf_pipe.py
+++ b/
src/add/test_buf_pipe.py
@@
-594,11
+594,13
@@
class ExampleStageDelayCls(StageCls):
def ospec(self):
return Signal(16, name="example_output_signal")
- def p_o_ready(self, m, p_in, p_out):
- m.d.comb += p_out.eq(p_in)
+ @property
+ def p_o_ready(self):
+ return Const(1)
- def n_o_valid(self, m, n_in, n_out):
- m.d.comb += n_out.eq(n_in)
+ @property
+ def n_o_valid(self):
+ return Const(1)
def process(self, i):
""" process the input data and returns it (adds 1)