© National Instruments Corporation v AutoCode Reference
ContentsChapter 1
Introduction
Manual Organization.....................................................................................................1-1
General Information.......................................................................................................1-2
Configuration File..........................................................................................................1-2
Language-Specific Information.....................................................................................1-2
Structure and Content of the Generated Code...............................................................1-3
Using MATRIXx Help..................................................................................................1-3
Additional Netscape Information....................................................................1-3
Related Publications......................................................................................................1-4
Chapter 2
C Language Reference
Stand-Alone Simulation.................................................................................................2-1
Compiling on Various Supported Platforms...................................................2-1
Stand-Alone Library......................................................................................................2-2
System-Specific Files......................................................................................2-2
Target-Specific Utilities.................................................................................. 2-5
enable( ), disable( ), and background( ) Functions........................... 2-6
error() and fatalerr( ) Functions .......................................................2-6
fatalerr( ): Stand-Alone Utilities Detected Errors.............................2-7
ERROR: Conditions Detected in the Generated Code......................2-8
Implementation_Initialize() Function ..............................................2-9
Implementation_Terminate() Function ............................................2-9
External_Input ( ) Function...............................................................2-10
External_Output ( ) Function............................................................2-10
UserCode Blocks...........................................................................................................2-10
Linking Handwritten UCBs with AutoCode Applications..............................2-11
Implementing Handwritten UCBs....................................................2-13
Linking Handwritten UCBs (for AutoCode) with SystemBuild.....................2-16
Variable Interface UCB...................................................................................2-18
Interface Ordering.............................................................................2-18
Inputs and Outputs............................................................................2-18
Function Prototype............................................................................2-19
Linking a Variable Interface UCB with the Simulator..................... 2-20
Procedure SuperBlocks..................................................................................................2-20
Generating Reusable Procedures.....................................................................2-20
Linking Procedures with the SystemBuild Simulator.....................................2-20