• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. RF Design
  3. How do I EM-Extract a subcircuit and define a different...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 63
  • Views 5250
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do I EM-Extract a subcircuit and define a different em/drawing-layer than the original circuit in AWR?

FormerMember
FormerMember over 4 years ago

Hello all,

I have a 4-layer project in AWR/MWOffice and have built a parameterized microstrip inductor schematic (named "spiral") with a "Line Type" of layer1 that I wish to reuse on another schematic as a subcircuit (SUBCKT) on layers 1,2,4.

When I place "spiral" as a subcircuit on another schematic ("sch1") and assign that SUBCKT shape's "Line Type" to be different than "spiral" was drawn, EM extraction puts it on the layer where "spiral" was drawn, not where the SUBCKT is drawn.

(By "drawn" I mean right-click the shape in Layout View, select Shape Properties, and select the "Line Type" in the "Layout" tab; I know my EM layer mappings are correct because I can change the line type of "spiral" and EM extraction puts it in that em-layer, but let me know if there is an LPF trick I should try since I can't get multiple SUBCKT's to extract into different layers).

Strangely, the drawing shape color/pattern that I assigned for layer1 always shows in "sch1" even though the SUBCKT element line-types are set to layers 1,2,4. However, if I right-click on each SUBCKT's shape properties, each SUBCKT's "Line Type" is shown correctly. Here are the details:

  • The microstrip schematic ("spiral") layout is all drawn on layer1
  • Another schematic ("sch1") has the following subcircuits:
    • SUBCKT S1: NET="spiral", shape layer=layer1
    • SUBCKT S2: NET="spiral", shape layer=layer2
    • SUBCKT S3: NET="spiral", shape layer=layer4


Is there a way to reuse my "spiral" subcircuit on different drawing layers so that it shows correctly both in the "Layout View" and is placed correctly in the EM extraction?

I've attached my LPF in case its useful. In the post above, "layer1" means Cu_1, and so-on. Let me know if there is anything else you might need to help troubleshoot.

Thank you for your help!

-Eric

4_layer.zip

  • Cancel
  • GraemeR
    GraemeR over 4 years ago

    Hi Eric,

     

    What you are asking isn’t possible although the issue isn’t due to the extraction itself.    The built-in microstrip models/pcells you are using read their drawing layer info from the linetypes section configured in the lpf, and which lpf linetype gets selected is controlled by either the MSUB name chosen on the corresponding model or the setting you manually select on the dropdown menu in the layout cell properties.

     

    Case 1:  If your MSUB definition names match the linetype names in the lpf, then when you select the appropriate MSUB definition for your line, the layout will pick the corresponding linetype used for layout automatically.

     

    Case 2: If your MSUB definition names don’t match your linetype names then you need to manually set the correct drawing layer using the pulldown menu in the layout cell’s shape properties.

     

    In either case, there is no way to pass this information down through the schematic hierarchy which is what you’d need to do in order to extract multiple copies of “spiral” on different linetypes from a single top level schematic.   Standard parameters such as width, length, etc, can all be passed through hierarchy with ease, but MSUB and linetype are special cases which cannot.  

     

    The simplest work around for you is to just make 4 schematics, “spiral_Cu1”, “spiral_Cu2”,  “spiral_Cu3”, and “spiral_Cu4” where the correct linetype is pre-set in each and then place them in your higher level design accordingly.  Any of your usual geometrical parameters can still be passed to create different sized devices but the pcells you are reusing are not coded to accept drawing layer information passed through hierarchy in this way.

     

    Best Regards,

    Graeme

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • FormerMember
    FormerMember over 4 years ago

    Thanks Graeme, that worked!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information