⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 optgoals.script

📁 design compile synthesis user guide
💻 SCRIPT
字号:
/* design_analyzer script file for Chapter 8 *//* Remove any designs in memory */remove_design -all/* Read in the design with attributes set from Chapter 7 */read -format db {"./db/TOP_attributes.db"}create_schematic -size infinite -gen_database/* Create a clock object, then set a clock constraint*/create_clock -name CLK -period 25 -waveform { 0 12.5 } { CLK }/* Set a delay constraint on the output ports*/set_output_delay -clock CLK -max -rise 5 "SPEAKER_OUT"set_output_delay -clock CLK -max -fall 5 "SPEAKER_OUT"set_output_delay -clock CLK -max -rise 5 "AM_PM_DISPLAY"set_output_delay -clock CLK -max -fall 5 "AM_PM_DISPLAY"set_output_delay -clock CLK -max -rise 5 "DISP2[13]"set_output_delay -clock CLK -max -fall 5 "DISP2[13]"set_output_delay -clock CLK -max -rise 5 "DISP2[12]"set_output_delay -clock CLK -max -fall 5 "DISP2[12]"set_output_delay -clock CLK -max -rise 5 "DISP2[11]"set_output_delay -clock CLK -max -fall 5 "DISP2[11]"set_output_delay -clock CLK -max -rise 5 "DISP2[10]"set_output_delay -clock CLK -max -fall 5 "DISP2[10]"set_output_delay -clock CLK -max -rise 5 "DISP2[9]"set_output_delay -clock CLK -max -fall 5 "DISP2[9]"set_output_delay -clock CLK -max -rise 5 "DISP2[8]"set_output_delay -clock CLK -max -fall 5 "DISP2[8]"set_output_delay -clock CLK -max -rise 5 "DISP2[7]"set_output_delay -clock CLK -max -fall 5 "DISP2[7]"set_output_delay -clock CLK -max -rise 5 "DISP2[6]"set_output_delay -clock CLK -max -fall 5 "DISP2[6]"set_output_delay -clock CLK -max -rise 5 "DISP2[5]"set_output_delay -clock CLK -max -fall 5 "DISP2[5]"set_output_delay -clock CLK -max -rise 5 "DISP2[4]"set_output_delay -clock CLK -max -fall 5 "DISP2[4]"set_output_delay -clock CLK -max -rise 5 "DISP2[3]"set_output_delay -clock CLK -max -fall 5 "DISP2[3]"set_output_delay -clock CLK -max -rise 5 "DISP2[2]"set_output_delay -clock CLK -max -fall 5 "DISP2[2]"set_output_delay -clock CLK -max -rise 5 "DISP2[1]"set_output_delay -clock CLK -max -fall 5 "DISP2[1]"set_output_delay -clock CLK -max -rise 5 "DISP2[0]"set_output_delay -clock CLK -max -fall 5 "DISP2[0]"set_output_delay -clock CLK -max -rise 5 "DISP1[13]"set_output_delay -clock CLK -max -fall 5 "DISP1[13]"set_output_delay -clock CLK -max -rise 5 "DISP1[12]"set_output_delay -clock CLK -max -fall 5 "DISP1[12]"set_output_delay -clock CLK -max -rise 5 "DISP1[11]"set_output_delay -clock CLK -max -fall 5 "DISP1[11]"set_output_delay -clock CLK -max -rise 5 "DISP1[10]"set_output_delay -clock CLK -max -fall 5 "DISP1[10]"set_output_delay -clock CLK -max -rise 5 "DISP1[9]"set_output_delay -clock CLK -max -fall 5 "DISP1[9]"set_output_delay -clock CLK -max -rise 5 "DISP1[8]"set_output_delay -clock CLK -max -fall 5 "DISP1[8]"set_output_delay -clock CLK -max -rise 5 "DISP1[7]"set_output_delay -clock CLK -max -fall 5 "DISP1[7]"set_output_delay -clock CLK -max -rise 5 "DISP1[6]"set_output_delay -clock CLK -max -fall 5 "DISP1[6]"set_output_delay -clock CLK -max -rise 5 "DISP1[5]"set_output_delay -clock CLK -max -fall 5 "DISP1[5]"set_output_delay -clock CLK -max -rise 5 "DISP1[4]"set_output_delay -clock CLK -max -fall 5 "DISP1[4]"set_output_delay -clock CLK -max -rise 5 "DISP1[3]"set_output_delay -clock CLK -max -fall 5 "DISP1[3]"set_output_delay -clock CLK -max -rise 5 "DISP1[2]"set_output_delay -clock CLK -max -fall 5 "DISP1[2]"set_output_delay -clock CLK -max -rise 5 "DISP1[1]"set_output_delay -clock CLK -max -fall 5 "DISP1[1]"set_output_delay -clock CLK -max -rise 5 "DISP1[0]"set_output_delay -clock CLK -max -fall 5 "DISP1[0]"/* Run check design */check_designcheck_timingcurrent_design "TOP_attributes.db:CONVERTOR_CKT"create_schematic -size infinite -symbol_viewcreate_schematic -size infinite -hier_viewcreate_schematic -size infinite -schematic_view/* Show the pin name layer */set_layer pin_name_layer visible TRUEset_layer pin_name_layer line_width 1set_layer pin_name_layer plot_line_width 0set_layer pin_name_layer red 65535set_layer pin_name_layer green 65535set_layer pin_name_layer blue 65535current_design "TOP_attributes.db:TOP"/* Use uniquify to resolve multiple design instances*/uniquifycreate_schematic -size infinite -gen_database/* Save the design*/write -format db -hierarchy -output "./db/TOP_before_compile.db" {"TOP_attributes.db:TOP"}/* Delete designs for the optional exercises */remove_design find(design,"*")/* Read in TOP_attributes (from Chapter 7) */read -format db {"./db/TOP_attributes.db"}create_schematic -size infinite -gen_database/* Run check design to recreate the warning message about multiple *//* design instances */check_designcurrent_design "TOP_attributes.db:CONVERTOR"create_schematic -size infinite -symbol_viewcreate_schematic -size infinite -hier_view/* Map design CONVERTOR to gates*/compile -map_effort mediumcurrent_design = "TOP_attributes.db:CONVERTOR"create_schematic -size infinite -gen_databasecreate_schematic -size infinite -schematic_view -symbol_view -hier_view/* Place the dont_touch attribute on design CONVERTOR */set_dont_touch "TOP_attributes.db:CONVERTOR"current_design "TOP_attributes.db:TOP"/* Rerun check design */check_design/* Delete designs to run optional exercise on ungroup*/remove_design find(design,"*")/* Read in TOP_attributes (from Chapter 7) */read -format db {"./db/TOP_attributes.db"}create_schematic -size infinite -gen_database/* Rerun check design to recreate the warning message on multiple *//* design instances */check_designcurrent_design "TOP_attributes.db:CONVERTOR"/* Set the ungroup attribute on design CONVERTOR */set_ungroup "TOP_attributes.db:CONVERTOR"/* Rerun check design */current_design = "TOP_attributes.db:TOP"check_designquit

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -