Chapter 2 C Language Reference
© National Instruments Corporation 2-17 AutoCode Reference
Figure 2-3. Linking Handwritten UCBs with the SystemBuild Simulator
The arguments to a UCB written only for linking with the SystemBuild
simulator (using usr01.c) are inherently different than the arguments
to a UCB written for linking with an AutoCode application (using
sa_user.c). This difference stems from several sources. For example,
UCBs written for linking with an AutoCode application might not take
advantage of some features supported in the SystemBuild simulator, such
as linearization. Linearization is not supported in AutoCode generated
code. Also, highly optimized implementation of a UCB tends to be more
ofan issue w hen linking it with AutoCode generated code. If you have
handwritten code for simulation with SystemBuild using the UCB format
in usr01.c and plan to use the same algorithm with AutoCode-generated
usr_dsp.c (Handwritten UCB using sa_user.c example)
simulation (automatic compiling and linking of usr_dsp.c into new UCB shared library)
simexe.lnx
Fleming: usr_dsp.c
Function Name: usr_dsp