iterated instances with ipar

Discussion in 'Cadence' started by Ralf Geiger, Nov 23, 2004.

  1. Ralf Geiger

    Ralf Geiger Guest

    Hello *,

    I like to have a symbol with the parameter
    NS (number of serial devices) and under that
    symbol is a schematic with an iterated instance.
    I like to do now a " Q<0:ipar("NS")> " but I get
    an syntax error.

    Is this in any form possible or not to do?

    Cheers
    Ralf
     
    Ralf Geiger, Nov 23, 2004
    #1
  2. Ralf Geiger

    S. Badel Guest

    I do not think you can do this, because you are actually modifying
    the topology, not just a parameter value.
    however, you probably can easily do this with a schematic p-cell.
    I never used schematic p-cells, but Andrew Beckett posted an
    example skill code a while ago in this newsgroup, that
    does more or less the thing you're looking for.
    the link is

    http://groups.google.ch/groups?hl=fr&lr=&selm=

    hope this helps,

    stephane
     
    S. Badel, Nov 23, 2004
    #2
  3. Ralf Geiger

    Ralf Geiger Guest

    Thanks I will have a look at this one.

    Cheers
    Ralf
     
    Ralf Geiger, Nov 23, 2004
    #3
  4. Ralf Geiger

    fogh Guest

    Ralf,

    The device you instance, a bipolar I suppose, doesn t it have a multiplicity
    parameter ? Maybe called area multiplier , number of emitters, or stg in that trend.
     
    fogh, Nov 25, 2004
    #4
  5. Ralf Geiger

    S. Badel Guest

    that would make parallel devices, not serial.
    maybe some simulators support a similar parameter for serial devices,
    though.

    stéphane
     
    S. Badel, Nov 25, 2004
    #5
  6. Ralf Geiger

    Ralf Geiger Guest

    stephane you are right ...

    I had the problem to wire 10 Mos Transistors in "series"
    with the gate Parallel.

    I solved that with iterated instance in a schematic an a
    "iterated" pseudo bus for D and S pins. Works good, even
    if it looks strange in the first place.

    Cheers
    Ralf
     
    Ralf Geiger, Nov 26, 2004
    #6
  7. Ralf Geiger

    fogh Guest

    Ah, sorry, I did not pay attention to that bit. I saw some DKs that support a
    "number of series elements" parameter, but they tend to have mistakes. Last
    time, the parameter was handled properly in pcells and in te main simulators but
    is forgotten in some siminfo (au*). And IMHO verification is one thing a DK
    author should not screw up.

    The bus notation works nicely for series connections, but you have to expand
    the ipar because only values are accepted inside those <bra:ck:ets>

    Please send your schematic pcell when you have it right.
     
    fogh, Nov 29, 2004
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.