From a6c2d2c7d1e2bcdd81199f350969ee180f3e2e29 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Fri, 28 Feb 2020 14:46:01 -0700 Subject: [PATCH] bug fixed for io location mapping --- openfpga/src/fabric/build_top_module.cpp | 2 +- openfpga/test_openfpga_arch/k6_frac_N10_40nm_openfpga.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/openfpga/src/fabric/build_top_module.cpp b/openfpga/src/fabric/build_top_module.cpp index 7af79d46c..707ff8971 100644 --- a/openfpga/src/fabric/build_top_module.cpp +++ b/openfpga/src/fabric/build_top_module.cpp @@ -172,8 +172,8 @@ vtr::Matrix add_top_module_grid_instances(ModuleManager& module_manager, */ for (int z = 0; z < grids[io_coordinate.x()][io_coordinate.y()].type->capacity; ++z) { io_location_map.set_io_index(io_coordinate.x(), io_coordinate.y(), z, io_counter); + io_counter++; } - io_counter++; } } diff --git a/openfpga/test_openfpga_arch/k6_frac_N10_40nm_openfpga.xml b/openfpga/test_openfpga_arch/k6_frac_N10_40nm_openfpga.xml index d02d62d88..9644530da 100644 --- a/openfpga/test_openfpga_arch/k6_frac_N10_40nm_openfpga.xml +++ b/openfpga/test_openfpga_arch/k6_frac_N10_40nm_openfpga.xml @@ -232,7 +232,8 @@ - + +