NS32FX164AV-25 National Semiconductor, NS32FX164AV-25 Datasheet - Page 40

IC IMAGING COMM SGNL PROC PLCC68

NS32FX164AV-25

Manufacturer Part Number
NS32FX164AV-25
Description
IC IMAGING COMM SGNL PROC PLCC68
Manufacturer
National Semiconductor
Datasheet

Specifications of NS32FX164AV-25

Processor Type
Advanced Imaging/Communications Signal Processor SIAP™
Speed
50MHz
Voltage
5V
Mounting Type
Surface Mount
Package / Case
68-PLCC
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Features
-
Other names
*NS32FX164AV-25
Q1284286

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
NS32FX164AV-25
Manufacturer:
NSC
Quantity:
12 388
Part Number:
NS32FX164AV-25
Manufacturer:
Texas Instruments
Quantity:
10 000
3 0 Functional Description
3 3 DEBUGGING SUPPORT
The NS32FX164 provides features to assist in program de-
bugging
Besides the Breakpoint (BPT) instruction that can be used
to generate soft breaks the CPU also provides the instruc-
tion tracing capability
3 3 1 Instruction Tracing
Instruction tracing is a very useful feature that can be used
during debugging to single-step through selected portions of
a program Tracing is enabled by setting the T-bit in the PSR
Register When enabled the CPU generates a Trace Trap
(TRC) after the execution of each instruction
At the beginning of each instruction the T-bit is copied into
the PSR P (Trace ‘‘Pending’’) bit If the P-bit is set at the end
of an instruction then the Trace Trap is activated If any
other trap or interrupt request is made during a traced in-
struction its entire service procedure is allowed to complete
before the Trace Trap occurs Each interrupt and trap se-
quence handles the P-bit for proper tracing guaranteeing
only one Trace Trap per instruction and guaranteeing that
the Return Address pushed during a Trace Trap is always
the address of the next instruction to be traced
The beginning of the execution of a TRAP(UND) is not con-
sidered to be a beginning of an instruction and hence the
T-bit is not copied into the P-bit
Due to the fact that some instructions can clear the T- and
P-bits in the PSR in some cases a Trace Trap may not
occur at the end of the instruction This happens when one
of the privileged instructions BICPSRW or LPRW PSR is
executed
In other cases it is still possible to guarantee that a Trace
Trap occurs at the end of the instruction provided that spe-
cial care is taken before returning from the Trace Trap Serv-
ice Procedure In case a BICPSRB instruction has been ex-
ecuted the service procedure should make sure that the
T-bit in the PSR copy saved on the Interrupt Stack is set
before executing the RETT instruction to return to the pro-
gram being traced If the RETT or RETI instructions have to
be traced the Trace Trap Service Procedure should set the
P- and T-bits in the PSR copy on the Interrupt Stack that is
going to be restored in the execution of such instructions
While debugging the NS32FX164 instructions which have
interior loops (BBOR BBXOR BBAND BBFOR EXTBLT
MOVMP SBITPS TBITS) special care must be taken with
the single-step trap If an interrupt occurs during a single-
step of one of the graphics instructions the interrupt will be
serviced Upon return from the interrupt service routine the
new NS32FX164 instruction will not be re-entered due to a
single-step trap Both the NMI and INT interrupts will cause
this behavior Another single-step operation (S command in
Interrupt
UND
SLAVE SVC DVZ FLG BPT ILL
TRC
Exception
TABLE 3-2 Summary of Exception Processing
(Continued)
Before Instruction
Before Instruction
Instruction
Suspended
Suspended
Ending
40
DBG16 MONCG) will resume from where the instruction
was interrupted There are no side effects from this early
termination and the instruction will complete normally
For all other Series 32000 instructions a single-step opera-
tion will complete the entire instruction before traping back
to the debugger On the instructions mentioned above serv-
eral single-step commands may be required to complete the
instruction ONLY when interrupts are occurring
There are some methods to give the appearance of single-
stepping for these NS32FX164 instructions
1 MON16 MONCG monitors the return from single-step
2 A breakpoint following the instruction would also trap af-
Note If instruction tracing is enabled while the WAIT instructioin is execut-
3 4 DSP MODULE
The following sections give full specifications for the
32FX164 on-chip DSP Module
3 4 1 Programming Model
The DSPM programming model consists of the following el-
ements
The Internal RAM is used by the DSPM for fetching com-
mands to be executed and for reading or writing data that is
needed in the course of program execution DSPM Pro-
grams are encoded as command lists and are interpreted by
the command-list execution unit
Computations are performed by commands selected from
the set of available ones These commands employ the
DSP-oriented datapath in a pipelined manner thus maximiz-
ing the utilization of on-chip hardware resources A set of
dedicated registers is used to specify operands and options
for subsequent vector commands These dedicated regis-
ters can be loaded and stored by appropriate commands in
between initiations of vector commands Additional com-
mands are available for controlling the flow of execution of
the command list as needed for programming loops and
branches (see Section 3 4 5 7)
trap vector PC value If the PC has not changed since
the last single-step command was issued the single-step
operation is repeated It is also advisable to ensure that
one of the NS32FX164 instructions is being single-
stepped by inspecting the first byte of the address point-
ed to by the PC register If it is 0x0E then the instruction
is an NS32FX164-specific instruction
ter the instruction had completed
Internal RAM
Dedicated registers
Command-list execution unit
Interface with CPU core
Vector instruction set
ed the Trap (TRC) occurs after the next interrupt when the interrupt
service procedure has returned
Cleared before
Saving PSR
None P
None
P
P
Cleared after
Saving PSR
TUSPI
TUSP
TUS
TUS

Related parts for NS32FX164AV-25