Hi,
I am a newbie to ADS and I have a schematic with a repeating symbol. The circuit models a period structure that has the same component cascaded 300 times. Is there a shortcut in ADS to cascade a component that number of times (or to loop a component) in the schematic.
Thanks.
I am a newbie to ADS and I have a schematic with a repeating symbol. The circuit models a period structure that has the same component cascaded 300 times. Is there a shortcut in ADS to cascade a component that number of times (or to loop a component) in the schematic.
Thanks.
this is possible and quite easy.
There is a "step and repeat" function available in ADS scripting language (AEL) for schematic and layout.
You can find this in the documentation if you search for de_step_and_repeat.
I don't think it is available from the schematic menu, but you can use it from the command line. Command line entry is started from the ADS main menu: Tools > Command Line ...
This will bring up an dialog where you can enter commands.
For your task, you need to enter two commands,
+de_set_step_and_repeat+ to set the step-and-repeat parameters
and
+de_step_and_repeat+ to actually place the copies.
If you want to place all 300 copies in one line, with x offset of 0, this is the command that you need to enter to the commandline entry:
de_set_step_and_repeat(0,1,1,300,TRUE)
Click apply in the command window to execute this command.
Then, on your schematic, select the element that you want to copy 300 times.
Then, go back to the commandline window and excute de_step_and_repeat with the desired insertion point.
de_step_and_repeat(0,0)
That's it. You now have 300 copies cascaded. See attached screenshot. In my example, I specified an offset of 0 in x-direction so that the elements are directly cascaded with no extra offset. The last parameter in the de_set_step_and_repeat is set to TRUE, which means that touching elements are connected. For a complete list of parameters, see the online help where you can search for these two commands.
Hope this helps!
Best regards
Volker