75 lines
3.1 KiB
Tcl
Executable File
75 lines
3.1 KiB
Tcl
Executable File
#=============================================================================#
|
|
# Load Flow Config #
|
|
#=============================================================================#
|
|
source "$::env(SCRIPTS)/config.tcl"
|
|
|
|
#=============================================================================#
|
|
# Initialization #
|
|
#=============================================================================#
|
|
sj_run_step step_init_synthesis
|
|
|
|
#=============================================================================#
|
|
# Read technology library #
|
|
#=============================================================================#
|
|
if {$::config::LIBRARY} {
|
|
sj_run_step step_define_library
|
|
}
|
|
|
|
#=============================================================================#
|
|
# Read design RTL #
|
|
#=============================================================================#
|
|
if {$::config::READ} {
|
|
sj_run_step step_read_rtl
|
|
}
|
|
|
|
#=============================================================================#
|
|
# Set design environment #
|
|
#=============================================================================#
|
|
if {$::config::ENVIRONMENT} {
|
|
sj_run_step step_environment
|
|
}
|
|
|
|
#=============================================================================#
|
|
# Set design constraints #
|
|
#=============================================================================#
|
|
if {$::config::CONSTRAINTS} {
|
|
sj_run_step step_constraints
|
|
}
|
|
|
|
#=============================================================================#
|
|
# Compile #
|
|
#=============================================================================#
|
|
if {$::config::COMPILE} {
|
|
sj_run_step step_compile
|
|
}
|
|
|
|
#=============================================================================#
|
|
# DFT Insertion #
|
|
#=============================================================================#
|
|
if {$::config::DFT} {
|
|
sj_run_step step_dft
|
|
}
|
|
|
|
#=============================================================================#
|
|
# Analyze and resolve design problems #
|
|
#=============================================================================#
|
|
if {$::config::REPORT} {
|
|
sj_run_step step_report
|
|
}
|
|
|
|
#=============================================================================#
|
|
# Dump gate level netlist, final DDC file and Test protocol #
|
|
#=============================================================================#
|
|
if {$::config::DUMP} {
|
|
sj_run_step step_write_outputs
|
|
}
|
|
|
|
#=============================================================================#
|
|
# Exit #
|
|
#=============================================================================#
|
|
if {$::config::INTERACTIVE} {
|
|
sj_end_collection
|
|
} else {
|
|
exit
|
|
}
|