![Infineon Technologies TC1796 User Manual Download Page 699](http://html1.mh-extra.com/html/infineon-technologies/tc1796/tc1796_user-manual_2055437699.webp)
TC1796
System Units (Vol. 1 of 2)
Direct Memory Access Controller
User’s Manual
12-35
V2.0, 2007-07
DMA, V2.0
12.1.9.1 Pattern Compare Logic
Read move data and compare match patterns are compared on a bit-wise level. The
logic as shown in
is implemented in each COMP block of
, and
. One COMP block controls either 8 bits or 16 bits of
data and makes it possible to mask each data bit for the compare operation.
In the compare logic for one bit of the COMP block, a data bit from register MEmR is
compared to the corresponding pattern bit stored in register MEmPR. If both bits are
equal and a pattern mask bit stored in another part of register MEmPR is 0, the compare
matched condition becomes active. When the pattern mask bit is set to 1, the compare
matched condition is always active (set) for the related bit. When the compare matched
conditions for each bit within a COMP block are true, the compare match output line of
the COMP block becomes active.
Figure 12-24 Pattern Compare Logic (COMP Block)
MCA05701
&
Data from
MEmPR
Register
Mask from
MEmPR
Register
Compare Logic
for 1 Bit
Compare Logics
of other Bits
Data from
MEmR
Register
=1
n
1
Mask
Compare
Match
Output
n
n
≥
1