From 23f98d6a3b55938bdb9050f27f8579eff2f975fa Mon Sep 17 00:00:00 2001 From: tangxifan Date: Tue, 26 Jul 2022 13:55:29 -0700 Subject: [PATCH] [engine] fixed a few bugs --- openfpga/src/base/io_location_map.cpp | 2 +- .../generate_fabric_example_script.openfpga | 2 +- .../no_time_stamp_example_script.openfpga | 2 +- ...reconfigured_testbench_no_time_stamp_example_script.openfpga | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/openfpga/src/base/io_location_map.cpp b/openfpga/src/base/io_location_map.cpp index 43bf856ed..df9724916 100644 --- a/openfpga/src/base/io_location_map.cpp +++ b/openfpga/src/base/io_location_map.cpp @@ -108,7 +108,7 @@ int IoLocationMap::write_to_xml_file(const std::string& fname, /* Walk through the fabric I/O location map data structure */ for (size_t x = 0; x < io_indices_.size(); ++x) { for (size_t y = 0; y < io_indices_[x].size(); ++y) { - for (size_t z = 0; z < io_indices_[y].size(); ++z) { + for (size_t z = 0; z < io_indices_[x][y].size(); ++z) { for (const auto& name_id_pair : io_indices_[x][y][z]) { fp << "\t" << "