Methods for Modeling and Code Generation for Custom Lookup Tables
Lookup tables and functions are widely used in real-time embedded automotive applications to conserve scarce processor resources. To minimize the resource utilization, these lookup tables (LUTs) commonly use custom data structures. The lookup function code is optimized to process these custom data structures. The legacy routines for these lookup functions are very efficient and have been in production for many years. These lookup functions and the corresponding data structures are typically used for calibration tables. The third-party calibration tools are specifically tailored to support these custom data structures. These tools assist the calibrators in optimizing the control algorithm performance for the targeted environment for production. Application software typically contains a mix of both automatically generated software and manually developed code. Some of the same calibration tables may be used in both auto generated and hand-code [ 1 ] [ 2 ].