projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86090e1
)
bus/csr: allow specifying existing interface
author
Sebastien Bourdeauducq
<sebastien@milkymist.org>
Sat, 17 Nov 2012 18:44:25 +0000
(19:44 +0100)
committer
Sebastien Bourdeauducq
<sebastien@milkymist.org>
Sat, 17 Nov 2012 18:44:25 +0000
(19:44 +0100)
migen/bus/csr.py
patch
|
blob
|
history
diff --git
a/migen/bus/csr.py
b/migen/bus/csr.py
index 0bce395dec37f1df22f7cfa9ff6e7deed37cfbc3..df2543482af08916fb5ab0b66a1ecd9ec0087190 100644
(file)
--- a/
migen/bus/csr.py
+++ b/
migen/bus/csr.py
@@
-17,9
+17,9
@@
class Interconnect(SimpleInterconnect):
pass
class Initiator(PureSimulable):
- def __init__(self, generator):
+ def __init__(self, generator
, bus=Interface()
):
self.generator = generator
- self.bus =
Interface()
+ self.bus =
bus
self.transaction = None
self.done = False