projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0df5ba
)
use new MiSoC fifo (no flush signal)
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Fri, 1 Aug 2014 08:36:15 +0000
(10:36 +0200)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Fri, 1 Aug 2014 08:36:15 +0000
(10:36 +0200)
miscope/storage.py
patch
|
blob
|
history
diff --git
a/miscope/storage.py
b/miscope/storage.py
index a3572cac9be8e45226c627fb735173d3cd76cfcb..1ea6e49a480313885181299dd151c950113470d2 100644
(file)
--- a/
miscope/storage.py
+++ b/
miscope/storage.py
@@
-75,7
+75,7
@@
class Recorder(Module, AutoCSR):
###
- fifo =
SyncFIFO(width, depth
)
+ fifo =
InsertReset(SyncFIFO(width, depth)
)
self.submodules += fifo
fsm = FSM(reset_state="IDLE")
@@
-90,7
+90,7
@@
class Recorder(Module, AutoCSR):
fsm.act("IDLE",
If(self._r_trigger.re & self._r_trigger.r,
NextState("PRE_HIT_RECORDING"),
- fifo.
flush
.eq(1),
+ fifo.
reset
.eq(1),
),
fifo.re.eq(self._r_read_en.re & self._r_read_en.r),
self._r_done.status.eq(1)