mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 18:45:34 +00:00
Docs: adding other macro command lists
Also updates `macro_commands.py` to skip empty lines, and moves comment stripping earlier in parsing.
This commit is contained in:
parent
6c8949cacc
commit
449135a9d4
8 changed files with 111 additions and 102 deletions
27
docs/source/code_examples/macro_commands/fsm.ys
Normal file
27
docs/source/code_examples/macro_commands/fsm.ys
Normal file
|
@ -0,0 +1,27 @@
|
|||
#start:It also calls opt_clean as needed:
|
||||
#end:Options:
|
||||
# Identify and extract FSMs:
|
||||
fsm_detect
|
||||
fsm_extract
|
||||
|
||||
# Basic optimizations:
|
||||
fsm_opt
|
||||
opt_clean
|
||||
fsm_opt
|
||||
|
||||
# Expanding to nearby gate-logic (if called with -expand):
|
||||
fsm_expand
|
||||
opt_clean
|
||||
fsm_opt
|
||||
|
||||
# Re-code FSM states (unless called with -norecode):
|
||||
fsm_recode
|
||||
|
||||
# Print information about FSMs:
|
||||
fsm_info
|
||||
|
||||
# Export FSMs in KISS2 file format (if called with -export):
|
||||
fsm_export
|
||||
|
||||
# Map FSMs to RTL cells (unless called with -nomap):
|
||||
fsm_map
|
Loading…
Add table
Add a link
Reference in a new issue