Vis Sim - Code Generation

Code Generation

The "VisSim/C-Code" add-on generates ANSI C code for the model. This is most useful during development of embedded systems; when the logic of the model has been thoroughly tested, the C-code can be generated and 'flashed' to the target. The VisSim generated code is efficient and readable, making it easy to use as a development platform for embedded systems. VisSim's author served on the X3J11 ANSI C committee and wrote several C compilers, in addition to co-authoring a book on C. This deep understanding of ANSI C, and the nature of the resulting machine code when compiled, is the key to the code generator's efficiency. VisSim can target small 16-bit fixed point systems like the Texas Instruments MSP430, using only 740 bytes flash and 64 bytes of RAM for a small closed-loop Pulse-width modulation (PWM) actuated system, as well as allowing very high control sample rates over 500 kHz on larger 32-bit floating point processors like the Texas Instruments 150 MHz F28335.

Read more about this topic:  Vis Sim

Famous quotes containing the words code and/or generation:

    Wise Draco comes, deep in the midnight roll
    Of black artillery; he comes, though late;
    In code corroborating Calvin’s creed
    And cynic tyrannies of honest kings;
    He comes, nor parlies; and the Town, redeemed,
    Gives thanks devout; nor, being thankful, heeds
    The grimy slur on the Republic’s faith implied,
    Which holds that Man is naturally good,
    And—more—is Nature’s Roman, never to be
    scourged.
    Herman Melville (1819–1891)

    Progress is the injustice each generation commits with regard to its predecessors.
    E.M. Cioran (b. 1911)