Skip to content

Commit 8625312

Browse files
author
Navid Jafarof
committed
Skipping pcf2place
1 parent 9d7c758 commit 8625312

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

src/Compiler/CompilerOpenFPGA_ql.cpp

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9489,8 +9489,10 @@ CommandWrapperPtr CompilerOpenFPGA_ql::getPlacementCommand() {
94899489
// the "filepath_fpga_fix_pins_place_str" variable will be empty if:
94909490
// - there is no pre-generated .place file AND
94919491
// - there is no pcf file in the project.
9492-
std::string filepath_fpga_fix_pins_place_str;
9493-
if (!GeneratePinConstraints(filepath_fpga_fix_pins_place_str)) return nullptr;
9492+
9493+
// Bypassing the pcf2place due to generating the pcf constraints using the generate_floorplanning.py script
9494+
// std::string filepath_fpga_fix_pins_place_str;
9495+
// if (!GeneratePinConstraints(filepath_fpga_fix_pins_place_str)) return nullptr;
94949496

94959497
VprStageCfg cfg;
94969498
cfg.use_place_file = true;
@@ -9520,13 +9522,13 @@ CommandWrapperPtr CompilerOpenFPGA_ql::getPlacementCommand() {
95209522
}
95219523

95229524

9523-
if (!filepath_fpga_fix_pins_place_str.empty()) {
9524-
command->appendFile("--fix_clusters", std::filesystem::path(filepath_fpga_fix_pins_place_str));
9525-
}
9526-
else
9527-
{
9528-
Message("no pcf file found, skipping PinConstraints usage!");
9529-
}
9525+
// if (!filepath_fpga_fix_pins_place_str.empty()) {
9526+
// command->appendFile("--fix_clusters", std::filesystem::path(filepath_fpga_fix_pins_place_str));
9527+
// }
9528+
// else
9529+
// {
9530+
// Message("no pcf file found, skipping PinConstraints usage!");
9531+
// }
95309532

95319533
return command;
95329534
}

0 commit comments

Comments
 (0)