diff options
author | gatecat <gatecat@ds0.me> | 2021-05-12 19:51:02 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-05-15 14:54:33 +0100 |
commit | 18e05ec85258bc37baff9028d775c43741725d20 (patch) | |
tree | c20836c48b1e3dfdb6e95afa8e36649338c9d675 /mistral/pack.cc | |
parent | bacba274a2edf4bf8cb05b109388e6e18ca5fc16 (diff) | |
download | nextpnr-18e05ec85258bc37baff9028d775c43741725d20.tar.gz nextpnr-18e05ec85258bc37baff9028d775c43741725d20.tar.bz2 nextpnr-18e05ec85258bc37baff9028d775c43741725d20.zip |
mistral: Fix constant trimming
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'mistral/pack.cc')
-rw-r--r-- | mistral/pack.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mistral/pack.cc b/mistral/pack.cc index 2c0ec80f..78657321 100644 --- a/mistral/pack.cc +++ b/mistral/pack.cc @@ -137,7 +137,7 @@ struct MistralPacker CellInfo *ci = cell.second; if (ci->type != id_MISTRAL_NOT && ci->type != id_GND && ci->type != id_VCC) continue; - IdString port = (ci->type == id_MISTRAL_NOT) ? id_Q : ci->type; + IdString port = (ci->type == id_MISTRAL_NOT) ? id_Q : id_Y; NetInfo *out = get_net_or_empty(ci, port); if (out == nullptr) { trim_cells.push_back(ci->name); |