• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > ADS > ADS FAQ > Referencing non-ADS models in Netlist files

Referencing non-ADS models in Netlist files

录入:edatop.com    点击:
So I have been struggling with this for a long while and I have tried contacting support several times and I can never get the answers that I want. For the work that I am doing I have to run an ADS simulation on a netlist I created through the command line. I am able to successfully run this simulation and view the results with built in ADS models, however when I use a different companies models for example, Modelithics amplifier models I get the simulation error: "`HMT_EUD_EGN030MK_MDLXNLT1.C_FET1' is an instance of an undefined model `C_FET8'.

Sample code for my command line:
set HPEESOF_DIR=c:\ADS\ADS2013_06
set COMPL_DIR=c:\ADS\ADS2013_06
set MDLXNLT1=c:\...\MDLX_NLT_dk_Library (*) Not needed for built in models
set SIMARCH=win32
hpeesofsim -r H:\...\output.log H:\...\netlist.log

Sample of model in my netlist file:
#uselib "MDLXNLT1" , "HMT_EUD_EGN030MK_MDLXNLT1"
"HMT_EUD_EGN030MK_MDLXNLT1":EGN030MK_1 N__5 N__6 0 TEMP=25

The environmental variables I set:
'C:\ADS\ADS2013_06\bin';
'C:\ADS\ADS2013_06\adsptolemy\lib.win32';
'C:\ADS\ADS2013_06\lib\win32';

I have attempted adding MDLXNLT1 path to my "ADSlibconfig" file and I get the same error listed above. I guess the main question is how do I properly reference a 3rd party library in a netlist file so that I can get a simulation to converge from the command line. I would appreciate any advice pointing me in the right direction as I feel like I have been banging my head against the wall with this.

JGBIII on Sep 23, 2015 4:37 PM

JGBIII on Sep 23, 2015 4:39 PM

Modelithic Libraries are different to most other Parts Libraries/PDKs available for ADS in that they include a DLL file that needs to be loaded to simulate these components. This is part of the security mechanism that Modelithics have developed to protect their library parts.

If the library is correctly enabled in ADS and the simulation is run through the ADS schematic then all the necessary configuration is done automatically and the user does not have to take any special action to simulate the components.

This is not the case when running the simulation from a preprepared netlist via the command line. The user has to manually provide correct configuration to load the DLL module.

Firstly you need to ensure you know the correct OS version and compiler version you are running. You can check this under the ADS Main window using the Tools > Configuration Explorer... utility. Find the values for the variables SIMARCH and COMPILER_VER. In your previous post it appears that SIMARCH = win32 (values of win32 and win32_64 are supported). For ADS 2013.06 the value of COMPILER_VER should be _VS2010. Check in the bin folder of the Design Kit to see the available combinations that Modelithics provide for your device.

In your script make the following changes:

Remove the line creating the MDLXNLT1 variable as this will not work. You may instead need to edit the ADSlibconfig file entry to manually expand the entry for MDLXNLT1. This line should likely read:

MDLXNLT1 c:\\MDLX_NLT_dk_Library\circuit\models\MDLXNLT1.library

Ensure the following entries are correctly listed in your start-up scrpit:

set SIMARCH=win32
set COMPILER_VER=_VS2010
set USER_MODEL_PATH=\MDLX_NLT_dk_Library\bin\%SIMARCH%%COMPILER_VER%

Now when you run the script the simulator should find the correct model and complete the simulation.

Thank you so much sdgrant this answers my question exactly! I added the MDLXNLT1 path in my ADSlibconfig file as well as added the User model path to my command line and the simulator was able to read my netlist correctly! Once again thank you so much you have saved me much headache!

申明:网友回复良莠不齐,仅供参考。如需专业帮助,请学习易迪拓培训专家讲授的ADS视频培训课程

上一篇:THS770012 PSPICE model import in ADS 2015
下一篇:S-parameters simulation

ADS培训课程推荐详情>>

  网站地图