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:
“Faultless honesty is a sine qua non of business life. Not alone the honesty according to the moral code and the Bible. When I speak of honesty I refer to the small, hidden, evasive meannesses of our natures. I speak of the honesty of ourselves to ourselves.”
—Alice Foote MacDougall (18671945)
“Our Indian said that he was a doctor, and could tell me some medicinal use for every plant I could show him ... proving himself as good as his word. According to his account, he had acquired such knowledge in his youth from a wise old Indian with whom he associated, and he lamented that the present generation of Indians had lost a great deal.”
—Henry David Thoreau (18171862)