projects
/
ls2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccdecf8
)
connect up stall signals (fake) for WB Classic compliance
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 15 Feb 2022 20:10:05 +0000
(20:10 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 15 Feb 2022 20:10:05 +0000
(20:10 +0000)
src/ls2.py
patch
|
blob
|
history
diff --git
a/src/ls2.py
b/src/ls2.py
index 439df0e5048f99bd96a113f0fbfb1e7e4328842d..7949ddab4e84242dcc0dcb7dabf8abe7dcbbc251 100644
(file)
--- a/
src/ls2.py
+++ b/
src/ls2.py
@@
-175,6
+175,10
@@
class DDR3SoC(SoC, Elaboratable):
m.submodules.extcore = self.cpu
m.submodules.dbuscvt = self.dbusdowncvt
m.submodules.ibuscvt = self.ibusdowncvt
+ # create stall sigs, assume wishbone classic
+ ibus, dbus = self.cpu.ibus, self.cpu.dbus
+ comb += ibus.stall.eq(ibus.stb & ~ibus.ack)
+ comb += dbus.stall.eq(dbus.stb & ~dbus.ack)
# add blinky lights so we know FPGA is alive
if platform is not None: