C-Model Editor Main Menu
The C-Model Editor main menu contains these commands:
Note:
The Compile & Update Project and Export ModelName Text As menu items are common to the VHDL Package Editor, and the C-Model, VHDL-AMS, SPICE, and SML model editors.
- Compile & Update Project
- For C-Models, invokes Microsoft® Visual Studio to build a Dynamic Link Library (DLL) file of your C-Model.
- For all model types, enables creation of components for the models and their addition to the current project. For packages, enables creation of the package and addition to the current project.
- Check Syntax – Invokes Microsoft® Visual Studio to check the code for syntax errors. Twin Builder‘s Message Manager pane displays the results of the syntax check.
- Export Model Text As – Save and export the code present in the editor.
- Add Model – Add a new model to a C-Model project.
- Edit Analysis Type – opens a dialog box for adding a TR (transient), AC, or DC operating-point analysis to a model within a C-Model project.
- Edit State – Add and edit C-Model internal states within a C-Model project.
- Edit Terminal – Add and edit C-Model terminal nodes within a C-Model project.
- Edit Quantity – Add and edit C-Model quantity nodes within a C-Model project.
- Edit Variable – Add and edit C-Model variable declarations within a C-Model project.
- Build Settings – Set paths to C++ files to include in the building of a C-Model project, specifying preprocessor definitions, additional dependencies, and for setting library paths different from the default path.
- File Settings – Add and remove files from a C-Model project.
- Export Project – Choose which Visual Studio compiler to use to export the current C-Model project. The sub-menu lists all supported versions. A Visual Studio icon appears next to versions currently installed.