
R
Chapter 6: Input and Output Ports
Table
Number of Ports | INPUT | OUTPUT |
|
|
|
0 to 1 | No multiplexing required | No decoding required |
|
|
|
2 to 8 | Single input multiplexer | “One hot” encode PORT_ID |
| Binary encode PORT_ID |
|
|
|
|
9 to 256 | Cascaded multiplexer tree | Binary encode PORT_ID |
| Binary encode PORT_ID | Hybrid “one hot”/binary encoded |
|
|
|
INPUT Operations
An INPUT operation transfers the data supplied on the IN_PORT input port to any one of the 16 data registers, defined by register sX, as shown in Figure
FPGA Logic
PicoBlaze Microcontroller
8
D Q |
| IN_PORT[7:0] |
| Register sX |
|
|
m
READ_STROBE ![]()
Register sY or |
| PORT_ID[7:0] |
| |
Literal kk | 8 | n | ||
|
UG129_c6_01_052004
Figure 6-1: INPUT Operation and FPGA Interface Logic
The INPUT operation asserts the associated READ_STROBE output pulse on the second cycle of the
50 | www.xilinx.com | PicoBlaze |
UG129 (v1.1.2) June 24, 2008