Skip to content

Commit ea09e80

Browse files
Merge pull request #162 from QuickLogic-Corp/nj_floorplanning_pcf_pins
Skipping pcf2place in foedag
2 parents d04caf6 + 17e5df1 commit ea09e80

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
@@ -9498,8 +9498,10 @@ CommandWrapperPtr CompilerOpenFPGA_ql::getPlacementCommand() {
94989498
// the "filepath_fpga_fix_pins_place_str" variable will be empty if:
94999499
// - there is no pre-generated .place file AND
95009500
// - there is no pcf file in the project.
9501-
std::string filepath_fpga_fix_pins_place_str;
9502-
if (!GeneratePinConstraints(filepath_fpga_fix_pins_place_str)) return nullptr;
9501+
9502+
// Bypassing the pcf2place due to generating the pcf constraints using the generate_floorplanning.py script
9503+
// std::string filepath_fpga_fix_pins_place_str;
9504+
// if (!GeneratePinConstraints(filepath_fpga_fix_pins_place_str)) return nullptr;
95039505

95049506
VprStageCfg cfg;
95059507
cfg.use_place_file = true;
@@ -9529,13 +9531,13 @@ CommandWrapperPtr CompilerOpenFPGA_ql::getPlacementCommand() {
95299531
}
95309532

95319533

9532-
if (!filepath_fpga_fix_pins_place_str.empty()) {
9533-
command->appendFile("--fix_clusters", std::filesystem::path(filepath_fpga_fix_pins_place_str));
9534-
}
9535-
else
9536-
{
9537-
Message("no pcf file found, skipping PinConstraints usage!");
9538-
}
9534+
// if (!filepath_fpga_fix_pins_place_str.empty()) {
9535+
// command->appendFile("--fix_clusters", std::filesystem::path(filepath_fpga_fix_pins_place_str));
9536+
// }
9537+
// else
9538+
// {
9539+
// Message("no pcf file found, skipping PinConstraints usage!");
9540+
// }
95399541

95409542
return command;
95419543
}

0 commit comments

Comments
 (0)