Skip to content

Commit 5a88c95

Browse files
authored
Merge pull request #873 from os-fpga/pinc_dont_translate_names_if_autoPCF_n_fabric
pin_c: don't translate names if autoPCF and fabric. EDA-3282
2 parents 58f501c + 1775a21 commit 5a88c95

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

planning/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
static const char* _pln_VERSION_STR = "pln0345";
1+
static const char* _pln_VERSION_STR = "pln0346";
22

33
#include "RS/rsEnv.h"
44
#include "util/pln_log.h"

planning/src/pin_loc/pcf_place.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,10 @@ void PinPlacer::print_stats(const PcCsvReader& csv) const {
166166
ls << " Fullchip_N: " << bcd.fullchipName_;
167167
if (tr >= 4) {
168168
ls << " isInp:" << int(bcd.isInput());
169-
ls << " colM_dir: " << bcd.str_colM_dir();
169+
ls << " colM: " << bcd.str_colM_dir();
170+
if (tr >= 5) {
171+
ls << " pp->origPN: " << pp->orig_pin_name_;
172+
}
170173
}
171174
}
172175
flush_out(true);

planning/src/pin_loc/pin.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ struct Pin {
1919
string orig_pin_name_; // never translated
2020
string udes_pin_name_; // maybe translated
2121
string trans_pin_name_; // translated due to netlist edits
22+
string placed_pin_name_;
2223

2324
string device_pin_name_;
2425

planning/src/pin_loc/pin_placer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ bool PinPlacer::read_and_write() {
322322

323323
// if auto-PCF and has_edits_, translate and de-duplicate
324324
// user-design ports now, since edits.json could remove some design ports.
325-
if (not pin_names_translated_)
325+
if (!pin_names_translated_ and !is_fabric_blif_)
326326
transCnt_ = translatePinNames("(auto-PCF)");
327327

328328
// de-duplicate inputs

0 commit comments

Comments
 (0)