Simulation
XAPP979 (v1.0) February 26, 2007
www.xilinx.com
28
R
Figure 31
provides the Arbitration Lost test code. This pseudo-code can be tracked in the
simulation.
Figure 31: Arbitration Lost Test Code
write ADR_20 0x20
write CR_20 40
write CR_AA 0x01
write ADR_AA AA
write IER_AA 0x04
write RC_FIFO_PIRQ_20 0x0
write DTR_AA 0x0
write CR_AA 0x0D -- En
ab
le
s
AA
as
m
as
ter (5.9
us
)
write IPIER_20 0x01
write DTR_20 AA
write CR_20 0x0D -- En
ab
le
s
20
as
m
as
ter
w
a
it_for_intr(
3
0)
re
a
d IPI
S
R 0xD
3
-- Ar
b
itr
a
tion lo
s
t (260
us
)
write CR_20 0x01 -- Cle
a
r
s
interr
u
pt
X979_
3
1_012907