[Flow] Disable DFFE and SDFF in no-ff Yosys scripts
This commit is contained in:
parent
18bab18032
commit
978c60e75b
|
@ -25,12 +25,12 @@ opt_clean
|
|||
# demote inout ports to input or output port
|
||||
# with follow-up optimizations to clean up AST
|
||||
deminout
|
||||
opt
|
||||
opt -nodffe -nosdff
|
||||
|
||||
opt_expr
|
||||
opt_clean
|
||||
check
|
||||
opt
|
||||
opt -nodffe -nosdff
|
||||
wreduce -keepdc
|
||||
peepopt
|
||||
pmuxtree
|
||||
|
@ -58,10 +58,10 @@ chtype -set $mul t:$__soft_mul# Extract arithmetic functions
|
|||
techmap
|
||||
alumacc
|
||||
share
|
||||
opt
|
||||
opt -nodffe -nosdff
|
||||
fsm
|
||||
# Run a quick follow-up optimization to sweep out unused nets/signals
|
||||
opt -fast
|
||||
opt -fast -nodffe -nosdff
|
||||
# Optimize any memory cells by merging share-able ports and collecting all the ports belonging to memorcy cells
|
||||
memory -nomap
|
||||
opt_clean
|
||||
|
@ -78,14 +78,15 @@ opt -undriven -fine
|
|||
#########################
|
||||
# Map flip-flops
|
||||
#########################
|
||||
dfflegalize -cell $_DFF_P_ 0
|
||||
techmap -map +/adff2dff.v
|
||||
opt_expr -mux_undef
|
||||
simplemap
|
||||
opt_expr
|
||||
opt_merge
|
||||
opt_dff
|
||||
opt_dff -nodffe -nosdff
|
||||
opt_clean
|
||||
opt
|
||||
opt -nodffe -nosdff
|
||||
|
||||
#########################
|
||||
# Map LUTs
|
||||
|
|
Loading…
Reference in New Issue