litex/migen/bus/csr.py
Sebastien Bourdeauducq 0493212124 bus: simplify and cleanup
Unify slave and master interfaces
Remove signal direction suffixes
Generic simple interconnect
Wishbone point-to-point interconnect
Description filter (get_name)
Misc cleanups
2012-02-15 16:30:16 +01:00

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