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

📄 nco_sin_vho_msim.tcl

📁 用DE2板子实现的正选信号发生器,需安装quartus2软件,硬件需要DE2的开发板
💻 TCL
字号:
if {[file exist [project env]] > 0} {project close}if {[file exist "F:/sine_generate/NCO_sin.mpf"] == 0} {  project new F:/sine_generate/ NCO_sin} else	{project open NCO_sin}# 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 c:/altera/quartus60//eda/sim_lib/220pack.vhd vcom -93 -work lpm c:/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 c:/altera/quartus60//eda/sim_lib/altera_mf_components.vhd vcom -93 -work altera_mf c:/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 c:/altera/quartus60//eda/sim_lib/sgate_pack.vhd vcom -93 -work sgate c:/altera/quartus60//eda/sim_lib/sgate.vhd vcom -93 NCO_sin.vhovcom -93 NCO_sin_tb.vhdvsim NCO_sin_tbdo NCO_sin_wave.dorun 22000 ns;

⌨️ 快捷键说明

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