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

📄 ps2_keyboard_interface.qsf

📁 本实验实现PS/2接口与RS-232接口的数据传输
💻 QSF
📖 第 1 页 / 共 5 页
字号:
# 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
#		ps2_keyboard_interface_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 4.2
set_global_assignment -name PROJECT_CREATION_TIME_DATE "12:35:01  JUNE 05, 2005"
set_global_assignment -name LAST_QUARTUS_VERSION "5.0 SP0.21"
set_global_assignment -name VERILOG_FILE ../src/ref2/div_4.v
set_global_assignment -name VERILOG_FILE ../src/ref2/rcvr.v
set_global_assignment -name VERILOG_FILE ../src/ref2/txmit.v
set_global_assignment -name VERILOG_FILE ../src/ref2/uart.v
set_global_assignment -name VERILOG_FILE ../src/ref2/uart_if.v
set_global_assignment -name VERILOG_FILE div_256.v
set_global_assignment -name BDF_FILE ps2_keyboard.bdf
set_global_assignment -name VERILOG_FILE ../Src/ref2/ps2_keyboard.v
set_global_assignment -name VERILOG_FILE data_buf.v

# Pin & Location Assignments
# ==========================
set_location_assignment PIN_153 -to mclk
set_location_assignment PIN_131 -to reset
set_location_assignment PIN_240 -to ps2_clk
set_location_assignment PIN_1 -to ps2_data
set_location_assignment PIN_12 -to rx_ascii[0]
set_location_assignment PIN_11 -to rx_ascii[1]
set_location_assignment PIN_8 -to rx_ascii[2]
set_location_assignment PIN_7 -to rx_ascii[3]
set_location_assignment PIN_236 -to txd
set_location_assignment LAB_X10_Y10 -to "uart_if:inst3|cnt[2]"
set_location_assignment LAB_X24_Y10 -to "uart_if:inst3|cnt[1]"
set_location_assignment LAB_X27_Y10 -to "uart_if:inst3|cnt[0]"
set_location_assignment LAB_X11_Y8 -to "uart_if:inst3|data_out[7]~reg0"
set_location_assignment LAB_X24_Y8 -to "data_buf:inst4|i[3]"
set_location_assignment LAB_X24_Y8 -to "data_buf:inst4|i[2]"
set_location_assignment LAB_X11_Y8 -to "uart_if:inst3|data_out[6]~reg0"
set_location_assignment LAB_X24_Y8 -to "data_buf:inst4|i[1]"
set_location_assignment LAB_X27_Y10 -to "data_buf:inst4|i[0]"
set_location_assignment LAB_X11_Y8 -to "uart_if:inst3|data_out[5]~reg0"
set_location_assignment LAB_X11_Y8 -to "uart_if:inst3|data_out[4]~reg0"
set_location_assignment LAB_X13_Y8 -to "data_buf:inst4|data_in_buf[6]~reg0"
set_location_assignment LAB_X11_Y8 -to "uart_if:inst3|data_out[3]~reg0"
set_location_assignment LAB_X13_Y8 -to "data_buf:inst4|data_in_buf[5]~reg0"
set_location_assignment LAB_X11_Y8 -to "uart_if:inst3|data_out[2]~reg0"
set_location_assignment LAB_X13_Y8 -to "data_buf:inst4|data_in_buf[4]~reg0"
set_location_assignment LAB_X11_Y8 -to "uart_if:inst3|data_out[1]~reg0"
set_location_assignment LAB_X13_Y8 -to "data_buf:inst4|data_in_buf[3]~reg0"
set_location_assignment LAB_X11_Y8 -to "uart_if:inst3|data_out[0]~reg0"
set_location_assignment LAB_X13_Y8 -to "data_buf:inst4|data_in_buf[2]~reg0"
set_location_assignment LAB_X11_Y9 -to "uart_if:inst3|data_out_d[7]"
set_location_assignment LAB_X11_Y9 -to "uart_if:inst3|data_out_d[6]"
set_location_assignment LAB_X11_Y9 -to "uart_if:inst3|data_out_d[5]"
set_location_assignment LAB_X13_Y8 -to "data_buf:inst4|data_in_buf[1]~reg0"
set_location_assignment LAB_X11_Y9 -to "uart_if:inst3|data_out_d[4]"
set_location_assignment LAB_X11_Y9 -to "uart_if:inst3|data_out_d[3]"
set_location_assignment LAB_X13_Y8 -to "data_buf:inst4|data_in_buf[0]~reg0"
set_location_assignment LAB_X11_Y9 -to "uart_if:inst3|data_out_d[2]"
set_location_assignment LAB_X11_Y9 -to "uart_if:inst3|data_out_d[1]"
set_location_assignment LAB_X11_Y9 -to "uart_if:inst3|data_out_d[0]"
set_location_assignment LAB_X13_Y10 -to "uart_if:inst3|din[6]"
set_location_assignment LAB_X13_Y10 -to "uart_if:inst3|din[5]"
set_location_assignment LAB_X13_Y10 -to "uart_if:inst3|din[4]"
set_location_assignment LAB_X13_Y10 -to "uart_if:inst3|din[3]"
set_location_assignment LAB_X13_Y10 -to "uart_if:inst3|din[2]"
set_location_assignment LAB_X13_Y10 -to "uart_if:inst3|din[1]"
set_location_assignment LAB_X13_Y10 -to "uart_if:inst3|din[0]"
set_location_assignment LAB_X10_Y10 -to "uart_if:inst3|cnt[3]"
set_location_assignment LAB_X11_Y10 -to "uart_if:inst3|read_once"
set_location_assignment LAB_X9_Y9 -to "div_256:inst1|count[5]"
set_location_assignment LAB_X8_Y9 -to "div_256:inst1|count[4]"
set_location_assignment LAB_X10_Y9 -to "div_256:inst1|count[3]"
set_location_assignment LAB_X9_Y11 -to "div_256:inst1|count[2]"
set_location_assignment LAB_X9_Y10 -to "div_256:inst1|count[1]"
set_location_assignment LAB_X9_Y10 -to "div_256:inst1|count[0]"
set_location_assignment LAB_X9_Y10 -to "div_256:inst1|count[6]"
set_location_assignment LAB_X9_Y10 -to "div_256:inst1|clk"
set_location_assignment LAB_X15_Y8 -to "ps2_keyboard_interface:inst|bit_count[3]"
set_location_assignment LAB_X15_Y8 -to "ps2_keyboard_interface:inst|bit_count[2]"
set_location_assignment LAB_X15_Y8 -to "ps2_keyboard_interface:inst|bit_count[1]"
set_location_assignment LAB_X15_Y8 -to "ps2_keyboard_interface:inst|bit_count[0]"
set_location_assignment LAB_X16_Y7 -to "ps2_keyboard_interface:inst|q[10]"
set_location_assignment LAB_X16_Y7 -to "ps2_keyboard_interface:inst|q[9]"
set_location_assignment LAB_X20_Y8 -to "ps2_keyboard_interface:inst|q[8]"
set_location_assignment LAB_X20_Y8 -to "ps2_keyboard_interface:inst|q[7]"
set_location_assignment LAB_X20_Y8 -to "ps2_keyboard_interface:inst|q[6]"
set_location_assignment LAB_X20_Y8 -to "ps2_keyboard_interface:inst|q[5]"
set_location_assignment LAB_X21_Y10 -to "ps2_keyboard_interface:inst|q[4]"
set_location_assignment LAB_X21_Y10 -to "ps2_keyboard_interface:inst|q[3]"
set_location_assignment LAB_X13_Y10 -to "uart_if:inst3|wrn"
set_location_assignment LAB_X21_Y10 -to "ps2_keyboard_interface:inst|q[2]"
set_location_assignment LAB_X21_Y10 -to "ps2_keyboard_interface:inst|q[1]"
set_location_assignment LAB_X16_Y7 -to "ps2_keyboard_interface:inst|q[0]"
set_location_assignment LAB_X16_Y8 -to "ps2_keyboard_interface:inst|timer_60usec_count[11]"
set_location_assignment LAB_X16_Y8 -to "ps2_keyboard_interface:inst|timer_60usec_count[10]"
set_location_assignment LAB_X16_Y8 -to "ps2_keyboard_interface:inst|timer_60usec_count[9]"
set_location_assignment LAB_X16_Y8 -to "ps2_keyboard_interface:inst|timer_60usec_count[8]"
set_location_assignment LAB_X16_Y8 -to "ps2_keyboard_interface:inst|timer_60usec_count[7]"
set_location_assignment LAB_X16_Y8 -to "ps2_keyboard_interface:inst|timer_60usec_count[6]"
set_location_assignment LAB_X16_Y9 -to "ps2_keyboard_interface:inst|timer_60usec_count[5]"
set_location_assignment LAB_X13_Y10 -to "uart_if:inst3|rdn"
set_location_assignment LAB_X16_Y9 -to "ps2_keyboard_interface:inst|timer_60usec_count[4]"
set_location_assignment LAB_X16_Y9 -to "ps2_keyboard_interface:inst|timer_60usec_count[3]"
set_location_assignment LAB_X16_Y9 -to "ps2_keyboard_interface:inst|timer_60usec_count[2]"
set_location_assignment LAB_X16_Y9 -to "ps2_keyboard_interface:inst|timer_60usec_count[1]"
set_location_assignment LAB_X16_Y9 -to "ps2_keyboard_interface:inst|timer_60usec_count[0]"
set_location_assignment LAB_X13_Y10 -to "uart_if:inst3|read_en"
set_location_assignment LAB_X14_Y8 -to "ps2_keyboard_interface:inst|timer_5usec_count[7]"
set_location_assignment LAB_X14_Y8 -to "ps2_keyboard_interface:inst|timer_5usec_count[6]"
set_location_assignment LAB_X14_Y8 -to "ps2_keyboard_interface:inst|timer_5usec_count[5]"
set_location_assignment LAB_X13_Y9 -to "uart_if:inst3|rdn_d"
set_location_assignment LAB_X14_Y8 -to "ps2_keyboard_interface:inst|timer_5usec_count[4]"
set_location_assignment LAB_X13_Y9 -to "uart_if:inst3|rdn_d2"
set_location_assignment LAB_X14_Y8 -to "ps2_keyboard_interface:inst|timer_5usec_count[3]"
set_location_assignment LAB_X14_Y8 -to "ps2_keyboard_interface:inst|timer_5usec_count[2]"
set_location_assignment LAB_X14_Y8 -to "ps2_keyboard_interface:inst|timer_5usec_count[1]"
set_location_assignment LAB_X14_Y8 -to "ps2_keyboard_interface:inst|timer_5usec_count[0]"
set_location_assignment PIN_215 -to rx_ascii[7]
set_location_assignment PIN_97 -to rx_ascii[6]
set_location_assignment PIN_85 -to rx_ascii[5]
set_location_assignment PIN_86 -to rx_ascii[4]
set_location_assignment LAB_X22_Y7 -to "ps2_keyboard_interface:inst|rx_ascii[6]"
set_location_assignment PIN_195 -to rx_read
set_location_assignment LAB_X19_Y9 -to "ps2_keyboard_interface:inst|rx_ascii[5]"
set_location_assignment LAB_X22_Y8 -to "ps2_keyboard_interface:inst|rx_ascii[4]"
set_location_assignment PIN_233 -to tx_write
set_location_assignment LAB_X19_Y8 -to "ps2_keyboard_interface:inst|rx_ascii[3]"
set_location_assignment LAB_X19_Y8 -to "ps2_keyboard_interface:inst|rx_ascii[2]"
set_location_assignment LAB_X22_Y7 -to "ps2_keyboard_interface:inst|rx_ascii[1]"
set_location_assignment LAB_X21_Y7 -to "ps2_keyboard_interface:inst|rx_ascii[0]"
set_location_assignment LAB_X11_Y3 -to "uart_if:inst3|uart:U1|txmit:u2|parity~0"

⌨️ 快捷键说明

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