- ページ 4

コンピュータ・ハードウェア Digilent CoolRunner-IIのPDF リファレンス・マニュアルをオンラインで閲覧またはダウンロードできます。Digilent CoolRunner-II 5 ページ。 Starter board

CoolRunner-II™ Starter Board Reference Manual
5

Expansion Connectors

The CoolRunner-II board provides four 12-pin peripheral module ports. Each port provides two V
connections and eight unique CPLD signals. Each port can accommodate a single 12-pin Pmod or two 6-pin Pmods.
Digilent makes several 6-pin Pmods that can attach to these ports, including speaker boards, H-bridge boards,
sensor boards, etc. See
www.digilentinc.com
The CoolRunner-II board also provides a 40-pin expansion connector that includes three power-supply signals and
37 individual I/O signals.
6
Demonstration Design
The design pre-programmed onto the CPLD contains several functions that can be seen when the appropriate
peripheral modules are inserted into the relevant ports.
In this sample design, the switch Pmod goes in port J8, the PS/2 Pmod goes in port J7, and the seven-segment
display Pmod goes in ports J5 and J6. Of course, the design can be changed to use different ports.
The CPLD implements both a counter as well as a PS/2 keyboard decoder. The display switches between the two
based on the value of SW4. SW1, 2, and 3 are not used in the design. BTN0 is the system reset for the design.
When SW4 has the PS/2 decoder selected, the output on the display is the scan code for that letter. Here are some
scan codes, the rest can be found on the Internet.
Keyboard Key
Scan Code
F1
F2
F3
F4
7

Design Recommendations

The regulator provides Vccio of 3.3V, so set the Default I/O Standard appropriately.
Unused I/O should be set to Ground to minimize power.
Input Termination should be set to Keeper to minimize power consumption on any potentially floating
input pins.
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
for more information.
Keyboard Key
05
06
04
0C
DD
Scan Code
F5
F6
F7
F8
and GND
03
0B
83
0A
Page 4 of 4