Contact an Expert

Thread: changing standard settings for  "Display Parameter


Permlink Replies: 4 - Pages: 1 - Last Post: Mar 29, 2007 1:26 AM Last Post By: RUCKB
RUCKB

Posts: 55
Registered: 06/08/09
changing standard settings for  "Display Parameter
Posted: Mar 9, 2007 3:53 AM
Click to report abuse...   Click to reply to this thread Reply
Hi,

When working with complicated schematics in ADS it helps a lot to show only the relevant parameters of all components. Im using quite many Multilayer transmissionlines, and basically never use external RLGC files. Therefore it would be nice not to display this parameter. Same for the Component name ... this is ususlly nor relevant, so I switch the display off.
Is there a way to change the standard settings for the displayed parameters of such components ?

Thanks for any hints!

Hermann
mfredrik

Posts: 357
Registered: 12/18/06
Re: changing standard settings for  "Dis
Posted: Mar 26, 2007 6:51 AM   in response to: RUCKB in response to: RUCKB
Click to report abuse...   Click to reply to this thread Reply
Hello Hermann,

Yes, it is possible to change the default values as well as which parameters that are displayed etc for the built-in components in ADS. BUT, it does involve editing the component definition in AEL. The component definition may change in the next version of ADS for any given built-in component, so there is a risk that you may have to redo your customization work for the next release of ADS.

Here is how you do it:

1) Locate the AEL definition for the component(s) that you wish to modify. The AEL files are located in $HPEESOF_DIR\circuit\ael\examples. There are many AEL files here, each representing a type of components. For instance, all multi-layer components are defined in the file ckt_mlyr_item.ael

2) Copy the file that you wish to modify to any folder of choice.

3) Edit the copy of the file and change the parameter values, visibility etc. For instance, if you want to hide a parameter from the schematic by default, add  "| PARM_NO_DISPLAY" to the third argument in the create_parm() line. Here's an example with the ML2CTL_V component. "| PARM_NO_DISPLAY" is added to two parameters, RLGC_File and ReuseRLGC:


create_item ("ML2CTL_V",                         // name
            "Two Coupled Lines, Variable W & S",  // label
            "CLin",                             // prefix
            0,                                  // attribute
            NULL,                               // priority
            "ML2CTL_V",                       // iconName
            standard_dialog,                    // dialogName
            "*",                                // dialogData
            MlyrNetlistFmt,                     // netlistFormat
            "PC_Line",                          // netlistData
          ComponentAnnotFmt,                  // displayFormat
            "SYM_ML2CTL_V",                     // symbolName
            macro_artwork,                      // artworkType
            "ml2ctl_v",                         // artworkData
          ITEM_PRIMITIVE_EX,                  // extraAttrib
            create_parm ("Subst", "Substrate", 0,
                   "StringAndReferenceFormSet", UNITLESS_UNIT, prm("StringAndReference","\"Subst1\"")),
            create_parm ("Length", "Length", PARM_OPTIMIZABLE | PARM_STATISTICAL,
                   "StdFormSet", LENGTH_UNIT, prm("StdForm","100 mil"),
                   list (dm_create_cb(PARM_DEFAULT_VALUE_CB,
                   "get_default_length_value_cb", "100.0", TRUE))),
            create_parm ("W[1]", "Width", PARM_OPTIMIZABLE | PARM_STATISTICAL,
                   "StdFormSet", LENGTH_UNIT, prm("StdForm","10 mil"),
                   list (dm_create_cb(PARM_DEFAULT_VALUE_CB,
                   "get_default_length_value_cb", "10.0", TRUE))),
            create_parm ("S[1]", "Spacing", PARM_OPTIMIZABLE | PARM_STATISTICAL,
                   "StdFormSet", LENGTH_UNIT, prm("StdForm","5 mil"),
                   list (dm_create_cb(PARM_DEFAULT_VALUE_CB,
                   "get_default_length_value_cb", "5.0", TRUE))),
            create_parm ("W[2]", "Width", PARM_OPTIMIZABLE | PARM_STATISTICAL,
                   "StdFormSet", LENGTH_UNIT, prm("StdForm","10 mil"),
                   list (dm_create_cb(PARM_DEFAULT_VALUE_CB,
                   "get_default_length_value_cb", "10.0", TRUE))),
            create_parm ("Layer[1]", "Layer 1", PARM_INT,
                   "StdFormSet", STRING_UNIT, prm("StdForm","1")),
            create_parm ("Layer[2]", "Layer 2", PARM_INT,
                   "StdFormSet", STRING_UNIT, prm("StdForm","1")),
            create_parm ("RLGC_File", "RLGC file name", 0 | PARM_NO_DISPLAY,
                   "StringAndReferenceFormSet", UNITLESS_UNIT, prm("StringAndReference","")),
          create_parm ("ReuseRLGC", "Yes to reuse the RLGC matricies stored in RLGC_File", 0 | PARM_NO_DISPLAY,
                   "yes1_no0", STRING_UNIT, prm("y_n0","NO")));


3) To use this modified component definition you need to load teh AEL file. You can do it manually from the AEL command line, or configure ADS to load the file automatically when ADS starts.

Manually from command line:

ADS Main Window
Tools > Command Line...
Type this command:

     load("path to modified AEL file");

  for example:

     load("c:/temp/ckt_mlyr_item.ael");

Hit Apply
Place a ML2CTL_V component on the schematic  - you should now find that the two parameters are hidden by default.


To load the AEL automatically at startup of ADS

Modify the configuration variable SITE_AEL or USER_AEL to include the folder where you keep your modified AEL file(s). Example:

USER_AEL=c:/mycomp/

(Note the slash at the end of the path! It's required to identify that this is a folder. ADS will load all AEL files in this folder. If the slash is omitted then ADS will try to locate a file with the specified name and load just that single file)

Restart ADS. The changes that you made should be applied every time you start ADS.

-Mats
RUCKB

Posts: 55
Registered: 06/08/09
Re: changing standard settings for  "Display
Posted: Mar 26, 2007 7:50 AM   in response to: RUCKB in response to: RUCKB
Click to report abuse...   Click to reply to this thread Reply
Thanks,
I think this is what I wanted to do ... although I hoped it would be a little bit simpler  ;-)

I will give it a try, and might do it with my mainly used components ...

Is there any chance to implement such a feature in the GUI to do such changes ? I would expect this to be just ony button in the component parameters window ...



Thanks for the feedback ..

Hermann
mfredrik

Posts: 357
Registered: 12/18/06
Re: changing standard settings for  "Dis
Posted: Mar 26, 2007 12:55 PM   in response to: RUCKB in response to: RUCKB
Click to report abuse...   Click to reply to this thread Reply
Haven't heard of any plans to improve the GUI to make this easier in the near future.
RUCKB

Posts: 55
Registered: 06/08/09
Re: changing standard settings for  "Display
Posted: Mar 29, 2007 1:26 AM   in response to: RUCKB in response to: RUCKB
Click to report abuse...   Click to reply to this thread Reply
Hi,

just one more comment/question...

I just learned, that basically the reuse RLGC option is quite useless for me, as it seems to be not supported to use any external (Spice) RLGC matrices.
1) is this really true ? So far we expected after some normalization we can use external RLGC files for simulation!
2) if the RLGC option is that useless, can it be changed, that the Display option is set to "switched off" in the next ADS release by default ?
3) In the "Open your eyes" seminar I attended I asked on using Spice RLGC files in ADS. The answer was, that  this will be supported in one of the next releases. So basically this is not just an update on the current "feature", but some complete new option ? Do you have any idea in which release we are going to see this feature ?

thanks and regards for any answer or hint ...

Hermann

Point your RSS reader here for a feed of the latest messages in all forums