litex/migen/uio/ioo.py

10 lines
253 B
Python
Raw Normal View History

2012-11-17 13:54:50 -05:00
from migen.fhdl.structure import *
from migen.flow.actor import *
from migen.bus import wishbone
class UnifiedIOObject(Actor):
def __init__(self, dataflow=None, buses={}):
if dataflow is not None:
super().__init__(*dataflow)
self.buses = buses