rsp_partition.ss 3.05 KB

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