mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
0493212124
Unify slave and master interfaces Remove signal direction suffixes Generic simple interconnect Wishbone point-to-point interconnect Description filter (get_name) Misc cleanups
16 lines
322 B
Python
16 lines
322 B
Python
from migen.fhdl.structure import *
|
|
from migen.bus.simple import *
|
|
|
|
_desc = Description(
|
|
(M_TO_S, "adr", 14),
|
|
(M_TO_S, "we", 1),
|
|
(M_TO_S, "dat_w", 8),
|
|
(S_TO_M, "dat_r", 8)
|
|
)
|
|
|
|
class Interface(SimpleInterface):
|
|
def __init__(self):
|
|
SimpleInterface.__init__(self, _desc)
|
|
|
|
class Interconnect(SimpleInterconnect):
|
|
pass
|