Signal Descriptions
5-93
18524C/0—Nov1996
AMD-K5 Processor Technical Reference Manual
The processor always negates LOCK for at least one idle clock
between sequential locked operations. For example, if a read-
modify-write is followed by another read-modify-write, there is
an unlocked idle clock (sometimes called a dead clock)
between the two sequences to allow system logic to reallocate
the bus to another bus master. During this idle clock, the pro-
cessor responds to all signals and pending interrupts.
The processor responds to AHOLD and BOFF while LOCK is
asserted, and it recognizes but does not respond to HOLD until
the clock after the last BRDY of the locked operation. The pro-
cessor recognizes all other inputs and outputs used for memory
cycles except KEN, NA, and WB/WT.
Inquire cycles can be driven while LOCK is asserted if AHOLD
is used to obtain the bus for the inquire cycle. If such an
inquire cycle occurs before the last write of the locked opera-
tion and the inquire hits a modified cache location, the write-
back is done in the middle of the locked operation between the
two locked cycles with LOCK asserted during the writeback.
System logic must recognize this case and know that the
inquire cycle is snooping and writing back a different location
than the one that is locked.
Locked operations cannot be performed on cached locations,
and an inquire cycle cannot hit a line that is involved in the
locked operation. The processor prevents this by always check-
ing its cache tags prior to a locked operation. If the location is
cached, it is written back (if necessary) and invalidated prior
to the locked operation. This policy is necessary to support reli-
able semaphores for multiple caching devices, because such
semaphores must never be cached and should only be accessed
using locked operations.
If system logic asserts AHOLD while the processor is complet-
ing a locked cycle already begun before the assertion of
AHOLD, the system must not allow accesses by other bus mas-
ters to lock the same address that the processor is locking.
If BOFF is asserted during a locked operation, only the cycle(s)
aborted before their last BRDY and the cycles not yet run are
restarted after BOFF is negated. Thus, system logic must keep
track of all cycles in the locked operation that have completed
before the assertion of BOFF and must continue the locked
operation immediately after BOFF is negated, except that if a
Summary of Contents for AMD-K5
Page 1: ...AMD K5 Processor Technical Reference Manual TM...
Page 10: ...x AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 24: ...1 4 Overview AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 54: ...2 30 Internal Architecture AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 116: ...4 26 Performance AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 356: ...6 44 System Design AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 380: ...7 24 Test and Debug AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 396: ...A 16 AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 406: ...I 10 Index AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...