Commit 1f52e75e by sakundu

Added protocol buffer format for synthesized netlist

Signed-off-by: sakundu <sakundu@ucsd.edu>
parent d115d3d7
...@@ -13,3 +13,4 @@ export PHY_SYNTH=1 ...@@ -13,3 +13,4 @@ export PHY_SYNTH=1
mkdir log -p mkdir log -p
genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl
innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl
../../../../util/run_grp_main.sh
...@@ -91,6 +91,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { ...@@ -91,6 +91,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
syn_generic -physical syn_generic -physical
} else { } else {
syn_generic syn_generic
write_hdl -generic > ${HANDOFF_PATH}/${DESIGN}_generic.v
} }
time_info GENERIC time_info GENERIC
......
...@@ -59,6 +59,8 @@ createBasicPathGroups -expanded ...@@ -59,6 +59,8 @@ createBasicPathGroups -expanded
setFPlanMode -snapBlockGrid LayerTrack setFPlanMode -snapBlockGrid LayerTrack
if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
defIn ${handoff_dir}/${DESIGN}.def defIn ${handoff_dir}/${DESIGN}.def
source ../../../../util/gen_pb.tcl
gen_pb_netlist
} else { } else {
defIn $floorplan_def defIn $floorplan_def
addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH
...@@ -77,7 +79,7 @@ setDesignMode -bottomRoutingLayer 2 ...@@ -77,7 +79,7 @@ setDesignMode -bottomRoutingLayer 2
place_opt_design -out_dir $rptDir -prefix place place_opt_design -out_dir $rptDir -prefix place
saveDesign $encDir/${DESIGN}_placed.enc saveDesign $encDir/${DESIGN}_placed.enc
echo "stage,core_area,standard_cell_area,macro_area,total_power,wire_length,wns,tns,h_c,v_c" > ${DESIGN}_DETAILS.rpt echo "Physical Design Stage, Core Area (um^2), Standard Cell Area (um^2), Macro Area (um^2), Total Power (mW), Wirelength(um), WS(ns), TNS(ns), Congestion(H), Congestion(V)" > ${DESIGN}_DETAILS.rpt
source ../../../../util/extract_report.tcl source ../../../../util/extract_report.tcl
set rpt_pre_cts [extract_report preCTS] set rpt_pre_cts [extract_report preCTS]
echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt
......
...@@ -13,3 +13,4 @@ export PHY_SYNTH=1 ...@@ -13,3 +13,4 @@ export PHY_SYNTH=1
mkdir log -p mkdir log -p
genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl
innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl
../../../../util/run_grp_main.sh
...@@ -91,6 +91,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { ...@@ -91,6 +91,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
syn_generic -physical syn_generic -physical
} else { } else {
syn_generic syn_generic
write_hdl -generic > ${HANDOFF_PATH}/${DESIGN}_generic.v
} }
time_info GENERIC time_info GENERIC
......
...@@ -59,6 +59,8 @@ createBasicPathGroups -expanded ...@@ -59,6 +59,8 @@ createBasicPathGroups -expanded
setFPlanMode -snapBlockGrid LayerTrack setFPlanMode -snapBlockGrid LayerTrack
if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
defIn ${handoff_dir}/${DESIGN}.def defIn ${handoff_dir}/${DESIGN}.def
source ../../../../util/gen_pb.tcl
gen_pb_netlist
} else { } else {
defIn $floorplan_def defIn $floorplan_def
addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH
...@@ -77,7 +79,7 @@ setDesignMode -bottomRoutingLayer 2 ...@@ -77,7 +79,7 @@ setDesignMode -bottomRoutingLayer 2
place_opt_design -out_dir $rptDir -prefix place place_opt_design -out_dir $rptDir -prefix place
saveDesign $encDir/${DESIGN}_placed.enc saveDesign $encDir/${DESIGN}_placed.enc
echo "stage,core_area,standard_cell_area,macro_area,total_power,wire_length,wns,tns,h_c,v_c" > ${DESIGN}_DETAILS.rpt echo "Physical Design Stage, Core Area (um^2), Standard Cell Area (um^2), Macro Area (um^2), Total Power (mW), Wirelength(um), WS(ns), TNS(ns), Congestion(H), Congestion(V)" > ${DESIGN}_DETAILS.rpt
source ../../../../util/extract_report.tcl source ../../../../util/extract_report.tcl
set rpt_pre_cts [extract_report preCTS] set rpt_pre_cts [extract_report preCTS]
echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt
......
...@@ -13,3 +13,4 @@ export PHY_SYNTH=1 ...@@ -13,3 +13,4 @@ export PHY_SYNTH=1
mkdir log -p mkdir log -p
genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl
innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl
../../../../util/run_grp_main.sh
...@@ -59,6 +59,8 @@ createBasicPathGroups -expanded ...@@ -59,6 +59,8 @@ createBasicPathGroups -expanded
setFPlanMode -snapBlockGrid LayerTrack setFPlanMode -snapBlockGrid LayerTrack
if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
defIn ${handoff_dir}/${DESIGN}.def defIn ${handoff_dir}/${DESIGN}.def
source ../../../../util/gen_pb.tcl
gen_pb_netlist
} else { } else {
defIn $floorplan_def defIn $floorplan_def
addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH
...@@ -77,7 +79,7 @@ setDesignMode -bottomRoutingLayer 2 ...@@ -77,7 +79,7 @@ setDesignMode -bottomRoutingLayer 2
place_opt_design -out_dir $rptDir -prefix place place_opt_design -out_dir $rptDir -prefix place
saveDesign $encDir/${DESIGN}_placed.enc saveDesign $encDir/${DESIGN}_placed.enc
echo "stage,core_area,standard_cell_area,macro_area,total_power,wire_length,wns,tns,h_c,v_c" > ${DESIGN}_DETAILS.rpt echo "Physical Design Stage, Core Area (um^2), Standard Cell Area (um^2), Macro Area (um^2), Total Power (mW), Wirelength(um), WS(ns), TNS(ns), Congestion(H), Congestion(V)" > ${DESIGN}_DETAILS.rpt
source ../../../../util/extract_report.tcl source ../../../../util/extract_report.tcl
set rpt_pre_cts [extract_report preCTS] set rpt_pre_cts [extract_report preCTS]
echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt
......
...@@ -13,3 +13,4 @@ export PHY_SYNTH=1 ...@@ -13,3 +13,4 @@ export PHY_SYNTH=1
mkdir log -p mkdir log -p
genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl
innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl
../../../../util/run_grp_main.sh
...@@ -92,6 +92,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { ...@@ -92,6 +92,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
syn_generic -physical syn_generic -physical
} else { } else {
syn_generic syn_generic
write_hdl -generic > ${HANDOFF_PATH}/${DESIGN}_generic.v
} }
time_info GENERIC time_info GENERIC
......
...@@ -59,6 +59,8 @@ createBasicPathGroups -expanded ...@@ -59,6 +59,8 @@ createBasicPathGroups -expanded
setFPlanMode -snapBlockGrid LayerTrack setFPlanMode -snapBlockGrid LayerTrack
if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
defIn ${handoff_dir}/${DESIGN}.def defIn ${handoff_dir}/${DESIGN}.def
source ../../../../util/gen_pb.tcl
gen_pb_netlist
} else { } else {
defIn $floorplan_def defIn $floorplan_def
addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH
...@@ -77,7 +79,7 @@ setDesignMode -bottomRoutingLayer 2 ...@@ -77,7 +79,7 @@ setDesignMode -bottomRoutingLayer 2
place_opt_design -out_dir $rptDir -prefix place place_opt_design -out_dir $rptDir -prefix place
saveDesign $encDir/${DESIGN}_placed.enc saveDesign $encDir/${DESIGN}_placed.enc
echo "stage,core_area,standard_cell_area,macro_area,total_power,wire_length,wns,tns,h_c,v_c" > ${DESIGN}_DETAILS.rpt echo "Physical Design Stage, Core Area (um^2), Standard Cell Area (um^2), Macro Area (um^2), Total Power (mW), Wirelength(um), WS(ns), TNS(ns), Congestion(H), Congestion(V)" > ${DESIGN}_DETAILS.rpt
source ../../../../util/extract_report.tcl source ../../../../util/extract_report.tcl
set rpt_pre_cts [extract_report preCTS] set rpt_pre_cts [extract_report preCTS]
echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -13,3 +13,4 @@ export PHY_SYNTH=1 ...@@ -13,3 +13,4 @@ export PHY_SYNTH=1
mkdir log -p mkdir log -p
genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl
innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl
../../../../util/run_grp_main.sh
...@@ -58,6 +58,8 @@ createBasicPathGroups -expanded ...@@ -58,6 +58,8 @@ createBasicPathGroups -expanded
if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
defIn ${handoff_dir}/${DESIGN}.def defIn ${handoff_dir}/${DESIGN}.def
source ../../../../util/gen_pb.tcl
gen_pb_netlist
} else { } else {
defIn $floorplan_def defIn $floorplan_def
addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH
...@@ -75,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2 ...@@ -75,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2
place_opt_design -out_dir $rptDir -prefix place place_opt_design -out_dir $rptDir -prefix place
saveDesign $encDir/${DESIGN}_placed.enc saveDesign $encDir/${DESIGN}_placed.enc
echo "stage,core_area,standard_cell_area,macro_area,total_power,wire_length,wns,tns,h_c,v_c" > ${DESIGN}_DETAILS.rpt echo "Physical Design Stage, Core Area (um^2), Standard Cell Area (um^2), Macro Area (um^2), Total Power (mW), Wirelength(um), WS(ns), TNS(ns), Congestion(H), Congestion(V)" > ${DESIGN}_DETAILS.rpt
source ../../../../util/extract_report.tcl source ../../../../util/extract_report.tcl
set rpt_pre_cts [extract_report preCTS] set rpt_pre_cts [extract_report preCTS]
echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt
......
...@@ -13,3 +13,4 @@ export PHY_SYNTH=1 ...@@ -13,3 +13,4 @@ export PHY_SYNTH=1
mkdir log -p mkdir log -p
genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl
innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl
../../../../util/run_grp_main.sh
...@@ -58,6 +58,8 @@ createBasicPathGroups -expanded ...@@ -58,6 +58,8 @@ createBasicPathGroups -expanded
if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
defIn ${handoff_dir}/${DESIGN}.def defIn ${handoff_dir}/${DESIGN}.def
source ../../../../util/gen_pb.tcl
gen_pb_netlist
} else { } else {
defIn $floorplan_def defIn $floorplan_def
addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH
...@@ -75,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2 ...@@ -75,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2
place_opt_design -out_dir $rptDir -prefix place place_opt_design -out_dir $rptDir -prefix place
saveDesign $encDir/${DESIGN}_placed.enc saveDesign $encDir/${DESIGN}_placed.enc
echo "stage,core_area,standard_cell_area,macro_area,total_power,wire_length,wns,tns,h_c,v_c" > ${DESIGN}_DETAILS.rpt echo "Physical Design Stage, Core Area (um^2), Standard Cell Area (um^2), Macro Area (um^2), Total Power (mW), Wirelength(um), WS(ns), TNS(ns), Congestion(H), Congestion(V)" > ${DESIGN}_DETAILS.rpt
source ../../../../util/extract_report.tcl source ../../../../util/extract_report.tcl
set rpt_pre_cts [extract_report preCTS] set rpt_pre_cts [extract_report preCTS]
echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt
......
...@@ -13,3 +13,4 @@ export PHY_SYNTH=1 ...@@ -13,3 +13,4 @@ export PHY_SYNTH=1
mkdir log -p mkdir log -p
genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl
innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl
../../../../util/run_grp_main.sh
...@@ -58,6 +58,8 @@ createBasicPathGroups -expanded ...@@ -58,6 +58,8 @@ createBasicPathGroups -expanded
if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
defIn ${handoff_dir}/${DESIGN}.def defIn ${handoff_dir}/${DESIGN}.def
source ../../../../util/gen_pb.tcl
gen_pb_netlist
} else { } else {
defIn $floorplan_def defIn $floorplan_def
addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH
...@@ -75,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2 ...@@ -75,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2
place_opt_design -out_dir $rptDir -prefix place place_opt_design -out_dir $rptDir -prefix place
saveDesign $encDir/${DESIGN}_placed.enc saveDesign $encDir/${DESIGN}_placed.enc
echo "stage,core_area,standard_cell_area,macro_area,total_power,wire_length,wns,tns,h_c,v_c" > ${DESIGN}_DETAILS.rpt echo "Physical Design Stage, Core Area (um^2), Standard Cell Area (um^2), Macro Area (um^2), Total Power (mW), Wirelength(um), WS(ns), TNS(ns), Congestion(H), Congestion(V)" > ${DESIGN}_DETAILS.rpt
source ../../../../util/extract_report.tcl source ../../../../util/extract_report.tcl
set rpt_pre_cts [extract_report preCTS] set rpt_pre_cts [extract_report preCTS]
echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt
......
...@@ -13,3 +13,4 @@ export PHY_SYNTH=1 ...@@ -13,3 +13,4 @@ export PHY_SYNTH=1
mkdir log -p mkdir log -p
genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl
innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl
../../../../util/run_grp_main.sh
...@@ -58,6 +58,8 @@ createBasicPathGroups -expanded ...@@ -58,6 +58,8 @@ createBasicPathGroups -expanded
if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
defIn ${handoff_dir}/${DESIGN}.def defIn ${handoff_dir}/${DESIGN}.def
source ../../../../util/gen_pb.tcl
gen_pb_netlist
} else { } else {
defIn $floorplan_def defIn $floorplan_def
addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH
...@@ -75,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2 ...@@ -75,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2
place_opt_design -out_dir $rptDir -prefix place place_opt_design -out_dir $rptDir -prefix place
saveDesign $encDir/${DESIGN}_placed.enc saveDesign $encDir/${DESIGN}_placed.enc
echo "stage,core_area,standard_cell_area,macro_area,total_power,wire_length,wns,tns,h_c,v_c" > ${DESIGN}_DETAILS.rpt echo "Physical Design Stage, Core Area (um^2), Standard Cell Area (um^2), Macro Area (um^2), Total Power (mW), Wirelength(um), WS(ns), TNS(ns), Congestion(H), Congestion(V)" > ${DESIGN}_DETAILS.rpt
source ../../../../util/extract_report.tcl source ../../../../util/extract_report.tcl
set rpt_pre_cts [extract_report preCTS] set rpt_pre_cts [extract_report preCTS]
echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt
......
...@@ -13,3 +13,4 @@ export PHY_SYNTH=0 ...@@ -13,3 +13,4 @@ export PHY_SYNTH=0
mkdir log -p mkdir log -p
genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl
innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl
../../../../util/run_grp_main.sh
...@@ -91,6 +91,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { ...@@ -91,6 +91,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
syn_generic -physical syn_generic -physical
} else { } else {
syn_generic syn_generic
write_hdl -generic > ${HANDOFF_PATH}/${DESIGN}_generic.v
} }
time_info GENERIC time_info GENERIC
......
...@@ -57,12 +57,15 @@ createBasicPathGroups -expanded ...@@ -57,12 +57,15 @@ createBasicPathGroups -expanded
## Generate the floorplan ## ## Generate the floorplan ##
if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
defIn ${handoff_dir}/${DESIGN}.def defIn ${handoff_dir}/${DESIGN}.def
source ../../../../util/gen_pb.tcl
gen_pb_netlist
} else { } else {
defIn $floorplan_def defIn $floorplan_def
addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH
place_design -concurrent_macros place_design -concurrent_macros
refine_macro_place refine_macro_place
} }
source ../../../../util/write_required_def.tcl
saveDesign ${encDir}/${DESIGN}_floorplan.enc saveDesign ${encDir}/${DESIGN}_floorplan.enc
...@@ -74,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2 ...@@ -74,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2
place_opt_design -out_dir $rptDir -prefix place place_opt_design -out_dir $rptDir -prefix place
saveDesign $encDir/${DESIGN}_placed.enc saveDesign $encDir/${DESIGN}_placed.enc
echo "stage,core_area,standard_cell_area,macro_area,total_power,wire_length,wns,tns,h_c,v_c" > ${DESIGN}_DETAILS.rpt echo "Physical Design Stage, Core Area (um^2), Standard Cell Area (um^2), Macro Area (um^2), Total Power (mW), Wirelength(um), WS(ns), TNS(ns), Congestion(H), Congestion(V)" > ${DESIGN}_DETAILS.rpt
source ../../../../util/extract_report.tcl source ../../../../util/extract_report.tcl
set rpt_pre_cts [extract_report preCTS] set rpt_pre_cts [extract_report preCTS]
echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt
......
...@@ -13,3 +13,4 @@ export PHY_SYNTH=0 ...@@ -13,3 +13,4 @@ export PHY_SYNTH=0
mkdir log -p mkdir log -p
genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl
innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl
../../../../util/run_grp_main.sh
...@@ -91,6 +91,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { ...@@ -91,6 +91,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
syn_generic -physical syn_generic -physical
} else { } else {
syn_generic syn_generic
write_hdl -generic > ${HANDOFF_PATH}/${DESIGN}_generic.v
} }
time_info GENERIC time_info GENERIC
......
...@@ -57,6 +57,8 @@ createBasicPathGroups -expanded ...@@ -57,6 +57,8 @@ createBasicPathGroups -expanded
## Generate the floorplan ## ## Generate the floorplan ##
if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
defIn ${handoff_dir}/${DESIGN}.def defIn ${handoff_dir}/${DESIGN}.def
source ../../../../util/gen_pb.tcl
gen_pb_netlist
} else { } else {
defIn $floorplan_def defIn $floorplan_def
addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH
...@@ -64,6 +66,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { ...@@ -64,6 +66,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
refine_macro_place refine_macro_place
} }
source ../../../../util/write_required_def.tcl
saveDesign ${encDir}/${DESIGN}_floorplan.enc saveDesign ${encDir}/${DESIGN}_floorplan.enc
setPlaceMode -place_detail_legalization_inst_gap 1 setPlaceMode -place_detail_legalization_inst_gap 1
...@@ -74,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2 ...@@ -74,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2
place_opt_design -out_dir $rptDir -prefix place place_opt_design -out_dir $rptDir -prefix place
saveDesign $encDir/${DESIGN}_placed.enc saveDesign $encDir/${DESIGN}_placed.enc
echo "stage,core_area,standard_cell_area,macro_area,total_power,wire_length,wns,tns,h_c,v_c" > ${DESIGN}_DETAILS.rpt echo "Physical Design Stage, Core Area (um^2), Standard Cell Area (um^2), Macro Area (um^2), Total Power (mW), Wirelength(um), WS(ns), TNS(ns), Congestion(H), Congestion(V)" > ${DESIGN}_DETAILS.rpt
source ../../../../util/extract_report.tcl source ../../../../util/extract_report.tcl
set rpt_pre_cts [extract_report preCTS] set rpt_pre_cts [extract_report preCTS]
echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt
......
...@@ -13,3 +13,4 @@ export PHY_SYNTH=0 ...@@ -13,3 +13,4 @@ export PHY_SYNTH=0
mkdir log -p mkdir log -p
genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl
innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl
../../../../util/run_grp_main.sh
...@@ -92,6 +92,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { ...@@ -92,6 +92,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
syn_generic -physical syn_generic -physical
} else { } else {
syn_generic syn_generic
write_hdl -generic > ${HANDOFF_PATH}/${DESIGN}_generic.v
} }
time_info GENERIC time_info GENERIC
......
...@@ -57,6 +57,8 @@ createBasicPathGroups -expanded ...@@ -57,6 +57,8 @@ createBasicPathGroups -expanded
## Generate the floorplan ## ## Generate the floorplan ##
if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
defIn ${handoff_dir}/${DESIGN}.def defIn ${handoff_dir}/${DESIGN}.def
source ../../../../util/gen_pb.tcl
gen_pb_netlist
} else { } else {
defIn $floorplan_def defIn $floorplan_def
addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH
...@@ -64,6 +66,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { ...@@ -64,6 +66,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
refine_macro_place refine_macro_place
} }
source ../../../../util/write_required_def.tcl
saveDesign ${encDir}/${DESIGN}_floorplan.enc saveDesign ${encDir}/${DESIGN}_floorplan.enc
setPlaceMode -place_detail_legalization_inst_gap 1 setPlaceMode -place_detail_legalization_inst_gap 1
...@@ -74,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2 ...@@ -74,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2
place_opt_design -out_dir $rptDir -prefix place place_opt_design -out_dir $rptDir -prefix place
saveDesign $encDir/${DESIGN}_placed.enc saveDesign $encDir/${DESIGN}_placed.enc
echo "stage,core_area,standard_cell_area,macro_area,total_power,wire_length,wns,tns,h_c,v_c" > ${DESIGN}_DETAILS.rpt echo "Physical Design Stage, Core Area (um^2), Standard Cell Area (um^2), Macro Area (um^2), Total Power (mW), Wirelength(um), WS(ns), TNS(ns), Congestion(H), Congestion(V)" > ${DESIGN}_DETAILS.rpt
source ../../../../util/extract_report.tcl source ../../../../util/extract_report.tcl
set rpt_pre_cts [extract_report preCTS] set rpt_pre_cts [extract_report preCTS]
echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt
......
...@@ -13,3 +13,4 @@ export PHY_SYNTH=0 ...@@ -13,3 +13,4 @@ export PHY_SYNTH=0
mkdir log -p mkdir log -p
genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl genus -overwrite -log log/genus.log -no_gui -files run_genus_hybrid.tcl
innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl innovus -64 -overwrite -log log/innovus.log -files run_invs.tcl
../../../../util/run_grp_main.sh
...@@ -93,6 +93,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { ...@@ -93,6 +93,7 @@ if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
syn_generic -physical syn_generic -physical
} else { } else {
syn_generic syn_generic
write_hdl -generic > ${HANDOFF_PATH}/${DESIGN}_generic.v
} }
time_info GENERIC time_info GENERIC
......
...@@ -57,12 +57,15 @@ createBasicPathGroups -expanded ...@@ -57,12 +57,15 @@ createBasicPathGroups -expanded
## Generate the floorplan ## ## Generate the floorplan ##
if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} { if {[info exist ::env(PHY_SYNTH)] && $::env(PHY_SYNTH) == 1} {
defIn ${handoff_dir}/${DESIGN}.def defIn ${handoff_dir}/${DESIGN}.def
source ../../../../util/gen_pb.tcl
gen_pb_netlist
} else { } else {
defIn $floorplan_def defIn $floorplan_def
addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH addHaloToBlock -allMacro $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH $HALO_WIDTH
place_design -concurrent_macros place_design -concurrent_macros
refine_macro_place refine_macro_place
} }
source ../../../../util/write_required_def.tcl
saveDesign ${encDir}/${DESIGN}_floorplan.enc saveDesign ${encDir}/${DESIGN}_floorplan.enc
...@@ -74,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2 ...@@ -74,7 +77,7 @@ setDesignMode -bottomRoutingLayer 2
place_opt_design -out_dir $rptDir -prefix place place_opt_design -out_dir $rptDir -prefix place
saveDesign $encDir/${DESIGN}_placed.enc saveDesign $encDir/${DESIGN}_placed.enc
echo "stage,core_area,standard_cell_area,macro_area,total_power,wire_length,wns,tns,h_c,v_c" > ${DESIGN}_DETAILS.rpt echo "Physical Design Stage, Core Area (um^2), Standard Cell Area (um^2), Macro Area (um^2), Total Power (mW), Wirelength(um), WS(ns), TNS(ns), Congestion(H), Congestion(V)" > ${DESIGN}_DETAILS.rpt
source ../../../../util/extract_report.tcl source ../../../../util/extract_report.tcl
set rpt_pre_cts [extract_report preCTS] set rpt_pre_cts [extract_report preCTS]
echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt echo "$rpt_pre_cts" >> ${DESIGN}_DETAILS.rpt
......
...@@ -7,7 +7,7 @@ import time ...@@ -7,7 +7,7 @@ import time
testcases = ['ariane136', 'ariane133', 'mempool_tile', 'nvdla'] testcases = ['ariane136', 'ariane133', 'mempool_tile', 'nvdla']
enablements = ['NanGate45', 'ASAP7', 'SKY130HD'] enablements = ['NanGate45', 'ASAP7', 'SKY130HD']
flows = [1, 2] flows = [1, 2]
job_file = "all_jobs" job_file = "./job/all_jobs"
fp = open(job_file, "w") fp = open(job_file, "w")
run_dir_name= f"run-{time.strftime('%Y%m%d-%H%M%S')}" run_dir_name= f"run-{time.strftime('%Y%m%d-%H%M%S')}"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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