diff options
author | gatecat <gatecat@ds0.me> | 2021-12-17 14:51:00 +0000 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-12-17 14:51:19 +0000 |
commit | 4451a562efaab259c46d0ce2308fc4f1f1963708 (patch) | |
tree | 8dfcdef6a593f00d750f2a273b62d5e246fc1989 | |
parent | a12057777334be8e45e540c63c0da199a59489ba (diff) | |
download | nextpnr-4451a562efaab259c46d0ce2308fc4f1f1963708.tar.gz nextpnr-4451a562efaab259c46d0ce2308fc4f1f1963708.tar.bz2 nextpnr-4451a562efaab259c46d0ce2308fc4f1f1963708.zip |
frontend: Consider net aliases when uniquifying name
Signed-off-by: gatecat <gatecat@ds0.me>
-rw-r--r-- | frontend/frontend_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/frontend_base.h b/frontend/frontend_base.h index 6d2ee6f6..ed9354b6 100644 --- a/frontend/frontend_base.h +++ b/frontend/frontend_base.h @@ -229,7 +229,7 @@ template <typename FrontendType> struct GenericFrontend } name = ctx->id(comb); incr++; - } while (is_net ? ctx->nets.count(name) : ctx->cells.count(name)); + } while (is_net ? (ctx->nets.count(name) || ctx->net_aliases.count(name)) : ctx->cells.count(name)); return name; } |