add tns and wns commands and clock gating
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# Get total negative slack for loaded design
|
||||
proc sj_get_tns {} {
|
||||
set path [report_timing -collection -max_paths 1]
|
||||
get_db $path .slack
|
||||
}
|
||||
|
||||
# Get worst negative slack for loaded design
|
||||
proc sj_get_wns {} {
|
||||
set path [report_timing -collection -max_paths 1]
|
||||
get_db $path .worst_delay
|
||||
}
|
||||
@@ -16,9 +16,9 @@ set_structure true -timing true -boolean false
|
||||
# Compile
|
||||
if {$::config::WITH_DC_ULTRA} {
|
||||
if {$::config::DFT} {
|
||||
compile_ultra -scan -no_autoungroup -no_boundary_optimization
|
||||
compile_ultra -gate_clock -scan -no_autoungroup -no_boundary_optimization
|
||||
} else {
|
||||
compile_ultra -no_autoungroup -no_boundary_optimization
|
||||
compile_ultra -gate_clock -no_autoungroup -no_boundary_optimization
|
||||
}
|
||||
optimize_netlist -area
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user