|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
下面是sdc signoff 的template:
- #################
- ## Tool setup
- #################
- ## turning on the runtime/memory consumption
- usage -auto -elapse
- set base_name [file tail [info script]]
- ## creating a reporting directory for each build
- set buildno [get_db program_version]
- set rptdir "reports_${buildno}"
- if {![file exists ${rptdir}]} { file mkdir ${rptdir} }
- ## Log/report file setup
- if {[get_db log_file] == ""} then { set_db log_file [file join ${rptdir}
- ${base_name}.log] }
- ## if need to use more CPUs
- # set_multi_cpu_usage -local_cpu 16 -keep_license true
- ## Write out the naming rules if needed
- # set_db / .hdl_reg_naming_style %s_reg%s
- # set_db / .hdl_array_naming_style %s_%d
- ## From here, it is same as simplified init_design flow in stylus
- ## reading technology libraries
- read_libs [list \
- <path>/one.lib \
- <path>/two.lib \
- ]
- ## Reading RTL files, same as in Genus
- read_hdl <files>
- elaborate <top>
- ## you can also use file list
- # read_hdl -f <file_list>
- # elaborate <top>
- report_design_data > [file join ${rptdir} ${base_name}.report_design_data.rpt]
- report_black_box -detail > [file join ${rptdir} ${base_name}.report_black_box.rpt]
- ## when running first time, pause and see if the design elaboration is clean
- # suspend
- ## reading consgrtaints
- read_sdc [list \
- <path>/one.sdc \
- <path>/two.sdc \
- ]
- init_design
- ## Reporting SDC summary
- report_sdc > [file join ${rptdir} ${base_name}.report_sdc.verbose.rpt]
- report_sdc -status fail -verbose >> [file join ${rptdir}
- ${base_name}.report_sdc.verbose.rpt]
- report_rule_check -category CONSTRAINT_LINT -status fail -verbose > [file join
- ${rptdir} ${base_name}.sdc_lint.verbose.rpt]
- report_rule_check -category CONSTRAINT_LINT -status fail -verbose -spreadsheet [file
- join ${rptdir} ${base_name}.sdc_lint.verbose.xlsx]
- ## Dump the clock grouping information
- report_clock_group > [file join ${rptdir} ${base_name}.report_clock_groups.rpt]
- ## when running first time, pause and see if the constraints linting is clean
- # suspend
- ## Running SDC SignOFF checks
- verify_timing_intent
- ## reports SDC SignOff results
- report_rule_check -category CONSTRAINT_SIGNOFF -status fail -verbose > [file join
- ${rptdir} ${base_name}.report_timing_intent.rpt]
- report_rule_check -category CONSTRAINT_SIGNOFF -status fail -verbose -spreadsheet [file
- join ${rptdir} ${base_name}.report_timing_intent.xlsx] ; ## Microsoft xlsx output
- ## exit at the end
- exit
复制代码
|
|