yosys/passes
junyao 46f9f887f7 setundef: strip init attributes from undriven wires (fixes #5835)
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.
2026-05-31 00:18:49 +08:00
..
cmds setundef: strip init attributes from undriven wires (fixes #5835) 2026-05-31 00:18:49 +08:00
equiv Remove file added by mistake 2026-05-18 17:00:16 +02:00
fsm Convert RTLIL::unescape_id of IdString to unescape() 2026-05-16 19:49:45 +02:00
hierarchy Convert RTLIL::unescape_id of IdString to unescape() 2026-05-16 19:49:45 +02:00
memory Merge pull request #5862 from codexplorer-fish/cleaning-up-log-id 2026-05-15 11:07:43 +00:00
opt Merge pull request #5912 from YosysHQ/krys/opt_clean_docs 2026-05-28 08:35:52 +00:00
pmgen Remove pmgen related users of log_id 2026-05-14 17:28:10 +02:00
proc proc: ignore nosync temporaries in always_latch checks 2026-05-26 00:56:07 +08:00
sat Convert RTLIL::unescape_id of IdString to unescape() 2026-05-16 19:49:45 +02:00
techmap Convert RTLIL::unescape_id of IdString to unescape() 2026-05-16 19:49:45 +02:00
tests Refactored uses of log_id() 2026-05-08 20:59:24 -07:00