diff options
author | myrtle <gatecat@ds0.me> | 2022-12-06 12:27:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-06 12:27:03 +0100 |
commit | cd3b76e3f7ce9d9927087f6fdd38e04968688ee7 (patch) | |
tree | 0b5cedf1da8f5a659207e0d75e863f100cb0c678 | |
parent | db25c5c88998aa73725f2a4625d74f38615aaa82 (diff) | |
parent | 3a61bb4119c4eedf3f5b61b2d6494718eea244be (diff) | |
download | nextpnr-cd3b76e3f7ce9d9927087f6fdd38e04968688ee7.tar.gz nextpnr-cd3b76e3f7ce9d9927087f6fdd38e04968688ee7.tar.bz2 nextpnr-cd3b76e3f7ce9d9927087f6fdd38e04968688ee7.zip |
Merge pull request #1056 from YosysHQ/gatecat/generic-fix-consts
viaduct: Fix constant connectivity
-rw-r--r-- | generic/viaduct_helpers.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/viaduct_helpers.cc b/generic/viaduct_helpers.cc index 53df625c..cd246aa3 100644 --- a/generic/viaduct_helpers.cc +++ b/generic/viaduct_helpers.cc @@ -158,6 +158,9 @@ void ViaductHelpers::replace_constants(CellTypePort vcc_driver, CellTypePort gnd NetInfo *vcc_net = ctx->createNet(ctx->id("$PACKER_VCC")); NetInfo *gnd_net = ctx->createNet(ctx->id("$PACKER_GND")); + vcc_drv->connectPort(vcc_driver.port, vcc_net); + gnd_drv->connectPort(gnd_driver.port, gnd_net); + std::vector<IdString> trim_cells; std::vector<IdString> trim_nets; for (auto &net : ctx->nets) { |