Updating a Project to Add a VHDL-AMS Model and Component
Once the entity description and all architecture descriptions of a model are completed, you can compile the model and add it to the Twin Builder project as a component.
You can update a project to both compile your VHDL model, and create a component as follows:
- Click VHDL Model Editor > Compile & Update Project.
- The Import Components dialog box appears, listing all of the models in the current VHDL Model project on the Models tab.
- See Importing Simulation Models for detailed information on settings you can make in this dialog box. When finished, Twin Builder compiles the VHDL-AMS model source code.
- If the compiler detects an error or issues a warning, it appears in the Message Manager window along with the line number of the statement that caused the error or warning. Press Ctrl+G to open the Go To Line dialog box to go to the line.
- If the compilation of the VHDL-AMS Model succeeds, a message appears in the Message Manager window indicating that the project update was successful.
- A component for each model is added to the Project Manager Component Definitions folder. The new models appear on the list of Project Components from which they can be placed onto a schematic for simulation.