aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/place_legaliser.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-18 12:51:07 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-18 12:51:07 +0200
commitd392b5f63587339c27a30c247f4a045f923edc4b (patch)
tree6b115a144356e94224d4ae695605f424bed6c47f /ice40/place_legaliser.cc
parent70cfa7a6a4bbc796f1ddf23f53a932538eb3b84d (diff)
downloadnextpnr-d392b5f63587339c27a30c247f4a045f923edc4b.tar.gz
nextpnr-d392b5f63587339c27a30c247f4a045f923edc4b.tar.bz2
nextpnr-d392b5f63587339c27a30c247f4a045f923edc4b.zip
ice40: Use xArchArgs in validity check
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/place_legaliser.cc')
-rw-r--r--ice40/place_legaliser.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ice40/place_legaliser.cc b/ice40/place_legaliser.cc
index ebcc0da7..3c82a1bd 100644
--- a/ice40/place_legaliser.cc
+++ b/ice40/place_legaliser.cc
@@ -372,6 +372,7 @@ class PlacementLegaliser
NPNR_ASSERT(ctx->nets.find(co_i3_name) == ctx->nets.end());
ctx->nets[co_i3_name] = std::move(co_i3_net);
IdString name = lc->name;
+ ctx->assignCellArgs(lc.get());
ctx->cells[lc->name] = std::move(lc);
createdCells.insert(name);
return ctx->cells[name].get();
@@ -416,6 +417,7 @@ class PlacementLegaliser
ctx->nets[out_net_name] = std::move(out_net);
IdString name = lc->name;
+ ctx->assignCellArgs(lc.get());
ctx->cells[lc->name] = std::move(lc);
createdCells.insert(name);
return ctx->cells[name].get();