[engine] fixed a few bugs

This commit is contained in:
tangxifan 2022-07-26 13:55:29 -07:00
parent 353de4546f
commit 23f98d6a3b
4 changed files with 4 additions and 4 deletions

View File

@ -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" << "<io pad=\"" << name_id_pair.first << "[" << name_id_pair.second << "]\"";
fp << " " << "x=\"" << x << "\"";

View File

@ -26,7 +26,7 @@ write_fabric_hierarchy --file ./fabric_hierarchy.txt
# Write the fabric I/O attributes to a file
# This is used by pin constraint files
write_fabric_io --file ./fabric_io_location.xml --verbose
write_fabric_io_info --file ./fabric_io_location.xml --verbose
# Write the Verilog netlist for FPGA fabric
# - Enable the use of explicit port mapping in Verilog netlist

View File

@ -34,7 +34,7 @@ write_fabric_hierarchy --file ./fabric_hierarchy.txt
# Write the fabric I/O attributes to a file
# This is used by pin constraint files
write_fabric_io --file ./fabric_io_location.xml --verbose --no_time_stamp
write_fabric_io_info --file ./fabric_io_location.xml --verbose --no_time_stamp
# Repack the netlist to physical pbs
# This must be done before bitstream generator and testbench generation

View File

@ -32,7 +32,7 @@ write_fabric_hierarchy --file ./fabric_hierarchy.txt
# Write the fabric I/O attributes to a file
# This is used by pin constraint files
write_fabric_io --file ./fabric_io_location.xml --verbose --no_time_stamp
write_fabric_io_info --file ./fabric_io_location.xml --verbose --no_time_stamp
# Repack the netlist to physical pbs
# This must be done before bitstream generator and testbench generation