📄 key_debounce.qsf
字号:
# 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.
# The default values for assignments are stored in the file
# key_debounce_assignment_defaults.qdf
# If this file doesn't exist, and for assignments not listed, see file
# assignment_defaults.qdf
# Altera recommends that you do not modify this file. This
# file is updated automatically by the Quartus II software
# and any changes you make may be lost or overwritten.
# Project-Wide Assignments
# ========================
set_global_assignment -name ORIGINAL_QUARTUS_VERSION "5.0 SP1.04"
set_global_assignment -name PROJECT_CREATION_TIME_DATE "10:34:39 AUGUST 18, 2006"
set_global_assignment -name LAST_QUARTUS_VERSION "5.0 SP1.04"
set_global_assignment -name VHDL_FILE decl7s.vhd
set_global_assignment -name VHDL_FILE int_div.vhd
set_global_assignment -name VHDL_FILE debounce.vhd
set_global_assignment -name BDF_FILE key_debounce.bdf
# Pin & Location Assignments
# ==========================
set_location_assignment PIN_28 -to clock_48M
set_location_assignment PIN_169 -to seg[0]
set_location_assignment PIN_170 -to seg[1]
set_location_assignment PIN_167 -to seg[2]
set_location_assignment PIN_168 -to seg[3]
set_location_assignment PIN_165 -to seg[4]
set_location_assignment PIN_166 -to seg[5]
set_location_assignment PIN_163 -to seg[6]
set_location_assignment PIN_164 -to seg[7]
set_location_assignment PIN_160 -to dig[0]
set_location_assignment PIN_159 -to dig[1]
set_location_assignment PIN_162 -to dig[2]
set_location_assignment PIN_161 -to dig[3]
set_location_assignment PIN_204 -to dig[4]
set_location_assignment PIN_199 -to dig[5]
set_location_assignment PIN_198 -to dig[6]
set_location_assignment PIN_205 -to dig[7]
set_location_assignment PIN_121 -to key1
set_location_assignment PIN_122 -to key2
# Analysis & Synthesis Assignments
# ================================
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 TOP_LEVEL_ENTITY key_debounce
# Fitter Assignments
# ==================
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
# Assembler Assignments
# =====================
set_global_assignment -name CYCLONE_CONFIGURATION_DEVICE EPCS1
set_global_assignment -name RESERVE_ALL_UNUSED_PINS_NO_OUTPUT_GND "AS INPUT TRI-STATED"
# -------------------
# start CLOCK(clkout)
# Timing Assignments
# ==================
set_global_assignment -name FMAX_REQUIREMENT "50.0 MHz" -section_id clkout
set_global_assignment -name DUTY_CYCLE 50 -section_id clkout
# end CLOCK(clkout)
# -----------------
# ------------------
# start CLOCK(clock)
# Timing Assignments
# ==================
set_global_assignment -name FMAX_REQUIREMENT "50.0 MHz" -section_id clock
set_global_assignment -name DUTY_CYCLE 50 -section_id clock
# end CLOCK(clock)
# ----------------
# -----------------
# start CLOCK(dout)
# Timing Assignments
# ==================
set_global_assignment -name FMAX_REQUIREMENT "50.0 MHz" -section_id dout
set_global_assignment -name DUTY_CYCLE 50 -section_id dout
# end CLOCK(dout)
# ---------------
# --------------------
# start CLOCK(key_out)
# Timing Assignments
# ==================
set_global_assignment -name FMAX_REQUIREMENT "50.0 MHz" -section_id key_out
set_global_assignment -name DUTY_CYCLE 50 -section_id key_out
# end CLOCK(key_out)
# ------------------
# -----------------
# start CLOCK(temp)
# Timing Assignments
# ==================
set_global_assignment -name FMAX_REQUIREMENT "50.0 MHz" -section_id temp
set_global_assignment -name DUTY_CYCLE 50 -section_id temp
# end CLOCK(temp)
# ---------------
# --------------------------
# start ENTITY(key_debounce)
# Timing Assignments
# ==================
set_instance_assignment -name CLOCK_SETTINGS clock -to clock_48M
set_instance_assignment -name CLOCK_SETTINGS clkout -to "int_div:inst2|ClockOut"
set_instance_assignment -name CLOCK_SETTINGS temp -to "int_div:inst2|Temp1"
set_instance_assignment -name CLOCK_SETTINGS temp -to "int_div:inst2|Temp2"
set_instance_assignment -name CLOCK_SETTINGS dout -to "debounce:inst|dout1[0]"
set_instance_assignment -name CLOCK_SETTINGS dout -to "debounce:inst|dout2[0]"
set_instance_assignment -name CLOCK_SETTINGS dout -to "debounce:inst|dout3[0]"
set_instance_assignment -name CLOCK_SETTINGS key_out -to "debounce:inst|key_out[0]~15"
# end ENTITY(key_debounce)
# ------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -