Fixed-Point Designer
9Pages

{{requestButtons}}

Catalog excerpts

Fixed-Point Designer - 1

Fixed-Point Designer Design and simulate fixed-point systems Fixed-Point Designer™ provides data types and tools for developing fixed-point algorithms in MATLAB® code, Simulink® models, and Stateflow® charts. It automatically proposes fixed-point data types and attributes such as word length and rounding mode. You can also specify these attributes manually. You can perform accelerated bit-true simulations to observe the impact of limited range and precision. Fixed-Point Designer lets you convert floating-point algorithms to fixed point. You can create and optimize fixed-point data types that meet your numerical accuracy requirements and target-hardware constraints. You can simulate your design and analyze the results to obtain range information. Fixed-Point Designer uses this information to recommend word lengths and scalings for your fixed-point algorithm and enable you to compare fixed-point results with floating-point baselines. Fixed-Point Designer supports C, HDL, and PLC code generation. Key Features ▪ Fixed-point data type specification in MATLAB, Simulink, and Stateflow ▪ Bit-true, accelerated simulation of fixed-point algorithms ▪ Recommendations for word length and scaling data type ▪ Floating-point and fixed-point results comparison ▪ Fixed-point data type override to double or single precision ▪ Support for C, HDL, and PLC code generation

Open the catalog to page 1
Fixed-Point Designer - 2

Using Fixed-Point Designer to specify and view data types and scalings for MATLAB, Simulink, and Stateflow. Fixed-Point Specification Fixed-Point Designer enables you to specify all the fixed-point properties of your MATLAB code, Simulink models, and Stateflow charts. It provides full control of signedness, word length, and scaling. It supports application-specific word lengths from 1 bit to at least 128 bits. Binary-point scaling and arbitrary slope and bias scaling needed by sensors and actuators are also supported. You can control the details of the math, such as how to deal with...

Open the catalog to page 2
Fixed-Point Designer - 3

Simulink model demonstrating the effect of limited range and precision on a signal, as shown on the scope (top right). The parameter dialog box (top left) allows full control of block parameters, including all fixed-point attributes. Fixed-Point Designer provides a large number of functions such as math and bitwise operations, array and matrix operators, CORDIC implementations, and trigonometric functions to support fixed-point computation. The designer lets you control the fixed-point arithmetic. The fixed-point variables can either share a single set of arithmetic attributes or have their...

Open the catalog to page 3
Fixed-Point Designer - 4

Bit-True Design Workflow Fixed-Point Designer provides bit-true agreement across a workflow that uses Model-Based Design. The response of a fixed-point algorithm is bit-true for all forms of simulation and code generation, including acceleration and software-in-the-loop. Analysis and verification of a fixed-point algorithm are based on bit-true representations. Bit-true agreement maximizes the benefits of Model-Based Design, such as the ability to discover issues early in the workflow, when they are easier and less costly to fix. Comparison of output with data types using 16-bit word length...

Open the catalog to page 4
Fixed-Point Designer - 5

ftt VVw Dlfpl*? P-^Mrn iinsminn A-MK-Hl C«k M H(lp Fault-Tolerant Fuel Control System Fixed-point simulation of a fuel rate control system designed using Simulink and Stateflow. The Fixed-Point Tool lets you trade off range and precision for data in Simulink models (bottom). Floating-Point to Fixed-Point Conversion Fixed-Point Designer provides analysis tools for efficiently converting a design from floating-point to fixed-point representation. The tools let you record minimum and maximum data values and pinpoint when overflows occur during fixed-point operations. The data type override...

Open the catalog to page 5
Fixed-Point Designer - 6

H NurnericTyp«St(]|M - ^Jit^circJjLjff _typ«d: y Fife View HeJp S^nedncH: Signed MA7LAB code generation report of finite impulse-response (F!R) filter converted to fixed point. You can instrument your code for logging, collect minimum and maximum values, plot a histogram from the simulation, and get proposed data For Simulink models, you can automatically convert a floating-point design built in Simulink, Stateflow, and system toolboxes including Communications System Toolbox™ and DSP System Toolbox™ into a fixed-point design using the Fixed-Point Tool. UKrtV wed* smuBKM wuqt O * ] .3....

Open the catalog to page 6
Fixed-Point Designer - 7

Accelerated Simulation Fixed-Point Designer lets you accelerate fixed-point algorithms through MEX-file generation. It does this by providing the f iaccel function to convert your MATLAB code to a MEX-function, which can accelerate the execution speed of your fixed-point algorithms. Breatponrs Run Run and ftunand u& Advi I x| is the input signal vector -■ Create the Input Signal and y ■ fi | Zeros (size (x) ) ,tcue( 16,1. 44 Enin Normal Mode fia-CCSl lia^sl Feedback -ar eedback Code a Ccda acaeleratim prcvides optimizations far accelerating fixed-point 1 algorithms ehn/ugh MEX file...

Open the catalog to page 7
Fixed-Point Designer - 8

Static Cods Ma an ITS Report B Targal Source Files Ml lit lil' cirt Euff frped awe gen iHi&3lia.H Fixed-point MATLAB code for a F!R filter (top) and efficient C code generated using MATLAB Coder with Fixed-Point Designer (bottom). Using Fixed-Point Designer with Simulink Coder™ or Embedded Coder, you can generate pure integer C code from your fixed-point Simulink models and Stateflow charts. Accelerating the pace of engineering and science

Open the catalog to page 8
Fixed-Point Designer - 9

File Edit View Display Diagram Simulation Analysis Code Tools Help iMuti-WordCode Generation! Ceta Type CbrroreiCT FixedStcpDise rete- ll I CodF Generation Report Subsystem Report Code l-it-:-rof.; ^ii-innr Static Cade Metrics Report Code Replacements Report Generated Code [ ] Main file fxpdemo mijltiwofd.c Model incorporating wide integer and fixed-point operations (top) and generated multiword C code (bottom). Multiword code is normally triggered by using parameters or signals with data types wider than C long. The generated code is in bit-true agreement with your model, enabling your...

Open the catalog to page 9

All The MathWorks catalogs and technical brochures

  1. Stateflow

    8 Pages

  2. SimEvents

    7 Pages

  3. SimDriveline

    7 Pages

  4. SimRF

    6 Pages

  5. MATLAB Coder

    5 Pages

  6. OPC Toolbox

    5 Pages

  7. SimBiology

    6 Pages

  8. xPC Target

    5 Pages

  9. SimMechanics

    7 Pages

  10. Simscape

    7 Pages

  11. Simulink

    6 Pages

  12. MATLAB®

    6 Pages

Archived catalogs

  1. Graphics

    667 Pages

  2. Data Analysis

    220 Pages

  3. Mathematics

    316 Pages