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

📄 led_tcl.tcl

📁 cpld系统 EWB Quartus2编译 电子综合设计试验箱程序
💻 TCL
字号:
# Copyright (C) 1991-2007 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 from 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: LED_TCL.tcl
# Generated on: Fri Apr 04 15:08:56 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) "LED"]} {
		puts "Project LED is not open"
		set make_assignments 0
	}
} else {
	# Only open if not already open
	if {[project_exists LED]} {
		project_open -revision LED LED
	} else {
		project_new -revision LED LED
	}
	set need_to_close_project 1
}

# Make assignments
if {$make_assignments} {
	set_global_assignment -name FAMILY MAX7000S
	set_global_assignment -name DEVICE "EPM7128SLC84-15"
	set_global_assignment -name ORIGINAL_QUARTUS_VERSION "7.2 SP3"
	set_global_assignment -name PROJECT_CREATION_TIME_DATE "14:35:39  APRIL 04, 2008"
	set_global_assignment -name LAST_QUARTUS_VERSION "7.2 SP3"
	set_global_assignment -name USE_GENERATED_PHYSICAL_CONSTRAINTS OFF -section_id eda_palace
	set_global_assignment -name VHDL_FILE LED.vhd
	set_global_assignment -name VECTOR_WAVEFORM_FILE LED.vwf
	set_global_assignment -name SIMULATION_MODE FUNCTIONAL
	set_global_assignment -name TCL_SCRIPT_FILE LED.tcl
	set_global_assignment -name RESERVE_ALL_UNUSED_PINS_NO_OUTPUT_GND "AS INPUT TRI-STATED"
	set_location_assignment PIN_83 -to clk
	set_location_assignment PIN_5 -to D[6]
	set_location_assignment PIN_4 -to D[7]
	set_location_assignment PIN_6 -to D[5]
	set_location_assignment PIN_8 -to D[4]
	set_location_assignment PIN_9 -to D[3]
	set_location_assignment PIN_10 -to D[2]
	set_location_assignment PIN_11 -to D[1]
	set_location_assignment PIN_12 -to D[0]

	# Commit assignments
	export_assignments

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

⌨️ 快捷键说明

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