2018-12-28 22:51:28 +00:00
|
|
|
###############################################################################
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
set_io --warn-no-port PIN_4 C2
|
|
|
|
set_io --warn-no-port PIN_5 C1
|
|
|
|
set_io --warn-no-port PIN_6 D2
|
|
|
|
set_io --warn-no-port PIN_9 E1
|
|
|
|
set_io --warn-no-port PIN_10 G2
|
|
|
|
set_io --warn-no-port PIN_11 H1
|
|
|
|
set_io --warn-no-port PIN_12 J1
|
|
|
|
set_io --warn-no-port PIN_13 H2
|
|
|
|
|
|
|
|
# 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 PIN_16 D8
|
|
|
|
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_22 A7
|
|
|
|
|
|
|
|
# LED
|
|
|
|
set_io --warn-no-port LED B3
|
|
|
|
|
|
|
|
# USB
|
|
|
|
set_io --warn-no-port USBPU A3
|
|
|
|
|
|
|
|
# 16MHz clock
|
2018-12-29 19:08:26 +00:00
|
|
|
# set_io --warn-no-port CLK B2 # input
|