Compare commits
3 Commits
c08d5e49c6
...
306061a76d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
306061a76d | ||
|
|
8874ed2e31 | ||
|
|
66b5eb6471 |
@@ -12,10 +12,10 @@
|
||||
|
||||
|
||||
### ================= USER SETTINGS =================
|
||||
set NETLIST_TOP_NAME "PWM_syn_netlist.v"; # RTL top module name
|
||||
set NETLIST_TOP_NAME "scr1_top_ahb_syn_netlist.v"; # RTL top module name
|
||||
set NETLIST_PATH "../results/results_syn"; # RTL path to the source files
|
||||
|
||||
set PAR_SDC_TOP_NAME "PWM_syn.sdc"; # SDC top file name
|
||||
set PAR_SDC_TOP_NAME "scr1_top_ahb_syn.sdc"; # SDC top file name
|
||||
set PAR_SDC_PATH "../results/results_syn"; # SDC path to the sources
|
||||
|
||||
set PAR_MMMC_FILE "../scripts/scripts_aux/XFAB180_MMMC.tcl"; # Multi-mode multi-corner file
|
||||
@@ -28,7 +28,7 @@ set PAR_INIT_LEF_FILESET "/Cadence/Libs/X_FAB/XKIT/xt018/cadence/v7_0/techLEF/v7
|
||||
set PAR_REPORTS_FOLDER "../reports/reports_PaR"; # Reports folder
|
||||
set PAR_RESULTS_FOLDER "../results/results_PaR"; # Results folder
|
||||
|
||||
set FLOORPLAN_DIMENSIONS {200 200}; # FP chip area
|
||||
set FLOORPLAN_DIMENSIONS {9000 9000}; # FP chip area
|
||||
set FLOORPLAN_MARGINS {50 50 50 50}; #FP chip margins
|
||||
### ================= END of USER SETTINGS =============
|
||||
|
||||
|
||||
@@ -9,11 +9,13 @@
|
||||
### - cd to the main folder with the scripts, src, reports etc. (BE_ASIC_DESIGN_CADENCE_SCRIPTS folder) and then cd to the ./WORK_TMP_FOLDER
|
||||
### - run synthesis with RTL Compiler by typing in the same terminal "RTL_Compiler ../scripts/scripts_syn/RUN_SYN.tcl"
|
||||
|
||||
|
||||
|
||||
### ================= USER SETTINGS =================
|
||||
set RTL_TOP_NAME "scr1_top_ahb"; # RTL top module name
|
||||
set RTL_PATH "../src/rtl"; # RTL path to the source files
|
||||
|
||||
set RTL_FILELIST_NAME "filelist.v"; # RTL path to the filelist for synthesis
|
||||
set RTL_FILELIST_NAME "filelist.v"; # RTL path to the filelist for synthesis
|
||||
|
||||
set SYN_SDC_TOP_NAME "${RTL_TOP_NAME}.sdc"; # SDC top file name
|
||||
set SYN_SDC_PATH "../src/sdc"; # SDC path to the sources
|
||||
@@ -24,6 +26,12 @@ set SYN_REPORTS_FOLDER "../reports/reports_syn"; # Reports folde
|
||||
set SYN_RESULTS_FOLDER "../results/results_syn"; # Results folder
|
||||
### ================= END of USER SETTINGS ==========
|
||||
|
||||
### ============== PROC to run synthesis ============
|
||||
### Set TRUE to enable technological mapping and results export; otherwise only elaboration is active
|
||||
#set MAPPING "FALSE";
|
||||
set MAPPING "TRUE";
|
||||
### ========== end of PROC to run synthesis =========
|
||||
|
||||
|
||||
|
||||
### ================= SYNTHESIS =================
|
||||
@@ -33,26 +41,28 @@ include ${SYN_CORNER}
|
||||
# Read in Verilog HDL filelist for synthesis
|
||||
read_hdl -sv ${RTL_PATH}/${RTL_FILELIST_NAME}
|
||||
|
||||
# Synthesize (elabirate, no mapping)
|
||||
# Synthesize (elaborate, no mapping)
|
||||
elaborate ${RTL_TOP_NAME}
|
||||
|
||||
# Rear SDC constraints
|
||||
read_sdc ${SYN_SDC_PATH}/${SYN_SDC_TOP_NAME}
|
||||
if {$MAPPING eq "TRUE"} {
|
||||
# Rear SDC constraints
|
||||
read_sdc ${SYN_SDC_PATH}/${SYN_SDC_TOP_NAME}
|
||||
|
||||
# Synthesize (technology mapped)
|
||||
synthesize -to_mapped
|
||||
synthesize -incremental
|
||||
# Synthesize (technology mapped)
|
||||
synthesize -to_mapped
|
||||
synthesize -incremental
|
||||
|
||||
# Generate area and timing reports
|
||||
report timing > ${SYN_REPORTS_FOLDER}/${RTL_TOP_NAME}_syn_timing_report.rpt
|
||||
report area > ${SYN_REPORTS_FOLDER}/${RTL_TOP_NAME}_syn_area_report.rpt
|
||||
report_timing -lint -verbose > ${SYN_REPORTS_FOLDER}/${RTL_TOP_NAME}_syn_timing_problems.rpt
|
||||
# Generate area and timing reports
|
||||
report timing > ${SYN_REPORTS_FOLDER}/${RTL_TOP_NAME}_syn_timing_report.rpt
|
||||
report area > ${SYN_REPORTS_FOLDER}/${RTL_TOP_NAME}_syn_area_report.rpt
|
||||
report_timing -lint -verbose > ${SYN_REPORTS_FOLDER}/${RTL_TOP_NAME}_syn_timing_problems.rpt
|
||||
|
||||
# Export synthesized and mapped Verilog netlist - result of the synthesis
|
||||
write_hdl -mapped > ${SYN_RESULTS_FOLDER}/${RTL_TOP_NAME}_syn_netlist.v
|
||||
# Export synthesized and mapped Verilog netlist - result of the synthesis
|
||||
write_hdl -mapped > ${SYN_RESULTS_FOLDER}/${RTL_TOP_NAME}_syn_netlist.v
|
||||
|
||||
# Export SDC file for the next PaR stages
|
||||
write_sdc > ${SYN_RESULTS_FOLDER}/${RTL_TOP_NAME}_syn.sdc
|
||||
# Export SDC file for the next PaR stages
|
||||
write_sdc > ${SYN_RESULTS_FOLDER}/${RTL_TOP_NAME}_syn.sdc
|
||||
}
|
||||
|
||||
# Open RTL Compiler GUI
|
||||
gui_show
|
||||
|
||||
Reference in New Issue
Block a user