-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpins.pcf
More file actions
94 lines (86 loc) · 3.68 KB
/
pins.pcf
File metadata and controls
94 lines (86 loc) · 3.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
###############################################################################
#
# TinyFPGA BX constraint file (.pcf)
#
###############################################################################
#
# Copyright (c) 2018, Luke Valenty
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# The views and conclusions contained in the software and documentation are those
# of the authors and should not be interpreted as representing official policies,
# either expressed or implied, of the <project name> project.
#
###############################################################################
####
# TinyFPGA BX information: https://github.com/tinyfpga/TinyFPGA-BX/
####
# Left side of board
#set_io --warn-no-port PIN_1 A2
#set_io --warn-no-port PIN_2 A1
#set_io --warn-no-port PIN_3 B1 #Differntial IO 3A
#set_io --warn-no-port PIN_4 C2
#set_io --warn-no-port PIN_5 C1 #Differntial IO 3B
set_io --warn-no-port OUT2 D2 ##PIN_6 D2 >> OUT2
set_io --warn-no-port OUT3 D1 ##PIN_7 D1 >> OUT3 #Differntial IO 10A
set_io --warn-no-port OUT4 E2 ##PIN_8 E2 >> OUT4
set_io --warn-no-port OUT5 E1 ##PIN_9 E1 >> OUT5 #Differntial IO 10B
set_io --warn-no-port OUT6 G2 #PIN_10 G2 >> OUT6 #Differntial IO 26A
set_io --warn-no-port OUT1 H1 ##PIN_11 H1 >> OUT1
set_io --warn-no-port nRST J1 ##PIN_12 J1 >> nRST
set_io --warn-no-port PWM_OUT H2 ##PIN_13 H2 >> PWM_OUT #Differntial IO 26B
# Right side of board
#set_io --warn-no-port PIN_14 H9
#set_io --warn-no-port PIN_15 D9
#set_io --warn-no-port IN_16 D8 #Global Buffer GBIN2
#set_io --warn-no-port PIN_17 C9
#set_io --warn-no-port PIN_18 A9
#set_io --warn-no-port PIN_19 B8
#set_io --warn-no-port PIN_20 A8
#set_io --warn-no-port PIN_21 B7
#set_io --warn-no-port PIN_23 A7
#set_io --warn-no-port PIN_23 B6
#set_io --warn-no-port PIN_24 A6
# SPI flash interface on bottom of board
#set_io --warn-no-port SPI_SS F7
#set_io --warn-no-port SPI_SCK G7
#set_io --warn-no-port SPI_IO0 G6
#set_io --warn-no-port SPI_IO1 H7
#set_io --warn-no-port SPI_IO2 H4
#set_io --warn-no-port SPI_IO3 J8
# General purpose pins on bottom of board
#set_io --warn-no-port PIN_25 G1
#set_io --warn-no-port PIN_26 J3
#set_io --warn-no-port PIN_27 J4
#set_io --warn-no-port PIN_28 G9
#set_io --warn-no-port PIN_29 J9
#set_io --warn-no-port PIN_30 E8
#set_io --warn-no-port PIN_31 J2
# LED
set_io --warn-no-port LED B3
# USB
#set_io --warn-no-port USBP B4
#set_io --warn-no-port USBN A4
set_io --warn-no-port USBPU A3
# 16MHz clock
set_io --warn-no-port CLK B2 #input