• 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. Custom IC SKILL
  3. abGenericDACFromTemplate.il in AMS flow

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 6510
  • 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

abGenericDACFromTemplate.il in AMS flow

twen
twen over 2 years ago

Hi, Dear Andrew Beckett,

I am using "sub-version  ICADVM20.1-64b.500.27 ." I followed your instruction in https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1O0V00000911TpUAI&pageName=ArticleContent to create the pcell symbol with a verilogA view and a variable width bus. There is no problem to use it in a pure analog simulation from ADE Explorer by Spectre Version 21.1.0.484.isr11. When I bind it to verilogA view in a config and use it in AMS by simulator xrun 22.03-s005, I got the following error message from the netlister:

    ERROR (SFE-23): ".../netlist/analog/input.scs" 16: The instance `I40' is referencing an undefined model or subcircuit, `genericDAC'. Either include the file containing the definition of `genericDAC', or define `genericDAC' before running the simulation.

In order to debug this issue. I instantiated a non-pcell ahdllib/adc_8bit/veriloga symbol beside genericDAC in the testbench schematic.

The generated netlist analog/input.scs contains this line while it does not contain anything about adc_8bit.

      I40 ( net3 net1_7 net1_6 net1_5 net1_4 net1_3 net1_2 net1_1 net1_0 net2 ) genericDAC bits=8 fullscale=1.8 td=0 tt=0 vdd=1.8 thresh=0.9

The adc_8bit veriloga is mentioned in textInputs file:

      -amscompilefile "file:${AMS_CIC_HIER}/tools.lnx86/dfII/samples/artist/ahdlLib/adc_8bit/veriloga/veriloga.va ftype:va lib:ahdlLib cell:adc_8bit view:veriloga"

Is there any AMS netlister and CDF SKILL code that need to be added to your code in order to use the verilogA view in the AMS simulation?

By the way, I had a CCR #2566221 to add a systemVerilog view to the genericDAC cell to be used by the standalone runsv. It was fixed in ICADVM20.1.500.23. A Virtuoso crash happens when I try to add a systemVerilog view to generericDAC cell and do a "Extract" in the systemVerilog text editor in ICADVM20.1-64b.500.27. A new CCR 2751767 was created for this. These CCRs usually takes months to be fixed if they get high enough priority. These CCRs have nothing to do with the above question about using genericDAC/verilogA in the AMS simulation. I believe you should be able to whip up a quick solution to enable me to use  genericDAC/verilogA in the AMS simulation with the Virtuoso version that I am tied to.

Thank you very much in advance!

TJ

  • Cancel
Parents
  • twen
    twen over 2 years ago

    Additional information:  In a pure Spectre simulation, the following lines are present in the generated netlist/input.scs:

        ahdl_include "${CDS_INST_DIR}/ICADVM_20.10.270/tools/dfII/samples/artist/ahdlLib/adc_8bit/veriloga/veriloga.va"
        ahdl_include "${USER_WS}}/myLib/genericDAC/veriloga/veriloga.va"

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • twen
    twen over 2 years ago

    Additional information:  In a pure Spectre simulation, the following lines are present in the generated netlist/input.scs:

        ahdl_include "${CDS_INST_DIR}/ICADVM_20.10.270/tools/dfII/samples/artist/ahdlLib/adc_8bit/veriloga/veriloga.va"
        ahdl_include "${USER_WS}}/myLib/genericDAC/veriloga/veriloga.va"

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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