From 61183d1c6dbbea5240932956398b94e6c3bbdb3b Mon Sep 17 00:00:00 2001 From: morgan Date: Thu, 16 Jan 2025 14:39:55 +0800 Subject: [PATCH] frameline GW: rename downconn to channels --- src/gateware/cxp_frame_pipeline.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gateware/cxp_frame_pipeline.py b/src/gateware/cxp_frame_pipeline.py index f8f7680..e2257dc 100644 --- a/src/gateware/cxp_frame_pipeline.py +++ b/src/gateware/cxp_frame_pipeline.py @@ -57,10 +57,10 @@ class End_Of_Line_Inserter(Module): ] class Stream_Arbiter(Module): - def __init__(self, n_downconn): - self.n_ext_active = Signal(max=n_downconn) + def __init__(self, n_channels): + 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) # # # @@ -633,8 +633,8 @@ class ROI(Module): ]) # # # - # + # TODO: remove the self. from self.roi_4x self.roi_4x = [] for _ in range(4): self.roi_4x.append(Record([