rsp_partition.ss
3.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
search_path = search_path + "../src" + "../../inc" + \
"../../../lib/verilog/user" + "../../syn" + \
"../../su/src" + "../../vu/src"
/* read the verilog sources */
read -f verilog ../src/rsp.v
/* su */
read -f verilog ../../su/src/su.v
read -f verilog ../../su/src/suctl.v
read -f verilog ../../su/src/issue.v
read -f verilog ../../su/src/suvuctl.v
read -f verilog ../../su/src/vt_decode.v
read -f verilog ../src/regfile_decode.v
read -f verilog ../src/rsp_lden32_f.v
read -f verilog ../src/rsp_lden32_t.v
read -f verilog ../src/spasdff_1_1.v
read -f verilog ../src/spasdff_1_0.v
read -f verilog ../src/spasdff_1_0_h.v
read -f verilog ../src/spasdff_3_0.v
read -f verilog ../src/spasdff_4_0.v
read -f verilog ../src/spasdff_5_0.v
read -f verilog ../src/spasdff_6_0.v
read -f verilog ../src/spasdff_9_0.v
read -f verilog ../src/spasdff_10_0.v
read -f verilog ../src/spasdff_12_0.v
read -f verilog ../src/spasdff_24_0.v
read -f verilog ../src/spasdff_32_0.v
read -f verilog ../src/spasdffen_1_0.v
read -f verilog ../src/spasdffen_9_0.v
read -f verilog ../src/spasdffen_10_0.v
read -f verilog ../src/spasdffen_10_0_h.v
read -f verilog ../src/spasdffen_32_0.v
read -f verilog ../src/spasdffen_64_h.v
read -f verilog ../src/sp_5_32_decode.v
read -f edif ../../su/syn/sudp.edf
/* vu */
read -f verilog ../../vu/src/vu.v
read -f verilog ../../vu/src/vusl.v
read -f verilog ../../vu/src/vmult.v
read -f verilog ../../vu/src/vuctl.v
read -f verilog ../../vu/src/vuctlsl.v
read -f verilog ../../vu/src/rnumdec.v
read -f verilog ../../vu/src/div.v
read -f verilog ../../vu/src/fake_div_rom.v
read -f verilog ../../vu/src/divctl.v
read -f verilog ../src/regfile_decode.v
read -f verilog ../src/rsp_lden32_f.v
read -f verilog ../src/rsp_lden32_t.v
read -f edif ../../vu/syn/vudp.edf
/* ls */
read -f verilog ../../ls/src/ls.v
read -f verilog ../../ls/src/ls_ex_rot_values.v
read -f verilog ../../ls/src/lsctl.v
read -f verilog ../../ls/src/lsdma.v
read -f verilog ../../ls/src/lsdp.v
/* dm */
read -f verilog ../../dm/src/dmemx2.v
/* sb */
read -f verilog ../../sb/src/rspbusses.v
read -f verilog ../../sb/src/ram_bist_imem.v
/* io */
read -f verilog ../../io/src/io_cmd_dma.v
read -f verilog ../../io/src/io_mem_dma.v
/* lib/verilog/user */
read -f verilog asdff.v
read -f verilog asdffen.v
read -f verilog cbus_driver.v
read -f verilog dbus_driver.v
read -f verilog cp0_driver.v
current_design = rsp
link
sub_modules = {su, rspbusses, vusl, div, ls, dmemx2, io_cmd_dma, io_mem_dma}
set_dont_touch sub_modules
report_reference
ungroup -all -flatten
/* combine sudp, suctl, and imem */
group {su, imem} \
-design_name iu -cell_name iu
/* combine ls and dmemx2 */
current_design = rsp
group {ls, dmemx2} -design_name data_unit -cell_name data_unit
check_design > rsp_partition.lint
report_reference
/* enforce naming restrictions for Compass tools */
change_names -rules compass_rules -hierarchy
/* Write out partitioned edif netlists for synth & layout */
write -f edif -o rsp.edf_p rsp
write -f edif -o data_unit.edf_p data_unit
write -f edif -o iu.edf_p iu
quit