EasyManuals Logo

ARM ARM1176JZF-S User Manual

Default Icon
759 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #455 background imageLoading...
Page #455 background image
Coprocessor Interface
ARM DDI 0301H Copyright © 2004-2009 ARM Limited. All rights reserved. 11-10
ID012310 Non-Confidential, Unrestricted Access
A simple priority encoder, looking at the three flags, can supply the correct multiplexor select
signals. The state of the three flags can also determine how data are moved from one buffer to
another in the queue. Table 11-4 lists how the three flags are decoded.
New data can be moved into buffer A, provided the queue is not full, even if its flag is set,
because the current contents of buffer A are moved to buffer B. When the queue is read, the flag
associated with the buffer providing the information must be cleared. This operation can be
combined with an input operation so that the buffer is overwritten at the end of the cycle during
which it provides the queue output. This can be implemented by using the read enable signal to
mask the flag of the selected stage, making it available for input. Figure 11-5 shows reading and
writing a queue.
Figure 11-5 Queue reading and writing
Four valid inputs, labeled One, Two, Three, and Four, are written into the queue, and are clocked
into buffer A as they arrive. Figure 11-5 shows how these inputs are clocked from buffer to
buffer until the first input reaches buffer C. At this point a read from the queue is required.
Because buffer C is full, it is chosen to supply the data. Because it is being read, it is free to
accept more input, and so it receives the value Two from buffer B, that in turn receives the value
Three from buffer A. Because buffer A is being emptied by writing to buffer B, it can accept the
value Four from the input.
Table 11-4 Addressing of queue buffers
Flag C Flag B Flag A S1 S0 Remarks
000XXQueue is empty
00100B = A
01001C = B
01101C = B, B = A
1001X-
1011XB = A
1101X-
1111XQueue is full. Input inhibited
One Two Three Four
One Two Three
One Two
One One One Two
Buffer A
Flag A
Buffer B
Flag B
Buffer C
Flag C
Read queue
Output
Valid input

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ARM ARM1176JZF-S and is the answer not in the manual?

ARM ARM1176JZF-S Specifications

General IconGeneral
BrandARM
ModelARM1176JZF-S
CategoryComputer Hardware
LanguageEnglish

Related product manuals