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:
“Motion or change, and identity or rest, are the first and second secrets of nature: Motion and Rest. The whole code of her laws may be written on the thumbnail, or the signet of a ring.”
—Ralph Waldo Emerson (18031882)
“I do not mean to imply that the good old days were perfect. But the institutions and structurethe webof society needed reform, not demolition. To have cut the institutional and community strands without replacing them with new ones proved to be a form of abuse to one generation and to the next. For so many Americans, the tragedy was not in dreaming that life could be better; the tragedy was that the dreaming ended.”
—Richard Louv (20th century)