National Instruments AutoCode NI MATRIX User Manual
Ni matrixx
Table of contents
Document Outline
- AutoCode Reference
- Support
- Important Information
- Conventions
- Contents
- Chapter 1 Introduction
- Chapter 2 C Language Reference
- Stand-Alone Simulation
- Stand-Alone Library
- System-Specific Files
- Target-Specific Utilities
- Table 2-4. Target-Specific Utility Routines
- enable( ), disable( ), and background( ) Functions
- error( ) and fatalerr( ) Functions
- fatalerr( ): Stand-Alone Utilities Detected Errors
- ERROR: Conditions Detected in the Generated Code
- Implementation_Initialize( ) Function
- Implementation_Terminate( ) Function
- External_Input ( ) Function
- External_Output ( ) Function
- UserCode Blocks
- Procedure SuperBlocks
- C Fixed-Point Arithmetic
- Fixed-Point AutoCode/C Implementation
- Generated Code with Fixed-Point Variables
- Fixed-Point Data Types
- User Types
- Overflow Protection
- Stand-Alone Files
- Macro Interface
- Function Interface
- Fixed-Point Conversion and Arithmetic Macros
- Conversion Macros
- Figure 2-6. AutoCode/C Conversion Macros for Fixed-to-Fixed Conversions
- Figure 2-7. AutoCode/C Conversion Macros for Fixed-to-Integer Conversions
- Figure 2-8. AutoCode/C Conversion Macros for Integer-to-Fixed Conversions
- Arithmetic Macros
- Figure 2-9. AutoCode/C Arithmetic Macros
- Table 2-7. Arithmetic Macros-Operand and Result Sizes
- Implementation of the Addition and Subtraction Macros
- Selecting Wordsize Extension in the Preprocessor Macro
- 32-Bit Multiplication and Division Macros
- 32-Bit Multiplication
- 32-Bit Division
- 16-Bit by 8-Bit Division
- 32-Bit by 16-Bit Division
- Fixed-Point Relational Macros
- Some Relevant Issues
- Chapter 3 Ada Language Reference
- Stand-Alone Simulation
- Supplied Templates
- Stand-Alone Library
- UserCode Blocks
- Procedure SuperBlocks
- Ada Fixed-Point Arithmetic
- How to Generate Real-Time Code
- Fixed-Point AutoCode/Ada Architecture
- Generated Code with Fixed-Point Variables
- User Types
- Overflow Protection
- Stand-Alone Files
- Compilation Example
- Fixed-Point Type Declarations
- Generic Functions
- Bit-Wise Functions
- Instantiated Functions Package
- Addition and Subtraction Functions
- Multiplication and Division Functions
- Conversion Functions
- Using System-Level Parameters to Generate Instantiations
- Using Subsystem-Level Parameters to Generate Instantiations
- Known Ada Compiler Problems
- Comparing Results to SystemBuild’s Simulator
- No-Op Conversion Function
- Chapter 4 Generating Code for Real-Time Operating Systems
- Real-Time Operating System Configuration File
- Configuration Items
- Table Syntax
- RTOS Configuration File Contents
- Processors Table
- Table 4-1. Processors Table Contents
- Scheduler Priority Table
- Table 4-2. Scheduler Priority Table Contents
- Subsystem Table
- Table 4-3. Subsystem Table Contents
- Interrupt Procedure SuperBlock Table
- Table 4-4. Interrupt Table Contents
- Background Procedure SuperBlock Table
- Table 4-5. Background Table Contents
- Startup Procedure SuperBlock Table
- Table 4-6. Startup Table Contents
- Processor IP Name Table
- Table 4-7. Processor IP Table Contents
- Version Table
- Table 4-8. Version Table Contents
- Using the Configuration File
- Real-Time Operating System Configuration File
- Chapter 5 Generated Code Architecture
- Symbolic Name Creation
- Global Storage
- Subsystems
- Standard Procedures
- Macro Procedure
- Asynchronous Procedures
- Condition Block
- BlockScript Block
- UserCode Block
- Software Constructs
- Difference Between Local and Global Variable Blocks
- Continuous Subsystem
- Multiprocessor Code Generation
- Chapter 6 Vectorized Code Generation
- Chapter 7 Code Optimization
- Chapter 8 AutoCode Sim Cdelay Scheduler
- Introduction
- Task Posting Policies
- Standard AutoCode Scheduler
- Sim Cdelay Scheduler
- State Transition Diagrams of Tasks under Sim Cdelay
- Implementing the Sim Cdelay AutoCode Scheduler
- Using the Sim Cdelay Scheduler
- Template Configuration for Enhanced Performance
- Shortcomings of the Sim Cdelay Scheduler
- Chapter 9 Global Scope Signals and Parameterless Procedures
- Appendix A Technical Support and Professional Services
- Index