at94k10al ATMEL Corporation, at94k10al Datasheet - Page 118

no-image

at94k10al

Manufacturer Part Number
at94k10al
Description
At94k05al 5k - 40k Gates Of At40k Fpga With 8-bit Microcontroller, Up To 36k Bytes Of Sram And On-chip Jtag Ice
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at94k10al-25AJC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
at94k10al-25AJC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at94k10al-25AJI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
at94k10al-25AQC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
at94k10al-25AQI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
at94k10al-25BQC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
at94k10al-25BQC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at94k10al-25BQU
Manufacturer:
Atmel
Quantity:
135
Part Number:
at94k10al-25DQC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
4.28.5
4.28.6
118
AT94KAL Series FPSLIC
16-bit Multiply-accumulate Operation
Using Fractional Numbers
Figure 4-40. 16-bit Multiplication, 32-bit Accumulated Result
Unsigned 8-bit fractional numbers use a format where numbers in the range [0, 2> are allowed.
Bits 6 - 0 represent the fraction and bit 7 represents the integer part (0 or 1), i.e. a 1.7 format.
The FMUL instruction performs the same operation as the MUL instruction, except that the result
is left-shifted 1 bit so that the high byte of the 2-byte result will have the same 1.7 format as the
operands (instead of a 2.6 format). Note that if the product is equal to or higher than 2, the result
will not be correct.
To fully understand the format of the fractional numbers, a comparison with the integer number
format is useful: Table 20 illustrates the two 8-bit unsigned numbers formats. Signed fractional
numbers, like signed integers, use the familiar two’s complement format. Numbers in the range
[-1, 1> may be represented using this format.
If the byte “1011 0010” is interpreted as an unsigned integer, it will be interpreted as 128 + 32 +
16 + 2 = 178. On the other hand, if it is interpreted as an unsigned fractional number, it will be
interpreted as 1 + 0.25 + 0.125 + 0.015625 = 1.390625. If the byte is assumed to be a signed
number, it will be interpreted as 178 - 256 = -122 (integer) or as 1.390625 - 2 = -0.609375 (frac-
tional number).
AH AL
+
+
+
+
=
(sign
(sign
CH
CH
AH * BH
ext)
ext)
(sign ext)
CMH
CMH
AL * BH
AH * BL
X
BH BL
CML
CML
AL * BL
CL
CL
( New )
( Old )
1138I–FPSLI–1/08

Related parts for at94k10al