aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mistral/constids.inc1
-rw-r--r--mistral/pack.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/mistral/constids.inc b/mistral/constids.inc
index 9450d8b1..f1b51ee5 100644
--- a/mistral/constids.inc
+++ b/mistral/constids.inc
@@ -72,6 +72,7 @@ X(WIRE)
X(GND)
X(VCC)
+X(Y)
X(LOC)
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);