| EDA Simulator Link™ DS | ![]() |
| On this page… |
|---|
Start the Synopsy VCS MX simulator directly from MATLAB or Simulink by calling the MATLAB function launchDiscovery('PropertyName','PropertyValue'...). This function starts and configures the HDL simulator for use with the EDA Simulator Link DS software. By default, the function starts the first version of the simulator executable (simv.exe) that it finds on the system path (defined by the path variable), using a temporary file that is overwritten each time the HDL simulator starts.
To start the HDL simulator from MATLAB, enter launchDiscovery at the MATLAB command prompt:
>> launchDiscovery('property', 'value', ...)You can customize the startup file and communication mode to be used between MATLAB or Simulink and the HDL simulator by specifying the call to launchDiscovery with property name/property value pairs. Refer to launchDiscovery reference documentation for specific information regarding the property name/property value pairs.
Note The launchDiscovery command requires the use of property name/property value pairs. You get an error if you try to use the function without them. |
See Example of Starting the Synopsys VCS MX Simulator from MATLAB for examples of using launchDiscovery with various property/name value pairs and other parameters.
When you specify a communication mode using launchDiscovery, the function applies the specified communication mode to all MATLAB or Simulink/HDL simulator sessions.
This example compiles and launches a single-file HDL design for cosimulation with Simulink. The code allows the use of Verilog-2000 syntax in the HDL source. This code launches the Synopsys DVE software.
>> launchDiscovery( ...
'LinkType', 'Simulink', ...
'VerilogFiles', 'myinverter.v', ...
'VlogAnFlags', '+v2k', ...
'TopLevel', 'myinverter', ...
'AccFile', 'myinverter.acc' ...
);You can run the scripts generated with a call to launchDiscovery (or scripts you've created yourself) to start the Synopsys VCS MX software and load the link libraries outside of MATLAB. See launchDiscovery for more information and an example.
![]() | Setting Up Your Environment for the EDA Simulator Link DS Software | Workflow for Using the EDA Simulator Link DS Software with MATLAB Software | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |