add tns and wns commands and clock gating
This commit is contained in:
Binary file not shown.
@@ -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
|
# Compile
|
||||||
if {$::config::WITH_DC_ULTRA} {
|
if {$::config::WITH_DC_ULTRA} {
|
||||||
if {$::config::DFT} {
|
if {$::config::DFT} {
|
||||||
compile_ultra -scan -no_autoungroup -no_boundary_optimization
|
compile_ultra -gate_clock -scan -no_autoungroup -no_boundary_optimization
|
||||||
} else {
|
} else {
|
||||||
compile_ultra -no_autoungroup -no_boundary_optimization
|
compile_ultra -gate_clock -no_autoungroup -no_boundary_optimization
|
||||||
}
|
}
|
||||||
optimize_netlist -area
|
optimize_netlist -area
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user