Memory mapping SRIX4K
16/47
Figure 15. Write_block update in Reload mode (binary format)
4.2 32-bit binary counters
The two 32-bit binary counters located at block addresses 5 and 6, respectively, are used to
count down from 2
32
(4096 million) to 0. The SRIX4K uses dedicated logic that only allows
the update of a counter if the new value is lower than the previous one. This feature allows
the application to count down by steps of 1 or more. The initial value in Counter 5 is
FFFF FFFEh and is FFFF FFFFh in Counter 6. When the value displayed is 0000 0000h,
the counter is empty and cannot be reloaded. The counter is updated by issuing the
Write_block command to block address 5 or 6, depending on which counter is to be
updated. The Write_block command writes the new 32-bit value to the counter block
address. Figure 17 shows examples of how the counters operate.
The counter programming cycles are protected by automated antitearing logic. This function
allows the counter value to be protected in case of power down within the programming
cycle. In case of power down, the counter value is not updated and the previous value
continues to be stored.
Figure 16. Binary counter (addresses 5 to 6)
ai07659
1...110 1011111 0 11
1...111 1011001 1 11
1 ... 1 1 1 1011001 1 11
Previous data stored in block
Data to be written
New data stored in block
b31 b0
Block
Address
MSb
b31
32-bit block
b16 b15b24 b23 b8 b7
LSb
b0
Description
Count down
Counter
5
6
32-bit binary counter
32-bit binary counter
ai07660b