Festkommaoperator-Ersetzung
Verwenden Sie das Code Replacement Tool oder die Programmierungsschnittstelle, um Codeersetzungs-Mappings für Festkomma-Operationen zu definieren, darunter Linksverschiebungs-Operationen und verschiedene Skalierungen, wie beispielsweise Binärkomma oder Net Slope.
Tools
| Code Replacement Tool | Create, modify, and validate content of code replacement libraries |
| Code Replacement Viewer | Explore content of code replacement libraries |
Funktionen
Themen
- Fixed-Point Operator Code Replacement
Define code replacement mappings for fixed-point operators.
- Binary-Point-Only Scaling Code Replacement
Define code replacement mappings for operations on fixed-point data types such that they match a binary-point-only scaling combination on operator inputs and output.
- Slope Bias Scaling Code Replacement
Define code replacement mappings for operations on fixed-point data types as matching a slope bias scaling combination on the operator inputs and output.
- Net Slope Scaling Code Replacement
Define a code replacement mapping for operations on fixed-point data types as matching net slope between operator inputs and output.
- Equal Slope and Zero Net Bias Code Replacement
Define code replacement mappings for addition and subtraction of fixed-point data types so that they match relative slope and bias values (equal slope and zero net bias) across operator inputs and output.
- Data Type Conversions (Casts) and Operator Code Replacement
Define code replacement mappings for code that the code generator produces for data type conversion (cast) operations.