MOD5234-100IR NetBurner Inc, MOD5234-100IR Datasheet - Page 116

MOD5234 10/100 ETHERNET MODULE

MOD5234-100IR

Manufacturer Part Number
MOD5234-100IR
Description
MOD5234 10/100 ETHERNET MODULE
Manufacturer
NetBurner Inc
Type
Controllers & Processorsr

Specifications of MOD5234-100IR

Interface
I²C, SPI, UART
Voltage - Supply
2.5V
Mounting Type
Surface Mount
Package / Case
Module
Product
Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Format
-
Baud Rates
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
Q4483564
Enhanced Multiply-Accumulate Unit (EMAC)
This method minimizes rounding bias and creates as statistically correct an answer as possible.
The rounding algorithm is summarized in the following pseudocode:
if R0.L < 0x8000
The round-to-nearest-even technique is also known as convergent rounding.
4.4.1.1.2
The presence of rounding logic in the output datapath of the EMAC requires that special care be
taken during the EMAC’s save/restore process. In particular, any result rounding modes must be
disabled during the save/restore process so the exact bit-wise contents of the EMAC registers are
accessed. Consider the following memory structure containing the EMAC programming model:
struct
} macState;
The following assembly language routine shows the proper sequence for a correct EMAC state
save. This code assumes all Dn and An registers are available for use and the memory location of
the state save is defined by A7.
EMAC_state_save:
The following code performs the EMAC state restore:
4-10
— If the lsb of R0.U = 0 and R0.L =0x8000, the number is rounded down.
then Result = R0.U
else if R0.L > 0x8000
macState {
int acc0;
int acc1;
int acc2;
int acc3;
int accext01;
int accext02;
int mask;
int macsr;
move.l
clr.l
move.l
move.l
move.l
move.l
move.l
move.l
move.l
move.l
movem.l #0x00ff,(a7)
Saving and Restoring the EMAC Programming Model
macsr,d7
d0
d0,macsr
acc0,d0
acc1,d1
acc2,d2
acc3,d3
accext01,d4
accext23,d5
mask,d6
then Result = R0.U + 1
else if lsb of R0.U = 0
MCF5235 Reference Manual, Rev. 2
then Result = R0.U
else Result = R0.U + 1
; save the macsr
; zero the register to ...
; disable rounding in the macsr
; save the accumulators
; save the accumulator extensions
; save the address mask
; move the state to memory
/* R0.L = 0x8000 */
Freescale Semiconductor

Related parts for MOD5234-100IR