Professional Documents
Culture Documents
Adobe Scan Nov 04, 2022
Adobe Scan Nov 04, 2022
down modes
PAB
PB Memory
and
CAB External
Interface
CB
DAB
DB Peripheral
Interface
EAB
EB
EXP
Ençoder
MUX
T registe
D
Sign ct Sign cy A40) B40 Signc t Sign ctr/ Sign ct7
Multiplier (17x 17) MUX Barrel
ALU (40) Shifter
B
Fractional MUX7 Legend
AAccumulator A
BAccumulator B
MLUX
C CB Data Bus
Adder(40) D DB Data Bus MSWLSW
E EB Data Bus COMP Select
M MAC Unit
L ZERO SAT ROUND P PB Program Bus LTRN
S Barrel Shifter
TTRegister
LTC
UALU
Fig. 5.8
Digitai D g u
Memory-Mapped Registers
tor the CPU and the on-chip
ne data memory space contains memory-mapped registers
access to them. The memory-
pherals. These repgisters are located on data page 0, simplitying
and restore the regsters for context switches
Pped access provides a convenicnt way to save
and the other registers.
dtO transfer information between the accumulators
gnal Processors
Select, and Store Unit 5.27
(CSSU)
Compare,
umulator to store into data memory. histories, and selects the larger word in the
Dota Addressing
Direct address'ng uses seven bits of the instruction to encode the lower seven bits of an
address. The seven bits are used with the data page pointer (DP) or the stack pointer
(SP) to determine the actual memory address.
Indirect addressing uses the auxiliary registers to access memory.
Memory-mapped register addressing uses the memory-mapped registers
modifying either the current DP value or the current SP value.
stack.
Stack addressing manages adding and removing items from the system
Program Memory Addressing
With
addressed on a '54x device with the program counter (PC).
Program Memory is usually access data items that have been
Some instructions, however,
absolute addressing may be used to
of the six
instructions, each at
one
One to six instructions can set of
is full with a sequential
npletion. Typically, the pipeline
stages.
connected to
On-Chip Peripherals diflerent on-chip
peripherals are
CPU, but
the '54x devices
have the same
A peripheral options
'54x devices have these on-chip
Ir
CPUs The
Software-programmable wait-state generator
Programmable bank-switchin8
5.28 Digital Signal Processin
Parallel /0 ports
DMA controller
Host-port interface (standard 8-bit, enhanced 8-bit, and 16-bit)
Serial ports (standard, TIDM. BSP, and McBSP)
General-purpose I/O pins
16-bit timer with 4-bit prescaler
Phase-lockcd loop (PLL) clock generator
General-Purpose 1/O Pins
Each 54x device has two
be used to
general-purpose 1/O pins: BIO and XE. BIO 1s an input pin that can
monitor the status of
you to signal external devices.
external devices. XF is a software-controlled output pin that allowcan
unit
unit Program address generation
welevt, and storv unit ((CSSU) Data addrens generation
Arithmetle Logle Unt (ALU)
nrithmetie with a 40-bit arithmetic logic
unit (ALU) and
The S4x performs 2s-complement
Hoolean operations
wo 40-bit accumulators
(aceumulators A and B). TheALU Can also performn
wordfrom data memory 16-bit value
inputs: 16-bit immediate value 16-bit
ThçALU usesthese 32-bit word from data memory
the register, T Two 16-bit words from data memory
in temporary
40-bit word from cither accumulator
Accumulators
ALU the multiplier/adder block. They can
A and B store the output from the
or
Accumuiators
emory
Borrel Shifter
connected to the accumulators or to data memory
The "54x barrel shifter has a 40-bit input
memory (using EB).
The
(using CB or DB), and a 40-bit output connected to the ALU or todata
to 31 bits and a right shift to 16 bits on the input data.
of O
barrel shifter can produce a left shift of 0
normalize the values in an accumulator in a single
The barrel shifter and the exponent encoder
MSBs can be either zero filled or sign
cycie.The LSBs of the output are filled with Os, and the
mode bit (SXM) in STL.
extended, depending on the state of the sign-extension
Multiplier/Adder Unit
with a 40-bit addition
The multiplier/adder unit perfoms 17X17-bit 2s-complement multiplication
instruction cycle. The multiplier/adder block consists ofseveral
elements: a multiplier, an
in a
single
adder, signed/unsigned input control logie, fractional control logic, a detector, a rounder (s
zero
complement), overflow/saturation logic,and a l6-bit temporary storage register (T). The multiplier
has two inputs: one input is selccted from T, a data-memory operand, or aecumulator A; the other
On-chip-RAM-to-off-chip-memory
memory-to-on-chip-RAM DMA
DMA transfer
requires 5
cycles while off-chip
transfer requires 5 cycles.
The DMA can perform
double-word transfers (a 32-bit transfer of two 16-bit
Host-Port Interface (HP) words)
The host port interface (HPI) is a parallel port that
Infomation is exchanged between the '54x and the host provides an interface to a host processor.
that is accessible to both the processor through "54x on-chip memory
host processor and the '54x.
Program Control
Bus Structure
The '54x device architecture is built around eight major 16-bit buses:
One program-read bus (PB) which carries the instruction code and immediate
operands
from program memory
Two data-read buses (CB, DB) and one data-write bus (EB), which interconnect to