projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bee0655
)
connect up DEC/TB FSM pauser from core to Issuer
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 17 Jan 2022 17:59:59 +0000
(17:59 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 17 Jan 2022 17:59:59 +0000
(17:59 +0000)
src/soc/simple/issuer.py
patch
|
blob
|
history
diff --git
a/src/soc/simple/issuer.py
b/src/soc/simple/issuer.py
index e11f3d35d53f7ef5b76136ee81f0d47b76b222c3..ab21b1b95c26250f8dfc0ded8c5d98aa18ca7847 100644
(file)
--- a/
src/soc/simple/issuer.py
+++ b/
src/soc/simple/issuer.py
@@
-396,6
+396,10
@@
class TestIssuerBase(Elaboratable):
m.submodules["sram4k_%d" % i] = csd(sram)
comb += sram.enable.eq(self.wb_sram_en)
+ # terrible hack to stop a potential race condition. if core
+ # is doing any operation (at all) pause the DEC/TB FSM
+ comb += self.pause_dec_tb.eq(core.pause_dec_tb)
+
# XICS interrupt handler
if self.xics:
m.submodules.xics_icp = icp = csd(self.xics_icp)