From e056b638db3622ab0584efcf2b0988015514ab81 Mon Sep 17 00:00:00 2001 From: auphelia <jakobapk@web.de> Date: Wed, 20 Jul 2022 16:58:55 +0100 Subject: [PATCH] [HLSCustomOp] set target_dir to code_gen_dir if empty --- src/finn/custom_op/fpgadataflow/hlscustomop.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/finn/custom_op/fpgadataflow/hlscustomop.py b/src/finn/custom_op/fpgadataflow/hlscustomop.py index 6692fa4b6..b202e95a2 100644 --- a/src/finn/custom_op/fpgadataflow/hlscustomop.py +++ b/src/finn/custom_op/fpgadataflow/hlscustomop.py @@ -410,6 +410,7 @@ class HLSCustomOp(CustomOp): Found no codegen dir for this node, did you run the prepare_cppsim transformation? """ ) + target_dir = code_gen_dir # create a npy file for each input of the node (in_ind is input index) # assuming dynamic inputs start from 0 for in_ind in range(count): -- GitLab