11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.4.2.4 Address-Modifier-Type Encoding SummaryThere are three address modifier types:Linear AddressingReverse-Carry AddressingModulo AddressingBit-reverse addressing is useful for 2 k -point FFT addressing. Modulo addressing is usefulfor creating circular buffers for FIFOs (queues), delay lines, and sample buffers up to32,768 words long. The linear addressing is useful for general-purpose addressing. Thereis a reserved set <strong>of</strong> modifier values (from 32,768 to 65,534) that should not be used.Figure 4-15 gives examples <strong>of</strong> the three addressing modifiers using 8-bit registers for simplification(all AGU registers are 16 bit). The addressing mode used in the example,postincrement by <strong>of</strong>fset Nn, adds the contents <strong>of</strong> the <strong>of</strong>fset register to the contents <strong>of</strong> theaddress register after the address register is accessed. The results <strong>of</strong> the three examplesare as follows:• The linear address modifier addresses every fifth location since the <strong>of</strong>fset registercontains $5.• Using the bit-reverse address modifier causes the postincrement by <strong>of</strong>fset Nnaddressing mode to use the address register, bit reverse the four LSBs, increment by1, and bit reverse the four LSBs again.• The modulo address modifier has a lower boundary at a predetermined location, andthe modulo number plus the lower boundary establishes the upper boundary. Thisboundary creates a circular buffer so that, if the address register is pointing within theboundaries, addressing past a boundary causes a circular wraparound to the otherboundary.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!