From eca7b071550aaa9d79966b7b3338d9748ec4202e Mon Sep 17 00:00:00 2001 From: Yaman Umuroglu <maltanar@gmail.com> Date: Tue, 30 Aug 2022 21:11:10 +0200 Subject: [PATCH] [HLSCustomOp] new attributes for multi-IO FIFO sizes, chrc. padding --- src/finn/custom_op/fpgadataflow/hlscustomop.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/finn/custom_op/fpgadataflow/hlscustomop.py b/src/finn/custom_op/fpgadataflow/hlscustomop.py index bb359ef0b..c20ce5b25 100644 --- a/src/finn/custom_op/fpgadataflow/hlscustomop.py +++ b/src/finn/custom_op/fpgadataflow/hlscustomop.py @@ -110,11 +110,16 @@ class HLSCustomOp(CustomOp): # input and output FIFO depths "inFIFODepth": ("i", False, 2), "outFIFODepth": ("i", False, 2), + # input and output FIFO depths for multi-I/O nodes + "inFIFODepths": ("ints", False, []), + "outFIFODepths": ("ints", False, []), "output_hook": ("s", False, ""), # accumulated characteristic function over two periods "io_characteristic": ("ints", False, []), # the period for which the characterization was run "io_characteristic_period": ("i", False, 0), + # amount of zero padding inserted during chrc. + "io_characteristic_pads": ("ints", False, []), } def get_verilog_top_module_name(self): -- GitLab