forked from M-Labs/artiq
1
0
Fork 0

rtio/sed: use __all__

This commit is contained in:
Sebastien Bourdeauducq 2017-09-13 18:17:22 +08:00
parent feec6298a5
commit a92a955d1e
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,9 @@ from migen import *
from artiq.gateware.rtio import cri from artiq.gateware.rtio import cri
__all__ = ["LaneDistributor"]
def layout_lane_io(seqn_width, layout_payload): def layout_lane_io(seqn_width, layout_payload):
return [ return [
("we", 1, DIR_M_TO_S), ("we", 1, DIR_M_TO_S),

View File

@ -7,6 +7,9 @@ from artiq.gateware.rtio import rtlink
from artiq.gateware.rtio.sed.output_network import OutputNetwork from artiq.gateware.rtio.sed.output_network import OutputNetwork
__all__ = ["OutputDriver"]
class OutputDriver(Module): class OutputDriver(Module):
def __init__(self, channels, lane_count, seqn_width): def __init__(self, channels, lane_count, seqn_width):
self.collision = Signal() self.collision = Signal()