From 1d993296d8afc4bec0c85bd85220d05a0bb63e41 Mon Sep 17 00:00:00 2001 From: ganeshgore Date: Wed, 25 Nov 2020 17:25:12 -0700 Subject: [PATCH] [Flow] Example of using test variable in task conf --- .../k6_frac_N8_40nm_openfpga.xml | 47 ++++++++++--------- .../config/design_variables.yml | 1 + .../generate_fabric/config/task.conf | 1 + 3 files changed, 27 insertions(+), 22 deletions(-) create mode 100644 openfpga_flow/tasks/basic_tests/generate_fabric/config/design_variables.yml diff --git a/openfpga_flow/openfpga_arch/k6_frac_N8_40nm_openfpga.xml b/openfpga_flow/openfpga_arch/k6_frac_N8_40nm_openfpga.xml index 74d1d9933..59b00016f 100644 --- a/openfpga_flow/openfpga_arch/k6_frac_N8_40nm_openfpga.xml +++ b/openfpga_flow/openfpga_arch/k6_frac_N8_40nm_openfpga.xml @@ -1,10 +1,11 @@ @@ -101,7 +102,8 @@ - + + @@ -109,7 +111,8 @@ - + + @@ -140,14 +143,14 @@ - - - - - - - - + + + + + + + + @@ -165,14 +168,14 @@ - - - - - - - - + + + + + + + + @@ -199,9 +202,9 @@ - - - + + + diff --git a/openfpga_flow/tasks/basic_tests/generate_fabric/config/design_variables.yml b/openfpga_flow/tasks/basic_tests/generate_fabric/config/design_variables.yml new file mode 100644 index 000000000..de1dbf341 --- /dev/null +++ b/openfpga_flow/tasks/basic_tests/generate_fabric/config/design_variables.yml @@ -0,0 +1 @@ +TEST_VARIABLE: 100 \ No newline at end of file diff --git a/openfpga_flow/tasks/basic_tests/generate_fabric/config/task.conf b/openfpga_flow/tasks/basic_tests/generate_fabric/config/task.conf index 9c3fd2442..68cee7380 100644 --- a/openfpga_flow/tasks/basic_tests/generate_fabric/config/task.conf +++ b/openfpga_flow/tasks/basic_tests/generate_fabric/config/task.conf @@ -14,6 +14,7 @@ spice_output=false verilog_output=true timeout_each_job = 20*60 fpga_flow=vpr_blif +arch_variable_file=${PATH:TASK_DIR}/design_variables.yml [OpenFPGA_SHELL] openfpga_shell_template=${PATH:OPENFPGA_PATH}/openfpga_flow/OpenFPGAShellScripts/generate_fabric_example_script.openfpga