![NXP Semiconductors freescale KV4 Series Reference Manual Download Page 531](http://html1.mh-extra.com/html/nxp-semiconductors/freescale-kv4-series/freescale-kv4-series_reference-manual_1721789531.webp)
| (0,An,~An,1) & (0,Bn,~Bn,1) & (0,Cn,~Cn,1) & (0,Dn,~Dn,1)// product term 2
| (0,An,~An,1) & (0,Bn,~Bn,1) & (0,Cn,~Cn,1) & (0,Dn,~Dn,1)// product term 3
where each selected input term in each product term can be configured to produce a
logical 0 or 1 or pass the true or complement of the selected event input. Each product
term uses eight bits of configuration information, two bits for each of the four selected
event inputs. The actual boolean expression implemented in each channel is:
EVENTn
= (PT0_AC[0] & A | PT0_AC[1] & ~A)// product term 0
& (PT0_BC[0] & B | PTO_BC[1] & ~B)
& (PT0_CC[0] & C | PTO_CC[1] & ~C)
& (PT0_DC[0] & D | PTO_DC[1] & ~D)
| (PT1_AC[0] & A | PT1_AC[1] & ~A)// product term 1
& (PT1_BC[0] & B | PT1_BC[1] & ~B)
& (PT1_CC[0] & C | PT1_CC[1] & ~C)
& (PT1_DC[0] & D | PT1_DC[1] & ~D)
| (PT2_AC[0] & A | PT2_AC[1] & ~A)// product term 2
& (PT2_BC[0] & B | PT2_BC[1] & ~B)
& (PT2_CC[0] & C | PT2_CC[1] & ~C)
& (PT2_DC[0] & D | PT2_DC[1] & ~D)
| (PT3_AC[0] & A | PT3_AC[1] & ~A)// product term 3
& (PT3_BC[0] & B | PT3_BC[1] & ~B)
& (PT3_CC[0] & C | PT3_CC[1] & ~C)
& (PT3_DC[0] & D | PT3_DC[1] & ~D)
where the bits of the combined {BFECRT01n,BFCRT23n} registers correspond to the
PT{0-3}_{A,B,C,D}C[1:0]
terms in the equation.
Consider the settings of the combined 32-bit {BFECRT01n,BFCRT23n} registers for
several simple boolean expressions as shown in
.
Table 28-13. IEVENT_BFECRn Values for Simple Boolean
Expressions
Event Output
Expression
PT0
PT1
PT2
PT3
{BFCRT01, BFCRT23}
A & B
A & B
0
0
0
01011111_00000000_00000000_00000000
A & B & C
A & B & C
0
0
0
01010111_00000000_00000000_00000000
(A & B & C) + D
A & B & C
D
0
0
01010111_11111101_00000000_00000000
A + B + C + D
A
B
C
D
01111111_11011111_11110111_11111101
(A & ~B) + (~A & B)
A & ~B
~A & B
0
0
01101111_10011111_00000000_00000000
As can be seen in these examples, the resulting logic provides a simple yet powerful
boolean function evaluation for defining an event output.
Chapter 28 Crossbar AND/OR/INVERT (AOI) Module
KV4x Reference Manual, Rev. 2, 02/2015
Freescale Semiconductor, Inc.
Preliminary
531
Summary of Contents for freescale KV4 Series
Page 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Page 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Page 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Page 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Page 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...