dan_schiro

How to turn on the NU_Block_Copy optimization in Nucleus NET

Discussion created by dan_schiro on Aug 6, 2012

To use the optimized routine, in the file NET\NET_CFG.H, change the macro
NU_BLOCK_COPY to NU_Block_Copy.

 

Add the file NET\OPTIMIZATIONS\BLOCK_COPY\NBC.C to the build.
In the file NBC.C, set the appropriate bit alignment for the hardware to OS_TRUE.

 

Macro  Description
OPTIMIZE_8_BIT         Enable the optimized block copy routine for 8-
                                           bit aligned hardware.
OPTIMIZE_16_BIT       Enable  the  optimized  block  copy  routine  for
                                           16-bit aligned hardware.
OPTIMIZE_32_BIT       Enable  the  optimized  block  copy  routine  for
                                           32-bit aligned hardware.

Outcomes