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

📄 dp_test.tcl

📁 本程序是用VHDL语言编写的
💻 TCL
字号:
# Copyright (C) 1991-2005 Altera Corporation
# Your use of Altera Corporation's design tools, logic functions 
# and other software and tools, and its AMPP partner logic 
# functions, and any output files any of the foregoing 
# (including device programming or simulation files), and any 
# associated documentation or information are expressly subject 
# to the terms and conditions of the Altera Program License 
# Subscription Agreement, Altera MegaCore Function License 
# Agreement, or other applicable license agreement, including, 
# without limitation, that your use is for the sole purpose of 
# programming logic devices manufactured by Altera and sold by 
# Altera or its authorized distributors.  Please refer to the 
# applicable agreement for further details.

# Quartus II: Generate Tcl File for Project
# File: dp_test.tcl
# Generated on: Sat Nov 08 14:24:34 2008

# Load Quartus II Tcl Project package
package require ::quartus::project

set need_to_close_project 0
set make_assignments 1

# Check that the right project is open
if {[is_project_open]} {
	if {[string compare $quartus(project) "dp_test"]} {
		puts "Project dp_test is not open"
		set make_assignments 0
	}
} else {
	# Only open if not already open
	if {[project_exists dp_test]} {
		project_open -revision dp_test dp_test
	} else {
		project_new -revision dp_test dp_test
	}
	set need_to_close_project 1
}

# Make assignments
if {$make_assignments} {
	set_global_assignment -name FAMILY "MAX II"
	set_global_assignment -name DEVICE EPM1270T144C5
	set_global_assignment -name ORIGINAL_QUARTUS_VERSION 5.1
	set_global_assignment -name PROJECT_CREATION_TIME_DATE "17:28:04  NOVEMBER 07, 2008"
	set_global_assignment -name LAST_QUARTUS_VERSION 5.1
	set_global_assignment -name VHDL_FILE dp_test.vhd
	set_global_assignment -name LL_ORIGIN X1_Y1 -section_id dp_test
	set_global_assignment -name LL_HEIGHT 1 -section_id dp_test
	set_global_assignment -name LL_WIDTH 1 -section_id dp_test
	set_global_assignment -name LL_STATE FLOATING -section_id dp_test
	set_global_assignment -name LL_AUTO_SIZE ON -section_id dp_test
	set_global_assignment -name LL_RESERVED OFF -section_id dp_test
	set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id dp_test
	set_global_assignment -name LL_SOFT OFF -section_id dp_test
	set_global_assignment -name LL_ORIGIN X1_Y1 -section_id dp_test_Region_0
	set_global_assignment -name LL_HEIGHT 1 -section_id dp_test_Region_0
	set_global_assignment -name LL_WIDTH 1 -section_id dp_test_Region_0
	set_global_assignment -name LL_STATE FLOATING -section_id dp_test_Region_0
	set_global_assignment -name LL_AUTO_SIZE ON -section_id dp_test_Region_0
	set_global_assignment -name LL_RESERVED OFF -section_id dp_test_Region_0
	set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id dp_test_Region_0
	set_global_assignment -name LL_SOFT OFF -section_id dp_test_Region_0
	set_global_assignment -name LL_MEMBER_OF dp_test_Region_0 -section_id dp_test_Region_0
	set_global_assignment -name VECTOR_WAVEFORM_FILE dp_test.vwf
	set_location_assignment PIN_144 -to CLK
	set_location_assignment PIN_55 -to data[0]
	set_location_assignment PIN_52 -to data[1]
	set_location_assignment PIN_50 -to data[2]
	set_location_assignment PIN_48 -to data[3]
	set_location_assignment PIN_32 -to rst
	set_location_assignment PIN_71 -to mcu_nwr
	set_location_assignment PIN_57 -to mcu_nrd
	set_location_assignment PIN_69 -to mcu_ncs
	set_location_assignment PIN_5 -to data_out[3]
	set_location_assignment PIN_6 -to data_out[2]
	set_location_assignment PIN_7 -to data_out[1]
	set_location_assignment PIN_8 -to data_out[0]
	set_location_assignment PIN_58 -to Addr_Bus[0]
	set_location_assignment PIN_68 -to Addr_Bus[1]
	set_location_assignment PIN_67 -to Addr_Bus[2]
	set_location_assignment PIN_66 -to Addr_Bus[3]
	set_location_assignment PIN_2 -to clk_out
	set_location_assignment PIN_44 -to data[4]
	set_location_assignment PIN_42 -to data[5]
	set_location_assignment PIN_40 -to data[6]
	set_location_assignment PIN_38 -to data[7]
	set_location_assignment PIN_80 -to servo_poisition[0]
	set_location_assignment PIN_81 -to servo_poisition[1]
	set_location_assignment PIN_84 -to servo_poisition[2]
	set_location_assignment PIN_85 -to servo_poisition[3]
	set_location_assignment PIN_86 -to servo_poisition[4]
	set_location_assignment PIN_87 -to servo_poisition[5]
	set_location_assignment PIN_96 -to servo_poisition[6]
	set_location_assignment PIN_97 -to servo_poisition[7]
	set_location_assignment PIN_105 -to data_out[4]
	set_location_assignment PIN_106 -to data_out[5]
	set_location_assignment PIN_107 -to data_out[6]
	set_location_assignment PIN_108 -to data_out[7]

	# Commit assignments
	export_assignments

	# Close project
	if {$need_to_close_project} {
		project_close
	}
}

⌨️ 快捷键说明

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