projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3c6b8d
)
bus/dfi: reset active low signals to 1
author
Sebastien Bourdeauducq
<sebastien@milkymist.org>
Sun, 1 Apr 2012 15:43:24 +0000
(17:43 +0200)
committer
Sebastien Bourdeauducq
<sebastien@milkymist.org>
Sun, 1 Apr 2012 15:43:24 +0000
(17:43 +0200)
migen/bus/dfi.py
patch
|
blob
|
history
diff --git
a/migen/bus/dfi.py
b/migen/bus/dfi.py
index b6f407d5c82d1dd2fe316f8ae6b9f7c986e3449a..f965ecdc94b9824bd6e20b3189b0482ad7a09dae 100644
(file)
--- a/
migen/bus/dfi.py
+++ b/
migen/bus/dfi.py
@@
-24,6
+24,11
@@
class Interface:
def __init__(self, a, ba, d, nphases=1):
self.pdesc = phase_description(a, ba, d)
self.phases = [SimpleInterface(self.pdesc) for i in range(nphases)]
+ for p in self.phases:
+ p.cas_n.reset = Constant(1)
+ p.cs_n.reset = Constant(1)
+ p.ras_n.reset = Constant(1)
+ p.we_n.reset = Constant(1)
# Returns pairs (DFI-mandated signal name, Migen signal object)
def get_standard_names(self, m2s=True, s2m=True):