mirror of https://github.com/YosysHQ/yosys.git
When `setundef -undriven` connects an undriven wire to a replacement value, the wire's \\init attribute (if present) is now removed. Previously, the init attribute was left intact, causing downstream passes like opt_merge to report "Conflicting init values" errors because the init value contradicted the newly assigned constant. For wires that are entirely undriven, the init attribute is removed completely. For partially undriven wires (where only some bits are undriven), only the corresponding init bits are cleared to x. Wires driven by flip-flops or other cells are not affected, as they are excluded from the undriven signal set before this code runs. |
||
|---|---|---|
| .. | ||
| cmds | ||
| equiv | ||
| fsm | ||
| hierarchy | ||
| memory | ||
| opt | ||
| pmgen | ||
| proc | ||
| sat | ||
| techmap | ||
| tests | ||