Uploaded by kittunamani

import.design

advertisement
################### creating workspace ####################
############# create PD directory ###############
mkdir -p we_aug22/orca_top/pd
######### copy required #########
cp -rf /home/deepaksn/ORCA_TOP/PD/required_paths.txt
############# move inside PD directory ###############
cd we_aug22/orca_top/pd
############# inside PD directory create inputs, outputs and scripts directory ###############
mkdir inputs outputs scripts
############# move inside outputs directory and inside output create logs,works,reports folder ###############
######### logs folder --- record the logs ######### works folder --- to store library
######### reports folder --- store the report
cd outputs
mkdir logs works reports
############# move inside scripts folder and create reference_scripts folder ###############
cd ../scripts
mkdir reference_scripts
############# soft link /copy other_scripts from server to your reference scripts location ###############
ln -s /home/vlsiguru/PHYSICAL_DESIGN/TRAINER1/ICC2/ORCA_TOP/other_scripts/*.tcl ./reference_scripts/
############# inside scripts folder create import_design.tcl floorplan.tcl placement.tcl powerplan.tcl cts.tcl routing.tcl files ###############
touch import_design.tcl floorplan.tcl placement.tcl powerplan.tcl cts.tcl routing.tcl
############# move inside inputs directory and soft link the inputs .v, .upf, .scandef ###############
cd ../inputs
ln -s /home/vlsiguru/PHYSICAL_DESIGN/TRAINER1/ICC2/ORCA_TOP/ref/ORCA_TOP_design_data/*.v .
ln -s /home/vlsiguru/PHYSICAL_DESIGN/TRAINER1/ICC2/ORCA_TOP/ref/ORCA_TOP_design_data/*.upf .
ln -s /home/vlsiguru/PHYSICAL_DESIGN/TRAINER1/ICC2/ORCA_TOP/ref/ORCA_TOP_design_data/*.scandef .
######### inside input create sdc_constarints folder to store MCMM (multi corner multi mode) file ######
mkdir sdc_constraints cd sdc_constarints ln -s /home/deepaksn/ORCA_TOP/PD/inputs/sdc_constraints/* .
####################------ completion of workspace creation ------##################################
#
#
#
####################------ to invoke tool every time ------##################################
###### be in a PD folder ######
cd we_aug22/orca_top/pd
###### move to cshell currently we are in the bash shell ######
csh
###### source the tool ######
source /home/tools/synopsys/cshrc_synopsys ###### to invoke shell ######
icc2_shell -output_log_file ./outputs/logs/1_9_22.log
####################------ import_design ------##################################
#
#
#
#
############ create a library ###
## set search_path by using lappend as follows
set cells "saed32_1p9m_tech.ndm saed32_lvt.ndm saed32_sram_lp.ndm saed32_hvt.ndm saed32_rvt.ndm"
lappend search_path /home/vlsiguru/PHYSICAL_DESIGN/TRAINER1/ICC2/ORCA_TOP/ref/CLIBs /home/pallavikr/we_aug22/orca_top/pd/inputs
create_lib -ref_lib $cells ./outputs/works/orca_top.nlib
save_lib
############ to create block ###
### 1. input -- read verilog (netlist --- .v)
read_verilog ./inputs/ORCA_TOP.v
### sanity checks after reading netlist
check_netlist
### once the netlist read block is created sutomitically eith netlist name with extension is .design
### 2. input -- load upf and commit the upf for multi voltage design --- (.upf)
load_upf ./inputs/ORCA_TOP.upf
commit_upf
### sanity checks after loading upf
check_mv_design
### get voltage area gives o/p as default_va (after creation it shows default_va and risc_va)
get_voltage_areas
##
report_voltage_areas
### in multivoltage design -- isolation cells, retention cells, and level shifters #in our design -- we have only level shifters
report_power_domains
### 3. input -- scandef (.def)
read_def ./inputs/ORCA_TOP.scandef
### sanity checks after reading scandef
check_scan_chain
report_scan_chain
### 4. input -- sdc_constraints -- multi corner multi mode (mcmm file)
source ./inputs/sdc_constraints/mcmm_ORCA_TOP.tcl
### sanity checks on sdc
report_scenarios
### save the block (after every stage with particular name) ##############
save_block -as import_design_done
############ about man page #######
### to open manual (man) in gui
gui_show_man_page create_lib
### to open man page in terminal man create_lib
############################ Import design completed ###############################
#
#
######################## every time to work ###############
############## invoke shell being in pd folder in terminal cd we_aug22/orca_top/pd
csh
source /home/tools/synopsys/cshrc_synopsys icc2_shell -output_log_file ./outputs/logs/1_9_22.log
##@@@@@@@@ in icc2_shell @@@###
############# open library open_lib ./outputs/works/orca_top.nlib
## pwd
###### list blocks
list_block
###### to open block
open_block import_design_done ## (block_name)
#### to link block
link_block -force
#### to start_gui (graphical user interface)
start_gui
#################### save the block and close the block then close library
save_block
close_block
stop_gui
close_lib
### to exit from icc2 terminal
exit
Download