Skip to content

Commit 9591c54

Browse files
authored
Merge pull request #764 from os-fpga/pinc_dont_use_js_dir
pin_c: don't use EditItem::js_dir_
2 parents e4110a5 + 83031f7 commit 9591c54

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
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 = "pln0263";
1+
static const char* _pln_VERSION_STR = "pln0264";
22

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

planning/src/pin_loc/read_ports.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -864,14 +864,14 @@ void PinPlacer::set_edit_dirs(bool initial) noexcept {
864864
for (uint i = 0; i < sz; i++) {
865865
EditItem& item = all_edits_[i];
866866
assert(item.dir_ == 0);
867-
if (item.js_dir_ == "IN") {
868-
item.dir_ = 1;
869-
continue;
870-
}
871-
if (item.js_dir_ == "OUT") {
872-
item.dir_ = -1;
873-
continue;
874-
}
867+
//if (item.js_dir_ == "IN") { // js_dir_ is incorrect sometimes?
868+
// item.dir_ = 1;
869+
// continue;
870+
//}
871+
//if (item.js_dir_ == "OUT") {
872+
// item.dir_ = -1;
873+
// continue;
874+
//}
875875
const string& mod = item.module_;
876876
if (mod == "I_BUF" or mod == "CLK_BUF" or mod == "I_DELAY" or mod == "I_SERDES")
877877
item.dir_ = 1;

0 commit comments

Comments
 (0)