From 5f6b6ec64ccfef6a09ce3f8292f290ebb49f3e2e Mon Sep 17 00:00:00 2001 From: morgan Date: Wed, 15 Jan 2025 16:56:24 +0800 Subject: [PATCH] frameline GW: update assert --- src/gateware/cxp_frame_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gateware/cxp_frame_pipeline.py b/src/gateware/cxp_frame_pipeline.py index f2ddffa..08fdceb 100644 --- a/src/gateware/cxp_frame_pipeline.py +++ b/src/gateware/cxp_frame_pipeline.py @@ -543,7 +543,7 @@ class Pixel_Coordinate_Tracker(Module): """track pixel coordinates.""" def __init__(self, res_width): # largest x/y pixel size supported by frame header are 24 bits - assert res_width == 3*char_width + assert res_width <= 3*char_width self.y_size = Signal(3*char_width) self.sink = stream.Endpoint(pixel4x_layout)