Loading a VHDL Entity for Verification

After you start ModelSim from MATLAB with a call to vsim, load an instance of a VHDL entity for verification with the ModelSim command vsimmatlab. At this point, it is assumed that you have coded and compiled your VHDL model as explained in Coding a Link for ModelSim MATLAB Application. Issue the ModelSim command vsimmatlab for each instance of an entity in your model that you want to cosimulate. For example:

vsimmatlab work.modsimrand

This command opens a simulation workspace for modsimrand and displays a series of messages in the ModelSim command window as the simulator loads the entity's packages and architectures.


Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS