1
0
mirror of synced 2026-04-09 07:50:51 +00:00
Files
YosysHQ.yosys/passes
Robert O'Callahan c2bb7d6a82 Make keep_cache_t process all modules up-front instead of on-demand
We will want to query `keep_cache` from parallel threads. If we compute
the results on-demand, that means we need synchronization for cache
access in those queries, which adds complexity and overhead. Instead, prefill
the cache with the status of all relevant modules. Note that this doesn't
actually do more work --- we always consult `keep_cache` for all cells of
all selected modules, so scanning all those cells and determining the kept
status of all dependency modules is always required.

Later in this PR we're going to parallelize `scan_module` itself, and that's also
much easier to do when no other parallel threads are running.
2026-03-06 02:05:04 +00:00
..
2026-03-04 12:39:45 +01:00
2025-11-06 23:29:47 +02:00
2025-10-15 09:42:47 +13:00
2026-02-20 10:57:00 +00:00