From da682922f411be37a62e963a13178f1c511f4c36 Mon Sep 17 00:00:00 2001 From: Manuel Burger Date: Sun, 22 Mar 2020 14:38:48 +0100 Subject: [PATCH 1/2] Fix missing slash in fpga codegen --- dace/codegen/targets/xilinx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dace/codegen/targets/xilinx.py b/dace/codegen/targets/xilinx.py index 03d7802d52..38ded8b76d 100644 --- a/dace/codegen/targets/xilinx.py +++ b/dace/codegen/targets/xilinx.py @@ -71,7 +71,7 @@ def get_generated_codeobjects(self): except ValueError: sdaccel_dir = '' - kernel_file_name = "DACE_BINARY_DIR \"{}".format(self._program_name) + kernel_file_name = "DACE_BINARY_DIR \"{}".format("/" + self._program_name) if execution_mode == "software_emulation": kernel_file_name += "_sw_emu.xclbin\"" xcl_emulation_mode = "sw_emu" From 834c410251610faa1543925bcb5d661133ce28a2 Mon Sep 17 00:00:00 2001 From: Manuel Burger Date: Mon, 23 Mar 2020 09:47:59 +0100 Subject: [PATCH 2/2] Xilinx Codegen: Move slash into string --- dace/codegen/targets/xilinx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dace/codegen/targets/xilinx.py b/dace/codegen/targets/xilinx.py index 38ded8b76d..715d64ce4c 100644 --- a/dace/codegen/targets/xilinx.py +++ b/dace/codegen/targets/xilinx.py @@ -71,7 +71,7 @@ def get_generated_codeobjects(self): except ValueError: sdaccel_dir = '' - kernel_file_name = "DACE_BINARY_DIR \"{}".format("/" + self._program_name) + kernel_file_name = "DACE_BINARY_DIR \"/{}".format(self._program_name) if execution_mode == "software_emulation": kernel_file_name += "_sw_emu.xclbin\"" xcl_emulation_mode = "sw_emu"