📄 xkcon.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: xkcon.tcl
# Generated on: Sat Nov 12 16:41:33 2005
# 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) "xkcon"]} {
puts "Project xkcon is not open"
set make_assignments 0
}
} else {
# Only open if not already open
if {[project_exists xkcon]} {
project_open -revision xkcon xkcon
} else {
project_new -revision xkcon xkcon
}
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 "15:07:52 OCTOBER 31, 2005"
set_global_assignment -name LAST_QUARTUS_VERSION 5.0
set_global_assignment -name VHDL_FILE xkcon.vhd
set_global_assignment -name VECTOR_WAVEFORM_FILE xkcon.vwf
set_global_assignment -name DO_MIN_ANALYSIS ON
set_global_assignment -name IGNORE_CLOCK_SETTINGS OFF
set_global_assignment -name FMAX_REQUIREMENT "8.0 MHz"
set_global_assignment -name DEVICE_FILTER_PACKAGE PLCC
set_global_assignment -name DEVICE_FILTER_PIN_COUNT 84
set_global_assignment -name DEVICE_FILTER_SPEED_GRADE 15
set_global_assignment -name FAMILY MAX7000S
set_global_assignment -name MAX7000_OPTIMIZATION_TECHNIQUE AREA
set_global_assignment -name DEVICE "EPM7128SLC84-15"
set_global_assignment -name ERROR_CHECK_FREQUENCY_DIVISOR 1
set_global_assignment -name VECTOR_INPUT_SOURCE xkcon.vwf
set_location_assignment PIN_11 -to reset
set_location_assignment PIN_28 -to a4052
set_location_assignment PIN_24 -to adflag
set_location_assignment PIN_68 -to ale
set_location_assignment PIN_29 -to b4052
set_location_assignment PIN_83 -to clk8mhz
set_location_assignment PIN_36 -to cs12887
set_location_assignment PIN_54 -to databus[0]
set_location_assignment PIN_55 -to databus[1]
set_location_assignment PIN_56 -to databus[2]
set_location_assignment PIN_57 -to databus[3]
set_location_assignment PIN_58 -to databus[4]
set_location_assignment PIN_60 -to databus[5]
set_location_assignment PIN_61 -to databus[6]
set_location_assignment PIN_63 -to databus[7]
set_location_assignment PIN_12 -to outpa[0]
set_location_assignment PIN_15 -to outpa[1]
set_location_assignment PIN_16 -to outpa[2]
set_location_assignment PIN_17 -to outpa[3]
set_location_assignment PIN_18 -to outpa[4]
set_location_assignment PIN_20 -to outpa[5]
set_location_assignment PIN_21 -to outpa[6]
set_location_assignment PIN_22 -to outpa[7]
set_location_assignment PIN_52 -to outpb[0]
set_location_assignment PIN_51 -to outpb[1]
set_location_assignment PIN_50 -to outpb[2]
set_location_assignment PIN_49 -to outpb[3]
set_location_assignment PIN_48 -to outpb[4]
set_location_assignment PIN_46 -to outpb[5]
set_location_assignment PIN_45 -to outpb[6]
set_location_assignment PIN_44 -to outpb[7]
set_location_assignment PIN_25 -to pwm_pina
set_location_assignment PIN_27 -to pwm_pinb
set_location_assignment PIN_65 -to rd
set_location_assignment PIN_67 -to wr
set_location_assignment PIN_80 -to keyin[0]
set_location_assignment PIN_8 -to keyout[1]
set_location_assignment PIN_4 -to keyin[2]
set_location_assignment PIN_5 -to keyin[3]
set_location_assignment PIN_6 -to keyout[0]
set_location_assignment PIN_9 -to keyout[2]
set_location_assignment PIN_10 -to keyout[3]
set_location_assignment PIN_81 -to keyin[1]
set_location_assignment PIN_41 -to lcdcs1
set_location_assignment PIN_40 -to lcdcs2
set_location_assignment PIN_69 -to outpc[0]
set_location_assignment PIN_70 -to outpc[1]
set_location_assignment PIN_73 -to outpc[2]
set_location_assignment PIN_74 -to outpc[4]
set_location_assignment PIN_76 -to outpc[5]
set_location_assignment PIN_77 -to outpc[6]
set_location_assignment PIN_79 -to outpc[7]
set_instance_assignment -name IO_STANDARD TTL -to keyout[2]
set_instance_assignment -name IO_STANDARD TTL -to outpc[4]
# Commit assignments
export_assignments
# Close project
if {$need_to_close_project} {
project_close
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -