creating a Verilog ams model

Discussion in 'Cadence' started by deepu, Feb 26, 2007.

  1. deepu

    deepu Guest

    hello

    i was trying to write a Verilog ams model for a resistor (well,
    grade-2 students would laugh at me :)) and then create a symbol for
    it...and use it in another circuit.

    i cudn't figure out anything. could someone please suggest the way i
    need to go abt doing that.
    thanks in advance

    regards
    mandeep
     
    deepu, Feb 26, 2007
    #1

  2. Hi,
    If you mean that you wrote the .vams code correctly, but you can't use
    it as a real resisitance, that's you cant' see its value for example
    to change.. Then, when instantiating your vams symbole, and changing
    its parameters (via pressing 'q' bindkey), select "CDF Parameter of
    view" to be "Verilog-AMS" or "Verilog-A". Then you will see parameters
    that you defined in your original code..

    Hope that helps,
    Ahmad,
     
    Reotaro Hashemoto, Mar 4, 2007
    #2
  3. I would go the other way around: First create the symbol with pins and
    then use create cellview from cellview from the composer menu. Cadence
    will then come up with an editor with the interface and include files
    correctly. If you want to have parameters, you could go the way
    through a schematic where you place pPar("") parameters as values, or
    you can just add them in the ams code. You may have to play with the
    CDF multilistbox in the object properties dialog to see your
    parameters. Disclaimer: I have not done this for ams myself, but I
    have done it this way many times in verilog-a. I cannot see why it
    shouldn't work for ams.
     
    Svenn Are Bjerkem, Mar 5, 2007
    #3
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.