- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
AEL code to change layer in layout in ADS2013
I'm trying to figure out how to change the layer on an element in a multilayer design kit.
My test element is a rectangel "cell_1" which was created using the macro tool stretch in ADS layout window.
I have defined two parameters, Length and Layer where Layer is a string. The default layer is called L1_C1.
How can I now get this MS-line to be drawn on the layer as indicated by the user. In the component parameter box I'd also like that the possible layers were listed as choises.
I include the files.
Thanks,
HELLO
I am using ADS 2011 in my M.SC.research but I need to perform a thermal simulation which is not available in that version, would you please help me to download ADS 2013 ? if there is any download link ,thank you
ADS2014.01 is available to download from this link.But Thermal simulation is possible with Linux version only.
http://www.home.agilent.com/agilent/...test-downloads
In your cell, there is only one cell parameter defined for the length. There is no parameter for the drawing layer. At the moment, the polygon is drawn on layer 237 (ads_annotate).
One simple way to make the drawing layer selectable by the user is to create an integer parameter (layer number) and then use that parameter in the AEL drawing code. Have a look at cell1/layout/artwork.ael. That code is very difficult to read because it was generated by graphical cell compiler, but you can see a variable assignment:
m_438F812 = db_layerid(237, -1);
db_set_entry_layerid(context, m_438F812);
Now, instead of selecting the layer by number, you can also pass a string and select the layer by name. Have a look at the online help where the AEL commands are listed: Design Tools > AEL > AEL functions by category. Look for the "Layer and LayerID" functions. The function that you need is db_find_layout_layerid_by_name()
This is possible by editing the file cell1>itemdef.ael where cell parameters are defined. If you want to hard-code the layer choices, that is quite easy using function create_form_set().
Also, you should consider switching to hand-written AEL for your layout, because the code from Graphical Cell Compiler isn't nice to modify/edit. It will be easier to start from scratch and code your artwork by hand, so that you have clean code with meaningful variable names. Hand written code will much shorter and cleaner than the complicated code from Graphical Cell Compiler.
For more detailed help, you should contact Agilent support. They also offer an AEL seminar in their Gent (Belgium) office which is exactly what you need for this type of ADS library development work.
Hello Volker, and thanks a lot for your elaborate answer. I'll try to implement your advice and get it to work.
Best regards
申明:网友回复良莠不齐,仅供参考。如需专业帮助,请学习易迪拓培训专家讲授的ADS视频培训课程。
上一篇:How to construct coaxial feed for patch antenna by ADS2009
下一篇:Problem exporting data in ADS2011: not the same info in each column
国内最全面、最专业的Agilent ADS培训课程,可以帮助您从零开始,全面系统学习ADS设计应用【More..】
- Agilent ADS教学培训课程套装
- 两周学会ADS2011、ADS2013视频教程
- ADS2012、ADS2013射频电路设计详解
- ADS高低阻抗线微带滤波器设计培训教程
- ADS混频器仿真分析实例视频培训课程
- ADS Momentum电磁仿真设计视频课程
- ADS射频电路与通信系统设计高级培训
- ADS Layout和电磁仿真设计培训视频
- ADS Workspace and Simulators Training Course
- ADS Circuit Simulation Training Course
- ADS Layout and EM Simulation Training Course
- Agilent ADS 内部原版培训教材合集