Digilent Basys 2 Reference Manual
| Brand: | Digilent |
| Category: | Computer Hardware |
| Model: | Basys 2 (Reference Manual) |
| File Type: | |
| File Size: | — |
| Pages: | 12 |
Text of Digilent Basys 2 Reference Manual
1300 Henley Court
Pullman, WA 99163
509.334.6306
www.digilentinc.com
Basys 2™ FPGA Board Reference Manual
Revised April 8, 2016
This manual applies to the Basys 2 rev. C
DOC#: 502-155
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 1 of 12
Overview
The Basys 2 board is a circuit design and implementation platform that anyone can use to gain experience building
real
Digilent Basys 2 Basys2™ FPGA Board Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 2 of 12
The Basys 2 board is designed to work with the free ISE WebPack CAD software from Xilinx. WebPack can be used
to define circuits using schematics or HDLs, to simulate and synthesize circuits, and to create programming files.
WebPack can be downloaded free of charge from www.
Basys2™ FPGA Board Reference Manual Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 3 of 12
To program the Basys 2 board, set the mode jumper
to PC and attach the USB cable to the board. Start
the Adept software, and wait for the FPGA and the
Platform Flash ROM to be recognized. Use the
browse function to associate the desired .bit file
with the FPGA, and/or the d
Basys2™ FPGA Board Reference Manual Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 4 of 12
4
User I/O
Four pushbuttons and eight slide switches are provided for circuit inputs. Pushbutton inputs are normally low and
driven high only when the pushbutton is pressed. Slide switches generate constant high or low inputs depending
on position. Pushbuttons and slide swit
Basys2™ FPGA Board Reference Manual Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 5 of 12
For each of the four digits to appear bright and continuously illuminated, all four digits should be driven once every
1 to 16ms (for a refresh frequency of 1KHz to
60Hz). For example, in a 60Hz refresh scheme,
the entire display would be refreshed once every
16ms, and each
Basys2™ FPGA Board Reference Manual Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 6 of 12
5.1
Keyboard
The keyboard uses open-collector drivers so the keyboard or an
attached host device can drive the two-wire bus (if the host
device will not send data to the keyboard, then the host can use
input-only ports).
PS2-style keyboards use scan codes to communicate key
Basys2™ FPGA Board Reference Manual Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 7 of 12
The keyboard sends data to the host in 11-bit words that contain a ‘0’ start bit, followed by 8-bits of scan code (LSB
first), followed by an odd parity bit and terminated with a ‘1’ stop bit. The keyboard generates 11 clock transitions
(at around 20 - 30KHz) when th
Basys2™ FPGA Board Reference Manual Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 8 of 12
6
VGA Port
The Basys 2 board uses 10 FPGA signals to create a VGA port with 8-bit color and the two standard sync signals (HS
– Horizontal Sync, and VS – Vertical Sync). The color signals use resistor-divider circuits that work in conjunction
with the 75-ohm termination