| EDA Simulator Link™ MQ | ![]() |
| On this page… |
|---|
Starting ADMS for Use with EDA Simulator Link MQ |
You must call vasim with all parameters manually; the configuration script available for ModelSim SE/PE is not available for ADMS.
When you call vasim, you must provide the -ms and -foreign parameters. For example,
vasim -lib ADC12_ELDO_MS -cmd
/devel/user/work/ams/adc12test.cmd TEST -ms -foreign matlabclient path/matlablibrarywhere:
-lib ADC12_ELDO_MS | is the model library |
/devel/user/work/ams/adc12test.cmd | is the command file |
TEST | is the design |
path/matlablibrary | is the path to and the name of the MATLAB shared library (see Using the EDA Simulator Link MQ Libraries) |
A similar example for the Simulink link looks like this:
vasim -lib ADC12_ELDO_MS -cmd
/devel/user/work/ams/adc12test.cmd TEST -ms -foreign simlinkserver path/simulinklibraryAll line arguments after "ms" are sent to the ModelSim process.
See your ModelSim documentation for more about the -foreign option.
When you use any of the EDA Simulator Link MQ ModelSim link commands (e.g., matlabcp, matlabtb, matlabtbeval, nomatlabtb), you must precede each command with ms in the ADMS Tcl interpreter. For example:
ms matlabtb myfirfilter 5 ns -repeat 10 ns -socket 4449
All line arguments after 'ms' are sent to the ModelSim process.
When running cosimulation sessions in Simulink, make sure that the runtime of the ADMS simulation is greater than or equal to the Simulink runtime.
ADMS is not supported on Solaris 64-bit, but is supported on Solaris 8, 9, 10 32-bits
glibc errors on glnxa64 when running a cosimulation session with ADMS
If you get the following:
*** glibc detected *** free(): invalid pointer: 0x0000000001eeb490 ***
The you must do this:
setenv MALLOC_CHECK_ 0
Which says, effectively, "Do not generate an error message, and do not kill the program".
![]() | Adding Libraries for ADMS Support | EDA Simulator Link MQ Machine Configuration Requirements | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |