1
0
mirror of synced 2026-02-14 12:14:03 +00:00
Files
YosysHQ.yosys/passes
Robert O'Callahan 7d53d64a47 Make the call to compare_signals() easier to read.
The negation here is confusing. The intent of the code is "if `s1` is preferred
over `s2` as the canonical `SigBit` for this signal, make `s1` the canonical `SigBit`
in `assign_map`", so write the code that way instead of "if `s2` is not preferred
over `s1` ...".

This doesn't change any behavior now that `compare_signals()` is a total order,
i.e. `s1` is preferred over `s2`, `s2` is preferred over `s1`, or `s1` and `s2` are equal.
Now, when `s1` and `s2` are equal, we don't call `assign_map.add(s1)`, but that's
already a noop in that case.
2026-01-24 02:01:05 +00:00
..
2026-01-15 12:07:26 -08:00
2025-11-06 23:29:47 +02:00
2025-10-15 09:42:47 +13:00
2025-12-15 12:08:07 +13:00