Converting process blocks¶
proc - translate processes to netlists¶
- yosys> help proc¶
- proc [options] [selection]¶
This pass calls all the other proc_* passes in the most common order. proc_clean proc_rmdead proc_prune proc_init proc_arst proc_rom proc_mux proc_dlatch proc_dff proc_memwr proc_clean opt_expr -keepdc This replaces the processes in the design with multiplexers, flip-flops and latches. The following options are supported:-nomuxWill omit the proc_mux pass.
-noromWill omit the proc_rom pass.
-global_arst [!]<netname>This option is passed through to proc_arst.
-ifxThis option is passed through to proc_mux. proc_rmdead is not executed in -ifx mode.
-nooptWill omit the opt_expr pass.
Note
Help text automatically generated from
passes/proc/proc.cc:29
proc_arst - detect asynchronous resets¶
- yosys> help proc_arst¶
- proc_arst [-global_arst [!]<netname>] [selection]¶
This pass identifies asynchronous resets in the processes and converts them to a different internal representation that is suitable for generating flip-flop cells with asynchronous resets.
-global_arst [!]<netname>In modules that have a net with the given name, use this net as async reset for registers that have been assign initial values in their declaration ('reg foobar = constant_value;'). Use the '!' modifier for active low reset signals. Note: the frontend stores the default value in the 'init' attribute on the net.
Note
Help text automatically generated from
passes/proc/proc_arst.cc:247
proc_clean - remove empty parts of processes¶
proc_dff - extract flip-flops from processes¶
proc_dlatch - extract latches from processes¶
proc_init - convert initial block to init attributes¶
proc_memwr - extract memory writes from processes¶
proc_mux - convert decision trees to multiplexers¶
- yosys> help proc_mux¶
- proc_mux [options] [selection]¶
This pass converts the decision trees in processes (originating from if-else and case statements) to trees of multiplexer cells.
-ifxUse Verilog simulation behavior with respect to undef values in 'case' expressions and 'if' conditions.
Note
Help text automatically generated from
passes/proc/proc_mux.cc:440