Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
22 views

Vissim/C-Vissim/C - Vissim/C - Vissim/C - Vissim/C-Code Code Code Code Code

VisSim/C-Code is software that automatically translates VisSim block diagrams into optimized ANSI C code. The generated code runs up to 5 times faster than the block diagram and preserves variable names to make the code easier to read. VisSim/C-Code can also automatically generate DLLs and supports integration methods like Euler, Runge Kutta 2nd order, and Runge Kutta 4th order. The Support Library source code can be purchased separately to compile simulations on any platform.

Uploaded by

Martin Venich
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Vissim/C-Vissim/C - Vissim/C - Vissim/C - Vissim/C-Code Code Code Code Code

VisSim/C-Code is software that automatically translates VisSim block diagrams into optimized ANSI C code. The generated code runs up to 5 times faster than the block diagram and preserves variable names to make the code easier to read. VisSim/C-Code can also automatically generate DLLs and supports integration methods like Euler, Runge Kutta 2nd order, and Runge Kutta 4th order. The Support Library source code can be purchased separately to compile simulations on any platform.

Uploaded by

Martin Venich
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

VisSim/C-Code 4.

0
Automatic C Code Generation Software

VisSim/C-Code automatically translates VisSim diagrams into highly optimized, ANSI C


Highlights
code that can be compiled and run on any platform that supports an ANSI C compiler.
• Variable name retention
Optimized code: Using a technique called "constant folding," the generated code is • Matrix and vector support
optimized for speed by eliminating multiplications-by-one and additions-by-zero, as well • Parameterized types for redefinition to target
as other identity operations. In addition, the number of function calls and array refer- processor capabilities
ences are minimized to increase code efficiency. The resulting executables run up to five • Maps most operators onto C code equivalents
times faster than their block diagram counterparts, which is particularly useful for • Supports Euler, Runge Kutta 2nd order,
applications with high sampling rates. and Runge Kutta 4th order integration NEW
algorithms
Readable code: VisSim/C-Code preserves variable names from the block diagrams to
make it easier to identify signals in the generated code. In addition, comments can be • Include map files in generated code
• Automatic menu insertion NEW
inserted to indicate the hierarchical level of the diagram from which the code is gener-
ated. Finally, all C code is formatted, including line length control, to improve readability • Comments point back to diagram
and maintainability. • Line length control
Automatic DLL generation: VisSim/C-Code can automatically generate DLLs from any • Automatically creates VisSim-callable DLLs
portion of a block diagram. For complex, multi-level diagrams, using DLLs rather than — DLLs can clock faster or slower than
the corresponding blocks can significantly increase simulation speed and efficiency. simulation clock (time step)
• Targets code for embedded controllers and
Simulation object generator: VisSim/C-Code allows incorporation of one or more DSP chips
simulation instances into the simulation.
• Executables run under MS/DOS, Windows, or
proprietary system
Support Library Source Code • Browse facility
The source code for the Support Library is a separate product that can be purchased — Incorporate user-written C code
from Visual Solutions. Source code for the Support Library is required for unsupported
— Edit existing code
platforms.
— Modify header files
• 32-bit Support Library allows compiled
simulations to be run under MS/DOS,
Windows 9x/NT/2000
• Support Library source code allows compiled
control designs to be targeted for any system
(see Support Library Source Code)

Technical Specifications
Integration methods 3
Generated code ANSI C
Support Library code* Object code** or
source
Blocks not supported DDE and Optimization
blocks, display,
histogram, light, meter,
plot, stripChart
Graphical output ASCII text
* Support Library source code is a separate product.
** Object code available for Win 9x and Win NT.
VisSim model of an AC motor (above). ANSI C code
automatically generated from ACMOTOR.VSM
(right). System Requirements
• Professional VisSim 4.0
• Microsoft Visual C compiler 5.0+
• 8MB RAM
• 1MB disk space

Modeling The Future


Visual Solutions, Inc. • 487 Groton Road, Westford, MA 01886 • Tel: 978-392-0100 • Fax: 978-692-3102 • E-mail: sales@vissol.com • Web: www.vissim.com

You might also like