3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-25 11:26:22 +00:00

timinginfo: special-case $specify2 in signorm invariant

This commit is contained in:
Emil J. Tywoniak 2026-03-26 19:42:33 +01:00
parent 5bfb631085
commit eb6dd47bd6
2 changed files with 4 additions and 5 deletions

View file

@ -1058,7 +1058,7 @@ void RTLIL::Cell::unsetPort(RTLIL::IdString portname)
void RTLIL::Cell::setPort(RTLIL::IdString portname, RTLIL::SigSpec signal)
{
bool is_input_port = false;
if (module->sig_norm_index != nullptr) {
if (module->sig_norm_index != nullptr && type != ID($specify2) && type != ID($specify3) && type != ID($specrule)) {
module->sig_norm_index->sigmap.apply(signal);
auto dir = port_dir(portname);