nco_vho_msim.tcl

来自「在quartus开发环境下」· TCL 代码 · 共 34 行

TCL
34
字号
if {[file exist [project env]] > 0} {project close}if {[file exist "D:/my_eda2/NCO/NCO.mpf"] == 0} {  project new D:/my_eda2/NCO/ NCO} else	{project open NCO}# 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 e:/altera/quartus ii7.0/quartus//eda/sim_lib/220pack.vhd vcom -93 -work lpm e:/altera/quartus ii7.0/quartus//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 e:/altera/quartus ii7.0/quartus//eda/sim_lib/altera_mf_components.vhd vcom -93 -work altera_mf e:/altera/quartus ii7.0/quartus//eda/sim_lib/altera_mf.vhd # Map sgate libraryif {[file exist sgate] ==0} 	{  exec vlib sgate  exec vmap sgate sgate}      vcom -93 -work sgate e:/altera/quartus ii7.0/quartus//eda/sim_lib/sgate_pack.vhd vcom -93 -work sgate e:/altera/quartus ii7.0/quartus//eda/sim_lib/sgate.vhd vcom -93 NCO.vhovcom -93 NCO_tb.vhdvsim NCO_tbdo NCO_wave.dorun 22000 ns;

⌨️ 快捷键说明

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