Commit Graph

8 Commits

Author SHA1 Message Date
Emil J. Tywoniak debc2c3977 signorm: skip const when fixing fanout 2026-03-17 11:28:10 +01:00
Emil J. Tywoniak ae946a598c rtlil: add dump_sigmap for hacky signorm debugging 2026-03-12 22:13:21 +01:00
Emil J. Tywoniak d2bc970ef9 rtlil: fix zero width SigSpec crash in signorm setPort unsetPort 2026-03-09 21:20:23 +01:00
Emil J. Tywoniak b206223c40 rtlil_bufnorm: fix cell deletion deferral bug 2026-03-07 01:10:04 +01:00
Jannis Harder eae87b3161 WIP half broken snapshot 2025-10-06 14:39:25 +02:00
Jannis Harder ea0ee069fb WIP remove dead code 2025-10-04 14:40:08 +02:00
Jannis Harder 86fb2f16f7 bufnorm: Refactor and fix incremental bufNormalize
This fixes some edge cases the previous version didn't handle properly
by simplifying the logic of determining directly driven wires and
representatives to use as buffer inputs.
2025-09-29 08:21:28 +02:00
Jannis Harder d88d6fce87 kernel: Rewrite bufNormalize
This is a complete rewrite of the RTLIL-kernel-side bufnorm code. This
is done to support inout ports and undirected connections as well as to
allow removal of cells while in bufnorm mode.

This doesn't yet update the (experimental) `bufnorm` pass, so to
manually test the new kernel functionality, it is important to only use
`bufnorm -update` and `bufnorm -reset` which rely entirely on the kernel
functionality. Other modes of the `bufnorm` pass may still fail in the
presence of inout ports or undirected connections.
2025-09-17 13:56:46 +02:00