Unverified Commit e3286997 by Sayak Kundu Committed by GitHub

Merge pull request #21 from TILOS-AI-Institute/flow_scripts

Flow scripts
parents cd618574 9a965507
This source diff could not be displayed because it is too large. You can view the blob instead.
# Links to Our Documents
[Our Progress](./OurProgress/)
[Proxy Cost]()
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
# We thank Cadence for granting permission to share our research to help promote and foster the next generation of innovators. # We thank Cadence for granting permission to share our research to help promote and foster the next generation of innovators.
source lib_setup.tcl source lib_setup.tcl
source design_setup.tcl source design_setup.tcl
set handoff_dir "./syn_handoff"
set netlist ${handoff_dir}/${DESIGN}.v
set sdc ${handoff_dir}/${DESIGN}.sdc
source mmmc_setup.tcl source mmmc_setup.tcl
setMultiCpuUsage -localCpu 16 setMultiCpuUsage -localCpu 16
set util 0.3 set util 0.3
set handoff_dir "./syn_handoff"
set netlist ${handoff_dir}/${DESIGN}.v
set sdc ${handoff_dir}/${DESIGN}.sdc
set rptDir summaryReport/ set rptDir summaryReport/
set encDir enc/ set encDir enc/
...@@ -39,6 +39,8 @@ init_design -setup {WC_VIEW} -hold {BC_VIEW} ...@@ -39,6 +39,8 @@ init_design -setup {WC_VIEW} -hold {BC_VIEW}
set_power_analysis_mode -leakage_power_view WC_VIEW -dynamic_power_view WC_VIEW set_power_analysis_mode -leakage_power_view WC_VIEW -dynamic_power_view WC_VIEW
set_interactive_constraint_modes {CON} set_interactive_constraint_modes {CON}
setAnalysisMode -reset
setAnalysisMode -analysisType onChipVariation -cppr both
clearGlobalNets clearGlobalNets
globalNetConnect VDD -type pgpin -pin VDD -inst * -override globalNetConnect VDD -type pgpin -pin VDD -inst * -override
...@@ -126,16 +128,21 @@ setNanoRouteMode -routeExpAdvancedTechnology true ...@@ -126,16 +128,21 @@ setNanoRouteMode -routeExpAdvancedTechnology true
setNanoRouteMode -grouteExpWithTimingDriven false setNanoRouteMode -grouteExpWithTimingDriven false
routeDesign routeDesign
#route_opt_design
saveDesign ${encDir}/${DESIGN}_route.enc saveDesign ${encDir}/${DESIGN}_route.enc
defOut -netlist -floorplan -routing ${DESIGN}_route.def
set rpt_post_route [extract_report postRoute]
echo "$rpt_post_route" >> ${DESIGN}_DETAILS.rpt
#route_opt_design
optDesign -postRoute
set rpt_post_route [extract_report postRouteOpt]
echo "$rpt_post_route" >> ${DESIGN}_DETAILS.rpt
### Run DRC and LVS ### ### Run DRC and LVS ###
verify_connectivity -error 0 -geom_connect -no_antenna verify_connectivity -error 0 -geom_connect -no_antenna
verify_drc -limit 0 verify_drc -limit 0
set rpt_post_route [extract_report postRoute]
echo "$rpt_post_route" >> ${DESIGN}_DETAILS.rpt
defOut -netlist -floorplan -routing ${DESIGN}_route.def
summaryReport -noHtml -outfile summaryReport/post_route.sum summaryReport -noHtml -outfile summaryReport/post_route.sum
saveDesign ${encDir}/${DESIGN}.enc saveDesign ${encDir}/${DESIGN}.enc
......
...@@ -53,14 +53,18 @@ proc extract_wire_length {} { ...@@ -53,14 +53,18 @@ proc extract_wire_length {} {
} }
proc extract_report {stage} { proc extract_report {stage} {
setAnalysisMode -reset
setAnalysisMode -analysisType onChipVariation -cppr both
if { $stage == "preCTS" } { if { $stage == "preCTS" } {
timeDesign -preCTS -prefix ${stage} timeDesign -preCTS -prefix ${stage}
} elseif { $stage == "postCTS" } { } elseif { $stage == "postCTS" } {
timeDesign -postCTS -prefix ${stage} timeDesign -postCTS -prefix ${stage}
} elseif { $stage == "postRoute" } { } elseif { $stage == "postRoute" } {
setAnalysisMode -analysisType onChipVariatio -cppr both timeDesign -postRoute -prefix ${stage}
timeDesign -postRoute -prefix ${stage} } elseif { $stage == "postRouetOpt" } {
} timeDesign -postRoute -prefix ${stage}
}
set rpt1 [extract_from_timing_rpt timingReports/${stage}.summary.gz] set rpt1 [extract_from_timing_rpt timingReports/${stage}.summary.gz]
report_power > power_${stage}.rpt report_power > power_${stage}.rpt
set rpt2 [extract_from_power_rpt power_${stage}.rpt] set rpt2 [extract_from_power_rpt power_${stage}.rpt]
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
deselectAll deselectAll
set top_module [dbget top.name] set top_module [dbget top.name]
if {[dbget top.terms.pStatus -v -e fixed] == "" } { if {[dbget top.terms.pStatus -v -e fixed] != "" } {
source ../../../../util/place_pin.tcl source ../../../../util/place_pin.tcl
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment