projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e69d412
)
fix bug #492
author
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 17 Sep 2020 22:24:40 +0000
(15:24 -0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 17 Sep 2020 22:24:40 +0000
(15:24 -0700)
src/soc/fu/div/fsm.py
patch
|
blob
|
history
diff --git
a/src/soc/fu/div/fsm.py
b/src/soc/fu/div/fsm.py
index 3af0928f1ae27c941396d443ebd9e855ae73cc3a..f5398b1095128b350f06b7dd8c962563580f58b6 100644
(file)
--- a/
src/soc/fu/div/fsm.py
+++ b/
src/soc/fu/div/fsm.py
@@
-141,9
+141,8
@@
class FSMDivCoreStage(ControlBase):
def __init__(self, pspec):
super().__init__()
self.pspec = pspec
- # override p and n
- self.p = FSMDivCorePrevControl(pspec)
- self.n = FSMDivCoreNextControl(pspec)
+ self.p.data_i = CoreInputData(pspec)
+ self.n.data_o = CoreOutputData(pspec)
self.saved_input_data = CoreInputData(pspec)
self.empty = Signal(reset=1)
self.saved_state = DivState(64, name="saved_state")