English
Language : 

NS32FV16 Datasheet, PDF (93/104 Pages) Texas Instruments – Advanced Imaging/Communication Signal Processors
Appendix B Instruction Execution Times
This section provides the necessary information to calculate
the instruction execution times for the NS32FX164
f This parameter is related to the floating-point op-
erand size
The following assumptions are made
Tf The time required to transfer 32 bits of floating
Y The entire instruction with all displacements and imme-
point value to or from the FPU
diate operands is assumed to be present in the instruc-
tion queue when needed
Ti The time required to transfer an integer value to or
from the FPU
Y Interference from instruction prefetches which is very
dependent upon the preceding instruction(s) is ignored
This assumption will tend to affect the timing estimate
in an optimistic direction
B 1 1 Equations
The following equations assume that
 Memory accesses occur at full speed
Y It is assumed that all memory operand transfers are
 Any wait states should be reflected in the calculations of
completed before the next instruction begins execution
TOPB TOPW and TOPD
In the case of an operand of access class rmw in
Note When multiple writes are performed during the execution of an in-
memory this is pessimistic as the Write transfer occurs
struction wait states occurring during intermediate write transactions
in parallel with the execution of the next instruction
may be partially hidden by the internal execution Therefore a certain
Y It is assumed that there is no overlap between the
fetch of an operand and the following sequences of mi-
crocode This is pessimistic as the fetch of Operand 1
will generally occur in parallel with the effective address
calculation of Operand 2 and the fetch of Operand 2
will occur in parallel with the execution phase of the in-
struction
Y Where possible the values of operands are taken into
consideration when they affect instruction timing and a
te range of times is given Where this is not done the
worst case is assumed
B 1 BASIC AND FLOATING-POINT INSTRUCTIONS
Execution times for basic and floating-point instructions are
given in Tables B-1 and B-2 The parameters needed for the
various calculations are defined below
le TEA The time required to calculate an operand’s Effec-
tive Address For a Register or Immediate oper-
and this includes the fetch of that operand
TEA1 TEA value for the GEN or GEN1 operand
TEA2 TEA value for the GEN2 operand
TOPB The time needed to read or write a memory byte
o TOPW The time needed to read or write a memory word
TOPD The time needed to read or write a memory dou-
ble-word
s TOPi
The time needed to read or write a memory oper-
and where the operand size is given by the opera-
tion length of the instruction It is always equiva-
lent to either TOPB TOPW or TOPD
TCY Internal processing overhead in clock cycles
L Internal processing whose duration depends on
b the operation length The number of clock cycles
is derived by multiplying this value by the number
of bytes in the operation length
NCYC Number of bus cycles performed by the CPU to
fetch or store an operand NCYC depends on the
operand size and alignment
O TPR CPU processing (in clock cycles) performed in par-
number of wait states can be inserted with no effect on the execution
time For example in the case of the MOVSi instructions each wait
state on write operations subtracts 1 clock cycle per write bus access
from the TCY of the instruction since updating the pointers occurs in
parallel with the write operation This means that wait states can be
added to write cycles without changing the execution time of the in-
struction up to a maximum of 13 wait states on writes for MOVSB and
MOVSW and 4 wait states on writes for MOVSD
TEA TEA values for the various addressing modes are
provided in the following table
TEA TABLE
Addressing
Mode
TEA
Value
Notes
IMMEDIATE
4
ABSOLUTE
EXTERNAL
11 a 2 TOPD
MEMORY RELATIVE
7 a TOPD
REGISTER
2
REGISTER RELATIVE
5
MEMORY SPACE
TOP OF STACK
4
Access Class Write
2
Access Class Read
3
Access Class RMW
SCALED INDEXED
TI1 a TI2
TI1 e TEA of the basemode except
if basemode is REGISTER then TI1 e 5
if basemode is TOP OF STACK then TI1 e 4
TI2 depends on the scale factor
if byte indexing TI1 e 5
if word indexing TI2 e 7
if double-word indexing TI2 e 8
if quad-word indexing TI2 e 10
TOPB If operand is in a register or is immediate then
TOPB e 0
allel with the FPU
else TOPB e 3
TFPU
Processing time required by the FPU to execute
the instruction This is the time from the last data
sent to the FPU until done is issued TFPU can be
found in the FPU data sheets
TOPW
TOPD
If operand is in a register or is immediate then
TOPW e 0
else TOPW e 4  NCYC b 1
If operand is in a register or is immediate then
TOPD e 0
else TOPD e 4  NCYC b 1
92