UG-498
ADuCM320 Hardware Reference Manual
Rev. C | Page 150 of 196
REGISTER SUMMARY: PLA
Table 210. PLA Register Summary
Address
Name
Description
Reset
RW
0x40005800
PLA_ELEMn
ELEMx configuration register.
0x0000
RW
0x40005880
PLA_CLK
PLA clock select.
0x0000
RW
0x40005884
PLA_IRQ0
Interrupt register for Block 0 and Block 1.
0x0000
RW
0x40005888
PLA_IRQ1
Interrupt register for Block 2 and Block 3.
0x0000
RW
0x4000588C
PLA_ADC
ADC configuration register.
0x0000
RW
0x40005890
PLA_DIN0
Data input for Block 0 and Block 1.
0x0000
RW
0x40005898
PLA_DOUT0
Data output for Block 0 and Block 1.
0x0000
R
0x4000589C
PLA_DOUT1
Data output for Block 2 and Block 3.
0x0000
R
0x400058A0
PLA_LCK
Write lock register. Can only be set once every reset.
0x0000
RW1S
REGISTER DETAILS: PLA
ELEMx Configuration Register
Address: 0x40005800 to 0x4000587C (Increments of 0x4), Reset: 0x0000, Name: PLA_ELEMn
Table 211. Bit Descriptions for PLA_ELEMn
Bits
Bit Name
Description
Reset
Access
[15:11]
RESERVED
Not used.
0x00
Reserved
[10:9]
MUX0
Even element feedback selection (in respective block).
0x0
RW
00: feedback from Element 0 (all except Element 0)/input from other
block (Element 0 only)
01: feedback from Element 2
10: feedback from Element 4
11: feedback from Element 6
[8:7]
MUX1
Odd element feedback selection (in respective block).
0x0
RW
00: feedback from Element 1
01: feedback from Element 3
10: feedback from Element 5
11: feedback from Element 7
6
MUX2
Select between corresponding bit from PLA_DINx register or even
feedback mux.
0x0
RW
0: PLA_DINx input
1: even feedback mux
5
MUX3
Select between GPIO Bus input and odd feedback input (for Element 16
to Element 31, odd feedback is always selected).
0x0
RW
0: odd feedback mux
1: GPIO input
[4:1]
TBL
Bit 4, Bit 3, Bit 2, Bit 1 configures output for {mux2_out, mux3_out} = 11,
10, 01, 00 respectively.
0x0
RW
0000: 0.
0001: NOR.
0010: B and not A.
0011: NOT A.
0100: A and not B.
0101: Not B.
0110: EXOR.
0111: NAND.
1000: AND.
1001: EXNOR.
1010: B.
1011: B or not A.
1100: A.
1101: A or not B.
1110: OR
1111: 1.