- About
- Brief information about Pmod KYPD
- Interface Description
- Test
- Status
- Licence
Decoder for the Digilent Pmod KYPD.
The Digilent Pmod KYPD is a 4x4 keypad with pull-up resistors in row nets.
Port discriptions of the interface module can be found below.
Port | Type | Width | Description |
---|---|---|---|
clk |
I | 1 | System Clock (100 MHz) |
rst |
I | 1 | System Reset |
row |
I | 4 | Row pins |
col |
O | 4 | Column pins |
buttons |
O | 16 | Decoded buttons |
num_val |
O | 4 | Numaric key number |
I: Input O: Output
NOTE:
-
Multiple presses on same column is detected however not on same row.
-
num_val
shows higher key when multiple keys are pressed.
Mapping for buttons
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F | E | D | C | B | A | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Module kypd
tested with kypdTest.v and Basys3.xdc. Pmod KYPD connected to JC header and num_val
connected to upper JB header. Post buttons
is connected to LEDs.
Last test: 3 Fabruary 2021, on Digilent Basys 3.
CERN Open Hardware Licence Version 2 - Weakly Reciprocal