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

📄 nco_ip_design_add.tcl

📁 NCO的VHDL程序
💻 TCL
字号:
set ModelName "nco_ip_design"
set mdldir [file dirname [info script]]
set importdir "$mdldir/DSPBuilder_${ModelName}_import/"

puts "Adding ${ModelName}.mdl in $mdldir to the current Quartus project"

# Add the MDL file to the Quartus Project.
set_global_assignment -name "SOURCE_FILE" "$mdldir/${ModelName}.mdl"
set_global_assignment -name "USER_LIBRARIES" "$mdldir;[get_global_assignment -name USER_LIBRARIES]"

#Add the import directory if it exists and run any Quartus add scripts.
if { [file exists $importdir] } {
	set_global_assignment -name USER_LIBRARIES "$importdir;[get_global_assignment -name USER_LIBRARIES]"
	foreach g [glob -nocomplain "$importdir/*_add.tcl"] {
		source $g
	}
}

⌨️ 快捷键说明

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