From b7e2febd505449e5e77372beb899d602e09bc3cf Mon Sep 17 00:00:00 2001 From: Yaman Umuroglu <maltanar@gmail.com> Date: Fri, 27 Jan 2023 17:50:28 +0100 Subject: [PATCH] [FIFO] set in/outFIFODepths for FIFO nodes themselves to 0 --- src/finn/custom_op/fpgadataflow/streamingfifo.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/finn/custom_op/fpgadataflow/streamingfifo.py b/src/finn/custom_op/fpgadataflow/streamingfifo.py index c71e8ffe3..522305327 100644 --- a/src/finn/custom_op/fpgadataflow/streamingfifo.py +++ b/src/finn/custom_op/fpgadataflow/streamingfifo.py @@ -72,6 +72,9 @@ class StreamingFIFO(HLSCustomOp): ), # whether depth monitoring is enabled (impl_style=rtl only) "depth_monitor": ("i", False, 0), + # the FIFO does not need its own FIFOs + "inFIFODepths": ("ints", False, [0]), + "outFIFODepths": ("ints", False, [0]), } ) -- GitLab