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

📄 setenv.script

📁 design compile synthesis user guide
💻 SCRIPT
字号:
/* design_analyzer script file for Chapter 7 *//* Read in the design (all designs in the hierarchy) *//* 	Analyze and elaborate 5 designs in the lowest hierarchy level */read -format vhdl {"./vhdl/synopsys.vhd"}analyze -format vhdl -lib WORK {./vhdl/ALARM_COUNTER.vhd, ./vhdl/ALARM_STATE_MACHINE.vhd, ./vhdl/HOURS_FILTER.vhd, ./vhdl/TIME_COUNTER.vhd, ./vhdl/TIME_STATE_MACHINE.vhd}elaborate ALARM_COUNTER -arch "BEHAVIOR" -lib WORK -updatecreate_schematic -size infinite -gen_databaseelaborate ALARM_STATE_MACHINE -arch "BEHAVIOR" -lib WORK -updatecreate_schematic -size infinite -gen_databaseelaborate HOURS_FILTER -arch "BEHAVIOR" -lib WORK -updatecreate_schematic -size infinite -gen_databaseelaborate TIME_COUNTER -arch "BEHAVIOR" -lib WORK -updatecreate_schematic -size infinite -gen_databaseelaborate TIME_STATE_MACHINE -arch "BEHAVIOR" -lib WORK -updatecreate_schematic -size infinite -gen_database/* 	Read CONVERTOR.pla in the lowest hierarchy level) */read -format pla {"./vhdl/CONVERTOR.pla"}create_schematic -size infinite -gen_database/* 	Analyze and elaborate designs in the second hierarchy level */analyze -format vhdl -lib WORK {./vhdl/ALARM_BLOCK.vhd, ./vhdl/ALARM_SM_2.vhd, ./vhdl/COMPARATOR.vhd, ./vhdl/CONVERTOR_CKT.vhd, ./vhdl/MUX.vhd, ./vhdl/TIME_BLOCK.vhd}elaborate ALARM_BLOCK -arch "BEHAVIOR" -lib WORK -updatecreate_schematic -size infinite -gen_databaseelaborate COMPARATOR -arch "BEHAVIOR" -lib WORK -updatecreate_schematic -size infinite -gen_databaseelaborate CONVERTOR_CKT -arch "BEHAVIOR" -lib WORK -updatecreate_schematic -size infinite -gen_databaseelaborate MUX -arch "behavior" -lib WORK -updatecreate_schematic -size infinite -gen_databaseelaborate TIME_BLOCK -arch "BEHAVIOR" -lib WORK -updatecreate_schematic -size infinite -gen_databaseelaborate ALARM_SM_2 -arch "BEHAVIOR" -lib WORK -updatecreate_schematic -size infinite -gen_database/* 	Analyze and elaborate the top-level design */analyze -format vhdl -lib WORK {"./vhdl/TOP.vhd"}elaborate TOP -arch "BEHAVIOR" -lib WORK -updatecreate_schematic -size infinite -gen_database/* current_design "~tutorial/vhdl/TOP.db:TOP" */create_schematic -size infinite -symbol_viewcreate_schematic -size infinite -hier_viewcreate_schematic -size infinite -schematic_viewcurrent_instance "U2"create_schematic -size infinite -symbol_view -referencecreate_schematic -size infinite -hier_view -referencecreate_schematic -size infinite -schematic_view -reference current_instance ".."/* Set design attributes*/set_drive -rise .08 "ALARM"set_drive -fall .08 "ALARM"set_drive -rise .08 "HRS"set_drive -fall .08 "HRS"set_drive -rise .08 "MINS"set_drive -fall .08 "MINS"set_drive -rise .08 "SET_TIME"set_drive -fall .08 "SET_TIME"set_drive -rise .08 "TOGGLE_SWITCH"set_drive -fall .08 "TOGGLE_SWITCH"set_drive -rise drive_of (class/B4I/Z) "CLK"set_drive -fall drive_of (class/B4I/Z) "CLK"set_drive -rise 0.06 "SET_TIME"set_drive -fall 0.06 "SET_TIME"set_load load_of (class/IVA/A) * 5 "SPEAKER_OUT"set_load 3.0 "DISP1[13]"set_load 3.0 "DISP1[12]"set_load 3.0 "DISP1[11]"set_load 3.0 "DISP1[10]"set_load 3.0 "DISP1[9]"set_load 3.0 "DISP1[8]"set_load 3.0 "DISP1[7]"set_load 3.0 "DISP1[6]"set_load 3.0 "DISP1[5]"set_load 3.0 "DISP1[4]"set_load 3.0 "DISP1[3]"set_load 3.0 "DISP1[2]"set_load 3.0 "DISP1[1]"set_load 3.0 "DISP1[0]"set_load 3.0 "DISP2[13]"set_load 3.0 "DISP2[12]"set_load 3.0 "DISP2[11]"set_load 3.0 "DISP2[10]"set_load 3.0 "DISP2[9]"set_load 3.0 "DISP2[8]"set_load 3.0 "DISP2[7]"set_load 3.0 "DISP2[6]"set_load 3.0 "DISP2[5]"set_load 3.0 "DISP2[4]"set_load 3.0 "DISP2[3]"set_load 3.0 "DISP2[2]"set_load 3.0 "DISP2[1]"set_load 3.0 "DISP2[0]"set_load 2.0 "AM_PM_DISPLAY"/* Set wire load model and operating conditions*/set_wire_load "10x10" -library "class"set_operating_conditions -library "class" "WCCOM"/* Save the design*/write -format db -hierarchy -output "./db/TOP_attributes.db" {"TOP.db:TOP"}quit

⌨️ 快捷键说明

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