frameline GW: rename downconn to channels

This commit is contained in:
morgan 2025-01-16 14:39:55 +08:00
parent 8e8d873960
commit 61183d1c6d

View File

@ -57,10 +57,10 @@ class End_Of_Line_Inserter(Module):
] ]
class Stream_Arbiter(Module): class Stream_Arbiter(Module):
def __init__(self, n_downconn): def __init__(self, n_channels):
self.n_ext_active = Signal(max=n_downconn) self.n_ext_active = Signal(max=n_channels)
self.sinks = [stream.Endpoint(word_layout_dchar) for _ in range(n_downconn)] self.sinks = [stream.Endpoint(word_layout_dchar) for _ in range(n_channels)]
self.source = stream.Endpoint(word_layout_dchar) self.source = stream.Endpoint(word_layout_dchar)
# # # # # #
@ -633,8 +633,8 @@ class ROI(Module):
]) ])
# # # # # #
#
# TODO: remove the self. from self.roi_4x
self.roi_4x = [] self.roi_4x = []
for _ in range(4): for _ in range(4):
self.roi_4x.append(Record([ self.roi_4x.append(Record([