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

📄 logic_synsz.tcl

📁 这里边有EDA设计常用模块的源代码
💻 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: logic_synsz.tcl
# Generated on: Thu Sep 21 14:43:13 2006

# 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) "logic_synsz"]} {
		puts "Project logic_synsz is not open"
		set make_assignments 0
	}
} else {
	# Only open if not already open
	if {[project_exists logic_synsz]} {
		project_open -revision logic_synsz logic_synsz
	} else {
		project_new -revision logic_synsz logic_synsz
	}
	set need_to_close_project 1
}

# Make assignments
if {$make_assignments} {
	set_global_assignment -name ORIGINAL_QUARTUS_VERSION 5.0
	set_global_assignment -name PROJECT_CREATION_TIME_DATE "11:55:58  AUGUST 22, 2006"
	set_global_assignment -name LAST_QUARTUS_VERSION 5.0
	set_global_assignment -name VERILOG_FILE disp_controller.v
	set_global_assignment -name VERILOG_FILE div_freq.v
	set_global_assignment -name VERILOG_FILE key_board.v
	set_global_assignment -name VERILOG_FILE logic_synsz.v
	set_global_assignment -name VERILOG_FILE sample.v
	set_global_assignment -name VERILOG_FILE vga.v
	set_global_assignment -name IGNORE_CLOCK_SETTINGS ON
	set_global_assignment -name DEVICE_FILTER_PACKAGE "ANY QFP"
	set_global_assignment -name DEVICE_FILTER_PIN_COUNT 240
	set_global_assignment -name DEVICE_FILTER_SPEED_GRADE 8
	set_global_assignment -name FAMILY Cyclone
	set_global_assignment -name DEVICE EP1C6Q240C8
	set_global_assignment -name RESERVE_ALL_UNUSED_PINS "AS INPUT TRI-STATED"
	set_global_assignment -name RESERVE_ASDO_AFTER_CONFIGURATION "AS OUTPUT DRIVING AN UNSPECIFIED SIGNAL"
	set_global_assignment -name ERROR_CHECK_FREQUENCY_DIVISOR 1
	set_global_assignment -name ENABLE_CLOCK_LATENCY ON
	set_global_assignment -name CYCLONE_CONFIGURATION_DEVICE EPCS1
	set_global_assignment -name RESERVE_ALL_UNUSED_PINS_NO_OUTPUT_GND "AS INPUT TRI-STATED"
	set_location_assignment PIN_28 -to clock
	set_location_assignment PIN_14 -to disp_dato[0]
	set_location_assignment PIN_16 -to disp_dato[1]
	set_location_assignment PIN_18 -to disp_dato[2]
	set_location_assignment PIN_20 -to disp_dato[3]
	set_location_assignment PIN_23 -to disp_dato[4]
	set_location_assignment PIN_41 -to disp_dato[5]
	set_location_assignment PIN_43 -to disp_dato[6]
	set_location_assignment PIN_45 -to disp_dato[7]
	set_location_assignment PIN_17 -to hsync
	set_location_assignment PIN_15 -to vsync
	set_location_assignment PIN_121 -to key[0]
	set_location_assignment PIN_122 -to key[1]
	set_location_assignment PIN_123 -to key[2]
	set_location_assignment PIN_124 -to key[3]
	set_location_assignment PIN_143 -to key[4]
	set_location_assignment PIN_141 -to key[5]
	set_location_assignment PIN_158 -to key[6]
	set_location_assignment PIN_156 -to key[7]
	set_location_assignment PIN_215 -to dig[4]
	set_location_assignment PIN_216 -to dig[5]
	set_location_assignment PIN_213 -to dig[6]
	set_location_assignment PIN_214 -to dig[7]
	set_location_assignment PIN_161 -to dig[3]
	set_location_assignment PIN_162 -to dig[2]
	set_location_assignment PIN_159 -to dig[1]
	set_location_assignment PIN_160 -to dig[0]
	set_location_assignment PIN_164 -to seg[7]
	set_location_assignment PIN_163 -to seg[6]
	set_location_assignment PIN_166 -to seg[5]
	set_location_assignment PIN_165 -to seg[4]
	set_location_assignment PIN_168 -to seg[3]
	set_location_assignment PIN_167 -to seg[2]
	set_location_assignment PIN_170 -to seg[1]
	set_location_assignment PIN_169 -to seg[0]
	set_location_assignment PIN_11 -to data_in[0]
	set_location_assignment PIN_12 -to data_in[1]
	set_location_assignment PIN_8 -to data_in[2]
	set_location_assignment PIN_7 -to data_in[3]
	set_location_assignment PIN_6 -to data_in[4]
	set_location_assignment PIN_5 -to data_in[5]
	set_location_assignment PIN_3 -to data_in[6]
	set_location_assignment PIN_2 -to data_in[7]
	set_location_assignment PIN_1 -to data_in[8]
	set_location_assignment PIN_240 -to data_in[9]

	# Commit assignments
	export_assignments

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

⌨️ 快捷键说明

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