mirror of https://github.com/YosysHQ/yosys.git
5fe0ffe30f
The proc_prune pass is similar in nature to proc_rmdead pass: while proc_rmdead removes branches that never become active because another branch preempts it, proc_prune removes assignments that never become active because another assignment preempts them. Genrtlil contains logic similar to the proc_prune pass, but their purpose is different: genrtlil has to prune assignments to adapt the semantics of blocking assignments in HDLs (latest assignment wins) to semantics of assignments in RTLIL processes (assignment in the most specific case wins). On the other hand proc_prune is a general purpose RTLIL simplification that benefits all frontends, even those not using the Yosys AST library. The proc_prune pass is added to the proc script after proc_rmdead, since it gives better results with fewer branches. |
||
---|---|---|
.. | ||
Makefile.inc | ||
proc.cc | ||
proc_arst.cc | ||
proc_clean.cc | ||
proc_dff.cc | ||
proc_dlatch.cc | ||
proc_init.cc | ||
proc_mux.cc | ||
proc_prune.cc | ||
proc_rmdead.cc |