📄 mysin_vho_msim.tcl
字号:
if {[file exist [project env]] > 0} {project close}if {[file exist "G:/study/code/eda/mysin.mpf"] == 0} { project new G:/study/code/eda/ mysin} else {project open mysin}# Create default work directory if not presentif {[file exist work] ==0} { exec vlib work exec vmap work work} # Map lpm libraryif {[file exist lpm] ==0} { exec vlib lpm exec vmap lpm lpm} vcom -93 -work lpm d:/tools/altera/quartus60//eda/sim_lib/220pack.vhd vcom -93 -work lpm d:/tools/altera/quartus60//eda/sim_lib/220model.vhd # Map altera_mf libraryif {[file exist altera_mf] ==0} { exec vlib altera_mf exec vmap altera_mf altera_mf} vcom -93 -work altera_mf d:/tools/altera/quartus60//eda/sim_lib/altera_mf_components.vhd vcom -93 -work altera_mf d:/tools/altera/quartus60//eda/sim_lib/altera_mf.vhd # Map sgate libraryif {[file exist sgate] ==0} { exec vlib sgate exec vmap sgate sgate} vcom -93 -work sgate d:/tools/altera/quartus60//eda/sim_lib/sgate_pack.vhd vcom -93 -work sgate d:/tools/altera/quartus60//eda/sim_lib/sgate.vhd vcom -93 mysin.vhovcom -93 mysin_tb.vhdvsim mysin_tbdo mysin_wave.dorun 22000 ns;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -