AT94K05AL ATMEL Corporation, AT94K05AL Datasheet - Page 109

no-image

AT94K05AL

Manufacturer Part Number
AT94K05AL
Description
Fpslic Devices Combine 5K Gates of Atmel's Patented AT40K Fpga Architecture, a 20 Mips Avr 8-bit Risc Microprocessor Core, Numerous Fixed Microcontroller Peripheries And up to 36K Bytes of Program And Data SRAM.
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT94K05AL-25AJC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT94K05AL-25AJI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT94K05AL-25AQC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT94K05AL-25AQI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT94K05AL-25AQU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT94K05AL-25DQI
Manufacturer:
ATMEL
Quantity:
19 061
16-bit x 16-bit = 16-bit
Operation
Rev. 1138F–FPSLI–06/02
This operation is valid for both unsigned and signed numbers, even though only the unsigned
multiply instruction (MUL) is needed, see Figure 61. A mathematical explanation is given:
When A and B are positive numbers, or at least one of them is zero, the algorithm is clearly
correct, provided that the product C = A • B is less than 2
unsigned number, or less than 2
When both factors are negative, the two’s complement notation is used:
A = 2
C = A • B = (2
Here we are only concerned with the 16 LSBs; the last part of this sum will be discarded and
we will get the (correct) result C = |A • B|.
Figure 61. 16-bit Multiplication, 16-bit Result
When one factor is negative and one factor is positive, for example, A is negative and B is
positive:
C = A • B = (2
The MSBs will be discarded and the correct two’s complement notation result will be
C = 2
The product must be in the range 0 ≤ C ≤ 2
range -2
When doing integer multiplication in C language, this is how it is done. The algorithm can be
expanded to do 32-bit multiplication with 32-bit result.
16
16
- |A| and B = 2
- |A • B|.
15
≤ C ≤ 2
16
16
- |A|) • (2
- |A|) • |B| = (2
15
- 1 if signed numbers are used.
16
- |B|:
16
- |B|) = |A • B| + 2
AH AL
+
+
=
16
15
• |B|) - |A • B| = (2
if the product is to be used as a signed number.
AL * BH
AH * BL
X
32
16
- 2
- 1 if unsigned numbers are used, and in the
CH
BH BL
AL * BL
16
16
AT94K Series FPSLIC
• (|A| + |B|)
- |A • B|) + 2
CL
16
if the product is to be used as an
16
• (|B| - 1)
1
2
3
109

Related parts for AT94K05AL