3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 09:55:20 +00:00
yosys/docs/source/code_examples/macro_commands/fsm.ys
Krystine Sherwin 449135a9d4
Docs: adding other macro command lists
Also updates `macro_commands.py` to skip empty lines, and moves comment
stripping earlier in parsing.
2024-01-24 10:29:40 +13:00

28 lines
489 B
Plaintext

#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