mistral: Fix constant trimming
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
bacba274a2
commit
18e05ec852
@ -72,6 +72,7 @@ X(WIRE)
|
|||||||
|
|
||||||
X(GND)
|
X(GND)
|
||||||
X(VCC)
|
X(VCC)
|
||||||
|
X(Y)
|
||||||
|
|
||||||
X(LOC)
|
X(LOC)
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ struct MistralPacker
|
|||||||
CellInfo *ci = cell.second;
|
CellInfo *ci = cell.second;
|
||||||
if (ci->type != id_MISTRAL_NOT && ci->type != id_GND && ci->type != id_VCC)
|
if (ci->type != id_MISTRAL_NOT && ci->type != id_GND && ci->type != id_VCC)
|
||||||
continue;
|
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);
|
NetInfo *out = get_net_or_empty(ci, port);
|
||||||
if (out == nullptr) {
|
if (out == nullptr) {
|
||||||
trim_cells.push_back(ci->name);
|
trim_cells.push_back(ci->name);
|
||||||
|
Loading…
Reference in New Issue
Block a user