1
0
mirror of synced 2026-02-15 04:25:57 +00:00
Files
YosysHQ.yosys/passes/opt
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
..
2025-12-04 16:27:13 +01:00
2025-09-29 12:27:27 +02:00
2021-08-14 01:06:23 +02:00
2025-09-16 03:17:23 +00:00
2026-01-08 04:21:39 +00:00
2025-04-30 08:06:59 -07:00
2025-04-30 08:06:59 -07:00
2025-09-16 03:17:23 +00:00
2025-09-16 03:17:23 +00:00