aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/fasm.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-09-22 14:10:20 +0100
committergatecat <gatecat@ds0.me>2021-09-22 15:00:59 +0100
commitf395ad3e27bf5453f7a5393e9039988f44215cec (patch)
tree7a65cb001be566363ffba006fc36410e70de9bbf /nexus/fasm.cc
parent035452d938a6ba005ecc7ee9bd308879eaff6069 (diff)
downloadnextpnr-f395ad3e27bf5453f7a5393e9039988f44215cec.tar.gz
nextpnr-f395ad3e27bf5453f7a5393e9039988f44215cec.tar.bz2
nextpnr-f395ad3e27bf5453f7a5393e9039988f44215cec.zip
nexus: Support for split Vcc routing
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'nexus/fasm.cc')
-rw-r--r--nexus/fasm.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/nexus/fasm.cc b/nexus/fasm.cc
index c4eb9a1b..964828cb 100644
--- a/nexus/fasm.cc
+++ b/nexus/fasm.cc
@@ -211,6 +211,8 @@ struct NexusFasmWriter
return;
std::string tile = tile_name(pip.tile, tile_by_type_and_loc(pip.tile, IdString(pd.tile_type)));
std::string source_wire = escape_name(ctx->pip_src_wire_name(pip).str(ctx));
+ if (source_wire == "LOCAL_VCC")
+ source_wire = "G__VCC";
std::string dest_wire = escape_name(ctx->pip_dst_wire_name(pip).str(ctx));
out << stringf("%s.PIP.%s.%s", tile.c_str(), dest_wire.c_str(), source_wire.c_str()) << std::endl;
}