projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2e454c8
)
mmu fsm: symbols have been renamed
author
Tobias Platen
<tplaten@posteo.de>
Tue, 2 Nov 2021 19:27:59 +0000
(20:27 +0100)
committer
Tobias Platen
<tplaten@posteo.de>
Tue, 2 Nov 2021 19:27:59 +0000
(20:27 +0100)
src/soc/fu/mmu/fsm.py
patch
|
blob
|
history
diff --git
a/src/soc/fu/mmu/fsm.py
b/src/soc/fu/mmu/fsm.py
index a7a152fb0a73c0f74a2b49f7c385ad545bf36d38..7be930ccf27093c351bbc8886c14c8db39140724 100644
(file)
--- a/
src/soc/fu/mmu/fsm.py
+++ b/
src/soc/fu/mmu/fsm.py
@@
-98,8
+98,8
@@
class FSMMMUStage(ControlBase):
# busy/done signals
busy = Signal()
done = Signal()
# busy/done signals
busy = Signal()
done = Signal()
- m.d.comb += self.n.
o_valid
.eq(busy & done)
- m.d.comb += self.p.
o_ready
.eq(~busy)
+ m.d.comb += self.n.
valid_o
.eq(busy & done)
+ m.d.comb += self.p.
ready_o
.eq(~busy)
# take copy of X-Form SPR field
x_fields = self.fields.FormXFX
# take copy of X-Form SPR field
x_fields = self.fields.FormXFX
@@
-118,7
+118,7
@@
class FSMMMUStage(ControlBase):
m.d.comb += blip.eq(rising_edge(m, valid))
with m.If(~busy):
m.d.comb += blip.eq(rising_edge(m, valid))
with m.If(~busy):
- with m.If(self.p.
i_valid
):
+ with m.If(self.p.
valid_i
):
sync += busy.eq(1)
with m.Else():
sync += busy.eq(1)
with m.Else():
@@
-217,7
+217,7
@@
class FSMMMUStage(ControlBase):
with m.Case(MicrOp.OP_ILLEGAL):
comb += self.illegal.eq(1)
with m.Case(MicrOp.OP_ILLEGAL):
comb += self.illegal.eq(1)
- with m.If(self.n.
i_ready & self.n.o_valid
):
+ with m.If(self.n.
ready_i & self.n.valid_o
):
sync += busy.eq(0)
return m
sync += busy.eq(0)
return m