Skip to content

Commit 557e6fe

Browse files
committed
scripts: whitespace consistency, tabs not spaces and misc
less noisy future PRs. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent bab1020 commit 557e6fe

File tree

21 files changed

+174
-174
lines changed

21 files changed

+174
-174
lines changed

flow/designs/gf180/uart-blocks/BLOCKS_grid_strategy.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
1818
####################################
1919
# standard cell grid
2020
####################################
21-
define_pdn_grid -name {block} -voltage_domains {CORE}
21+
define_pdn_grid -name {block} -voltage_domains {CORE}
2222
add_pdn_stripe -grid {block} -layer {Metal1} -width {0.900} -pitch {5.040} -offset {0} -followpins
2323
add_pdn_stripe -grid {block} -layer {Metal4} -width {4.480} -spacing {0.56} -pitch {44.8} -offset {22.4}
2424
add_pdn_stripe -grid {block} -layer {Metal5} -width {4.480} -pitch {89.6} -offset {44.8}

flow/designs/gf180/uart-blocks/uart_rx/pdn.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
1818
####################################
1919
# standard cell grid
2020
####################################
21-
define_pdn_grid -name {block} -voltage_domains {CORE}
21+
define_pdn_grid -name {block} -voltage_domains {CORE}
2222
add_pdn_stripe -grid {block} -layer {Metal1} -width {0.900} -pitch {5.040} -offset {0} -followpins
2323
add_pdn_stripe -grid {block} -layer {Metal4} -width {4.480} -spacing {0.56} -pitch {44.8} -offset {22.4}
2424
add_pdn_connect -grid {block} -layers {Metal1 Metal4}

flow/designs/ihp-sg13g2/i2c-gpio-expander/pdn.tcl

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -23,41 +23,41 @@ set_voltage_domain -name {CORE} -power {VDD} -ground {VSS}
2323
# stdcell grid
2424
define_pdn_grid -name {grid} -voltage_domains {CORE}
2525
add_pdn_ring \
26-
-grid {grid} \
27-
-layers {Metal5 TopMetal1} \
28-
-widths {30.0} \
29-
-spacings {5.0} \
30-
-core_offsets {4.5} \
31-
-connect_to_pads
26+
-grid {grid} \
27+
-layers {Metal5 TopMetal1} \
28+
-widths {30.0} \
29+
-spacings {5.0} \
30+
-core_offsets {4.5} \
31+
-connect_to_pads
3232
add_pdn_stripe \
33-
-grid {grid} \
34-
-layer {Metal1} \
35-
-width {0.44} \
36-
-pitch {7.56} \
37-
-offset {0} \
38-
-followpins \
39-
-extend_to_core_ring
33+
-grid {grid} \
34+
-layer {Metal1} \
35+
-width {0.44} \
36+
-pitch {7.56} \
37+
-offset {0} \
38+
-followpins \
39+
-extend_to_core_ring
4040
add_pdn_stripe \
41-
-grid {grid} \
42-
-layer {Metal5} \
43-
-width {2.200} \
44-
-pitch {75.6} \
45-
-offset {13.600} \
46-
-extend_to_core_ring
41+
-grid {grid} \
42+
-layer {Metal5} \
43+
-width {2.200} \
44+
-pitch {75.6} \
45+
-offset {13.600} \
46+
-extend_to_core_ring
4747
add_pdn_stripe \
48-
-grid {grid} \
49-
-layer {TopMetal1} \
50-
-width {2.200} \
51-
-pitch {75.6} \
52-
-offset {13.600} \
53-
-extend_to_core_ring
48+
-grid {grid} \
49+
-layer {TopMetal1} \
50+
-width {2.200} \
51+
-pitch {75.6} \
52+
-offset {13.600} \
53+
-extend_to_core_ring
5454
add_pdn_stripe \
55-
-grid {grid} \
56-
-layer {TopMetal2} \
57-
-width {2.200} \
58-
-pitch {75.6} \
59-
-offset {13.600} \
60-
-extend_to_core_ring
55+
-grid {grid} \
56+
-layer {TopMetal2} \
57+
-width {2.200} \
58+
-pitch {75.6} \
59+
-offset {13.600} \
60+
-extend_to_core_ring
6161
add_pdn_connect -grid {grid} -layers {Metal1 Metal5}
6262
add_pdn_connect -grid {grid} -layers {Metal5 TopMetal1}
6363
add_pdn_connect -grid {grid} -layers {Metal5 TopMetal2}

flow/platforms/asap7/openlane/config.tcl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ set ::env(STD_CELL_GROUND_PINS) "VSS"
1515
set ::env(TECH_LEF) "$::env(PDK_ROOT)/$::env(PDK)/libs.ref/$::env(STD_CELL_LIBRARY)/techlef/asap7_tech_1x_201209.lef"
1616
set ::env(CELLS_LEF) [glob "$::env(PDK_ROOT)/$::env(PDK)/libs.ref/$::env(STD_CELL_LIBRARY)/lef/*.lef"]
1717
set ::env(GDS_FILES) [glob "$::env(PDK_ROOT)/$::env(PDK)/libs.ref/$::env(STD_CELL_LIBRARY)/gds/*.gds"]
18-
set ::env(STD_CELL_LIBRARY_CDL) "$::env(PDK_ROOT)/$::env(PDK)/libs.ref/$::env(STD_CELL_LIBRARY)/cdl/$::env(STD_CELL_LIBRARY).cdl"
18+
set ::env(STD_CELL_LIBRARY_CDL) "$::env(PDK_ROOT)/$::env(PDK)/libs.ref/$::env(STD_CELL_LIBRARY)/cdl/$::env(STD_CELL_LIBRARY).cdl"
1919

2020
set ::env(GPIO_PADS_LEF) ""
2121

@@ -25,7 +25,7 @@ set ::env(GPIO_PADS_VERILOG) ""
2525
set ::env(TECH_LEF_OPT) "$::env(PDK_ROOT)/$::env(PDK)/libs.ref/$::env(STD_CELL_LIBRARY_OPT)/techlef/$::env(STD_CELL_LIBRARY_OPT).tlef"
2626
set ::env(CELLS_LEF_OPT) [glob "$::env(PDK_ROOT)/$::env(PDK)/libs.ref/$::env(STD_CELL_LIBRARY_OPT)/lef/*.lef"]
2727
set ::env(GDS_FILES_OPT) [glob "$::env(PDK_ROOT)/$::env(PDK)/libs.ref/$::env(STD_CELL_LIBRARY_OPT)/gds/*.gds"]
28-
set ::env(STD_CELL_LIBRARY_OPT_CDL) "$::env(PDK_ROOT)/$::env(PDK)/libs.ref/$::env(STD_CELL_LIBRARY_OPT)/cdl/$::env(STD_CELL_LIBRARY_OPT).cdl"
28+
set ::env(STD_CELL_LIBRARY_OPT_CDL) "$::env(PDK_ROOT)/$::env(PDK)/libs.ref/$::env(STD_CELL_LIBRARY_OPT)/cdl/$::env(STD_CELL_LIBRARY_OPT).cdl"
2929

3030

3131
# Optimization library slowest corner
@@ -100,15 +100,15 @@ set ::env(VIAS_RC) "\
100100

101101
# Layer RC Values
102102
set ::env(LAYERS_RC) "\
103-
M1 1.1368e-01 1.3889e-01,\
104-
M2 1.3426e-01 2.4222e-02,\
105-
M3 1.2918e-01 2.4222e-02,\
106-
M4 1.1396e-01 1.6778e-02,\
107-
M5 1.3323e-01 1.4677e-02,\
108-
M6 1.1575e-01 1.0371e-02,\
109-
M7 1.3293e-01 9.6720e-03,\
110-
M8 1.1822e-01 7.4310e-03,\
111-
M9 1.3497e-01 6.8740e-03"
103+
M1 1.1368e-01 1.3889e-01,\
104+
M2 1.3426e-01 2.4222e-02,\
105+
M3 1.2918e-01 2.4222e-02,\
106+
M4 1.1396e-01 1.6778e-02,\
107+
M5 1.3323e-01 1.4677e-02,\
108+
M6 1.1575e-01 1.0371e-02,\
109+
M7 1.3293e-01 9.6720e-03,\
110+
M8 1.1822e-01 7.4310e-03,\
111+
M9 1.3497e-01 6.8740e-03"
112112

113113
# Extra PDN configs
114114
set ::env(FP_PDN_RAILS_LAYER) met1

flow/platforms/gf180/setRC.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ if { $metal == "6" } {
4949
}
5050
}
5151
}
52-
52+
5353
set_wire_rc -signal -layer Metal2
5454
set_wire_rc -clock -layer Metal4
5555

flow/platforms/nangate45/tapcell.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ tapcell \
22
-distance 120 \
33
-tapcell_master "$::env(TAP_CELL_NAME)" \
44
-endcap_master "$::env(TAP_CELL_NAME)"
5-
5+

flow/scripts/add_routing_blk.tcl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ foreach inst $allInsts {
2626
set w [$master getWidth]
2727
set h [$master getHeight]
2828

29-
set llx_Mx [expr $loc_llx - (128*$numTrack)]
30-
set lly_Mx [expr $loc_lly - (128*$numTrack)]
31-
set urx_Mx [expr $loc_llx + $w + (128*$numTrack)]
32-
set ury_Mx [expr $loc_lly + $h + (128*$numTrack)]
33-
34-
set llx_Cx $loc_llx
35-
set lly_Cx [expr $loc_lly - (160*$numTrack)]
36-
set urx_Cx [expr $loc_llx + $w]
37-
set ury_Cx [expr $loc_lly + $h + (160*$numTrack)]
29+
set llx_Mx [expr $loc_llx - (128*$numTrack)]
30+
set lly_Mx [expr $loc_lly - (128*$numTrack)]
31+
set urx_Mx [expr $loc_llx + $w + (128*$numTrack)]
32+
set ury_Mx [expr $loc_lly + $h + (128*$numTrack)]
33+
34+
set llx_Cx $loc_llx
35+
set lly_Cx [expr $loc_lly - (160*$numTrack)]
36+
set urx_Cx [expr $loc_llx + $w]
37+
set ury_Cx [expr $loc_lly + $h + (160*$numTrack)]
3838

3939
set obs_M2 [odb::dbObstruction_create $block $layer_M2 $llx_Mx $lly_Mx $urx_Mx $ury_Mx]
4040
set obs_M3 [odb::dbObstruction_create $block $layer_M3 $llx_Mx $lly_Mx $urx_Mx $ury_Mx]

flow/scripts/cts.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ proc save_progress {stage} {
1717
set cts_args [list \
1818
-sink_clustering_enable \
1919
-balance_levels \
20-
-repair_clock_nets]
20+
-repair_clock_nets]
2121

2222
append_env_var cts_args CTS_BUF_DISTANCE -distance_between_buffers 1
2323
append_env_var cts_args CTS_CLUSTER_SIZE -sink_clustering_size 1

flow/scripts/detail_place.tcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ proc do_dpl {} {
1010
if {[env_var_equals BALANCE_ROWS 1]} {
1111
balance_row_usage
1212
}
13-
13+
1414
set_placement_padding -global \
1515
-left $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) \
1616
-right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
1717
detailed_placement
18-
18+
1919
if {[env_var_equals ENABLE_DPO 1]} {
2020
if {[env_var_exists_and_non_empty DPO_MAX_DISPLACEMENT]} {
2121
improve_placement -max_displacement $::env(DPO_MAX_DISPLACEMENT)
@@ -26,7 +26,7 @@ proc do_dpl {} {
2626
optimize_mirroring
2727

2828
utl::info FLW 12 "Placement violations [check_placement -verbose]."
29-
29+
3030
estimate_parasitics -placement
3131
}
3232

flow/scripts/load.tcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ proc load_design {design_file sdc_file} {
88
if {[env_var_exists_and_non_empty PLATFORM_TCL]} {
99
log_cmd source $::env(PLATFORM_TCL)
1010
}
11-
11+
1212
# Read liberty files
1313
source $::env(SCRIPTS_DIR)/read_liberty.tcl
1414

@@ -46,7 +46,7 @@ proc load_design {design_file sdc_file} {
4646
}
4747

4848
#===========================================================================================
49-
# Routines to run equivalence tests when they are enabled.
49+
# Routines to run equivalence tests when they are enabled.
5050

5151
proc get_verilog_cells_for_design { } {
5252
set dir "$::env(PLATFORM_DIR)/work_around_yosys/"
@@ -98,7 +98,7 @@ proc write_eqy_script { } {
9898
# Gold netlist
9999
puts $outfile "\[gold]\nread_verilog -sv $::env(RESULTS_DIR)/4_before_rsz.v $cell_files\n"
100100
puts $outfile "prep -top $top_cell -flatten\nmemory_map\n\n"
101-
# Modified netlist
101+
# Modified netlist
102102
puts $outfile "\[gate]\nread_verilog -sv $::env(RESULTS_DIR)/4_after_rsz.v $cell_files\n"
103103
puts $outfile "prep -top $top_cell -flatten\nmemory_map\n\n"
104104

0 commit comments

Comments
 (0)