mirror of https://github.com/YosysHQ/yosys.git
Support for abstract modules in chparam
This commit is contained in:
parent
4f0d4899ce
commit
2c7e107d7a
|
@ -215,6 +215,12 @@ struct ChparamPass : public Pass {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (int i = argidx; i < GetSize(args); i++)
|
||||||
|
if (design->module("$abstract\\" + args[i]) != nullptr &&
|
||||||
|
design->module(RTLIL::escape_id(args[i])) == nullptr)
|
||||||
|
args[i] = "$abstract\\" + args[i];
|
||||||
|
|
||||||
extra_args(args, argidx, design);
|
extra_args(args, argidx, design);
|
||||||
|
|
||||||
do_setunset(new_parameters, setunset_list);
|
do_setunset(new_parameters, setunset_list);
|
||||||
|
|
Loading…
Reference in New Issue