aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opt/opt_expr_constconn.v
Commit message (Collapse)AuthorAgeFilesLines
* opt_expr: Propagate constants to port connections.Marcelina Koƛcielnicka2021-07-271-0/+8
This adds one simple piece of functionality to opt_expr: when a cell port is connected to a fully-constant signal (as determined by sigmap), the port is reconnected directly to the constant value. This is just enough optimization to fix the "non-constant $meminit input" problem without requiring a full opt_clean or a separate pass.