diff --git a/rc_model.bin b/rc_model.bin new file mode 100644 index 0000000..d414594 Binary files /dev/null and b/rc_model.bin differ diff --git a/scripts/helpers/timing.tcl b/scripts/helpers/timing.tcl new file mode 100644 index 0000000..a90d179 --- /dev/null +++ b/scripts/helpers/timing.tcl @@ -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 +} diff --git a/scripts/synthesis/steps/step_compile.tcl b/scripts/synthesis/steps/step_compile.tcl index 42bf6d9..deb94a6 100755 --- a/scripts/synthesis/steps/step_compile.tcl +++ b/scripts/synthesis/steps/step_compile.tcl @@ -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 {