diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-09 19:52:22 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-09 19:52:22 +0200 |
commit | 70f322ab449ce6786f1daacdc6c78df14a2ff5f5 (patch) | |
tree | 3db633702922e882770fd864b5609e7ae83aee41 /common | |
parent | 72f5e640af8bdccb641bb561757021c0a3d83edb (diff) | |
download | nextpnr-70f322ab449ce6786f1daacdc6c78df14a2ff5f5.tar.gz nextpnr-70f322ab449ce6786f1daacdc6c78df14a2ff5f5.tar.bz2 nextpnr-70f322ab449ce6786f1daacdc6c78df14a2ff5f5.zip |
Renamed LOC attribute to BEL, fix ice40 IO bel names
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'common')
-rw-r--r-- | common/place.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/place.cc b/common/place.cc index 8f174478..17b31c69 100644 --- a/common/place.cc +++ b/common/place.cc @@ -41,13 +41,13 @@ void place_design(Design *design) // Initial constraints placer for (auto cell_entry : design->cells) { CellInfo *cell = cell_entry.second; - auto loc = cell->attrs.find("LOC"); + auto loc = cell->attrs.find("BEL"); if (loc != cell->attrs.end()) { std::string loc_name = loc->second; BelId bel = design->chip.getBelByName(IdString(loc_name)); if (bel == BelId()) { log_error("No Bel named \'%s\' located for " - "this chip (processing LOC on \'%s\')\n", + "this chip (processing BEL attribute on \'%s\')\n", loc_name.c_str(), cell->name.c_str()); } @@ -112,7 +112,7 @@ void place_design(Design *design) design->chip.bindBel(cell->bel, cell->name); // Back annotate location - cell->attrs["LOC"] = design->chip.getBelName(cell->bel); + cell->attrs["BEL"] = design->chip.getBelName(cell->bel); } } } |