You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
2.1 KiB
Tcl
47 lines
2.1 KiB
Tcl
5 months ago
|
# Copyright (C) 2018 Intel Corporation. All rights reserved.
|
||
|
# Your use of Intel 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 Intel Program License
|
||
|
# Subscription Agreement, the Intel Quartus Prime License Agreement,
|
||
|
# the Intel FPGA IP License Agreement, or other applicable license
|
||
|
# agreement, including, without limitation, that your use is for
|
||
|
# the sole purpose of programming logic devices manufactured by
|
||
|
# Intel and sold by Intel or its authorized distributors. Please
|
||
|
# refer to the applicable agreement for further details.
|
||
|
|
||
|
# Quartus Prime Version 18.1.0 Build 625 09/12/2018 SJ Lite Edition
|
||
|
# File: C:\Users\Stark-lin\Desktop\agi_fpga\hardware\tcl\agi_fpga.tcl
|
||
|
# Generated on: Sat Jun 01 09:26:42 2024
|
||
|
|
||
|
package require ::quartus::project
|
||
|
|
||
|
set_location_assignment PIN_E15 -to sys_rst_n
|
||
|
set_location_assignment PIN_E1 -to sys_clk
|
||
|
set_location_assignment PIN_G15 -to led[0]
|
||
|
set_location_assignment PIN_F16 -to led[1]
|
||
|
set_location_assignment PIN_F15 -to led[2]
|
||
|
set_location_assignment PIN_D16 -to led[3]
|
||
|
set_location_assignment PIN_M2 -to rx
|
||
|
set_location_assignment PIN_G1 -to tx
|
||
|
set_location_assignment PIN_J1 -to beep
|
||
|
#数码管选段
|
||
|
set_location_assignment PIN_B7 -to seg_led[0]
|
||
|
set_location_assignment PIN_A8 -to seg_led[1]
|
||
|
set_location_assignment PIN_A6 -to seg_led[2]
|
||
|
set_location_assignment PIN_B5 -to seg_led[3]
|
||
|
set_location_assignment PIN_B6 -to seg_led[4]
|
||
|
set_location_assignment PIN_A7 -to seg_led[5]
|
||
|
set_location_assignment PIN_B8 -to seg_led[6]
|
||
|
set_location_assignment PIN_A5 -to seg_led[7]
|
||
|
|
||
|
#数码管片选w·
|
||
|
set_location_assignment PIN_A4 -to sel_led[0]
|
||
|
set_location_assignment PIN_B4 -to sel_led[1]
|
||
|
set_location_assignment PIN_A3 -to sel_led[2]
|
||
|
set_location_assignment PIN_B3 -to sel_led[3]
|
||
|
set_location_assignment PIN_A2 -to sel_led[4]
|
||
|
set_location_assignment PIN_B1 -to sel_led[5]
|