📄 cmpldes2.tcl
字号:
## Tcl script file for second part of Chapter 9## Note: This script is run after the first compile completes.## Remove any designs in memory#remove_design -all## Read in the optimized design#read_file -format db [list ./db/compile.db]set current_design {compile.db:TOP}## Generate the area and constraints reports#report_areareport_constraint## Set new constraints#create_clock -name CLK -period 23 -waveform [list 0 11.5] [list CLK]## Reoptimize the design and explore the design space#compile -map_effort medium -verify -verify_effort low -boundary_optimizationset current_design {compile.db:TOP}## Generate area and constraints reports on the optimized design#report_areareport_constraint## Save the optimized design#write -format db -hierarchy -output {./db/TOP_compiled.db} [list {compile.db:TOP}]## Delete designs#remove_design [find design {*}]## ****** Optional Exercise - Instance-Specific Hierarchy ******#read_file -format db [list {./db/TOP_before_compile.db}]## set current design to TOP#set current_design TOP## set current instance to CONVERTOR_CKT TOP/U3#current_instance U3## set current instance to CONVERTOR_1 TOP/U3/U7#current_instance U7report_netset_load 2.5 A0report_netcurrent_instance .current_instance ..current_instance#quit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -