Skip to content

Commit e2030ea

Browse files
update ORD and CDS flow scripts for Pin-3D Flow
1 parent d34bae0 commit e2030ea

File tree

566 files changed

+49247
-1757320
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

566 files changed

+49247
-1757320
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ flow/private
6767

6868
# network
6969
.nfs*
70-
70+
.DS_Store
7171
# core dumps
7272
core
7373
core.*

flow-Pin3D/.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,12 @@ designs/nangate45_3D/*/*.gp.def
1010
HotSpot/examples/3D_*
1111
HotSpot/scripts/output
1212
*.log
13-
versions.txt
13+
versions.txt
14+
.cadence
15+
fv
16+
mp_data*
17+
timingReports
18+
*.rpt
19+
*.tstamp
20+
*.bak
21+
test.scripts

flow-Pin3D/HotSpot/examples/thermal/run.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ cp outputs/test.steady test.init
1515
# Transient simulation
1616
../../hotspot -c test.config -p test.ptrace -grid_layer_file test.lcf -materials_file test.materials -model_type grid -detailed_3D on -o outputs/test.ttrace -grid_transient_file outputs/test.grid.ttrace
1717

18-
# Visualize Heat Map of Layer 0 with Perl and with Python script
19-
# Visualize Heat Map of Layer 0 with Perl and with Python script
20-
python ../../scripts/split_grid_steady.py outputs/test.grid.steady 6 64 64
21-
python ../../scripts/temp_tran.py -f outputs/test.grid.steady outputs/test_layer2.grid.steady outputs/test_layer0.grid.steady
22-
python ../../scripts/grid_thermal_map.py floorplan2.flp outputs/test_layer2.grid.steady 64 64 outputs/core_thermal.png
18+
# Visualize Heat Map of Layer 0 with Perl and with Python3 script
19+
# Visualize Heat Map of Layer 0 with Perl and with Python3 script
20+
python3 ../../scripts/split_grid_steady.py outputs/test.grid.steady 6 64 64
21+
python3 ../../scripts/temp_tran.py -f outputs/test.grid.steady outputs/test_layer2.grid.steady outputs/test_layer0.grid.steady
22+
python3 ../../scripts/grid_thermal_map.py floorplan2.flp outputs/test_layer2.grid.steady 64 64 outputs/core_thermal.png
2323
perl ../../scripts/grid_thermal_map.pl floorplan2.flp outputs/test_layer2.grid.steady 64 64 > outputs/core_thermal.svg
2424

25-
python ../../scripts/grid_thermal_map.py floorplan1.flp outputs/test_layer0.grid.steady 64 64 outputs/cache_thermal.png
25+
python3 ../../scripts/grid_thermal_map.py floorplan1.flp outputs/test_layer0.grid.steady 64 64 outputs/cache_thermal.png
2626
perl ../../scripts/grid_thermal_map.pl floorplan1.flp outputs/test_layer0.grid.steady 64 64 > outputs/cache_thermal.svg

flow-Pin3D/HotSpot/scripts/run_report_power.tcl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ set grid_size 10
55
set output_dir $env(HOTSPOT_OUTPUT)/
66

77
# Load the necessary libraries
8-
foreach varName [array names env PLATFORMS_*] {
9-
read_liberty $env($varName)
8+
puts "Loading libraries..."
9+
foreach lib_file $env(LIB_FILES) {
10+
puts "Loading library: $lib_file"
11+
read_liberty $lib_file
1012
}
1113

1214
# Read the Verilog and SDC files

flow-Pin3D/Makefile

Lines changed: 486 additions & 1244 deletions
Large diffs are not rendered by default.

flow-Pin3D/Makefile.py

Lines changed: 0 additions & 130 deletions
This file was deleted.
226 KB
Loading
2.19 MB
Loading
2.03 MB
Loading
1.12 MB
Loading

0 commit comments

Comments
 (0)