Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] synthesis: minimal synthesis to drive MAX_UNGROUP_SIZE policy #1755

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions flow/scripts/synth_hier_report.tcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
source $::env(SCRIPTS_DIR)/synth_preamble.tcl

# Hierarchical synthesis
synth -top $::env(DESIGN_NAME)
# Minimal hierarchical synthesis to get rough area numbers to drive
# the MAX_UNGROUP_SIZE policy.
synth -run :coarse -top $::env(DESIGN_NAME)
# These commands are cherry-picked from the "synth -run coarse:" list
# of commands in the Yosys manual.
#
# 'proc' pass is called 'procs' to avoid conflict with tcl 'proc' command
procs
memory -nomap
memory_map
techmap
hierarchy -check
stat
check

if { [info exist ::env(ADDER_MAP_FILE)] && [file isfile $::env(ADDER_MAP_FILE)] } {
techmap -map $::env(ADDER_MAP_FILE)
}
Expand Down
Loading