• 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 Design
  3. veriloga module library association

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 129
  • Views 15817
  • 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

veriloga module library association

mystika
mystika over 11 years ago

Hi guys,

I created a module in veriloga instantiating other modules like the resistors and capacitors found in the ahdlLib

cap #(.c(1)) Cx(x, gnd);

res #(.r(1T)) Raux(x, gnd);

res #(.r(Rofff)) Roff(aux, minus); 

the structure says it is associated with the analogLib with the view symbol.

Structure summary for module "test1"

    child          bound to (library view)

    --------------------------------------

    Cx             (analogLib - view symbol)

    Raux           (analogLib - view symbol)

    Roff           (analogLib - view symbol) 

My question is how do I bind the components to the ahdlLib or custom modules for the resistor and capacitor because when I run simulation I get these errors:

ERROR (SFE-23): "" 33: Cx is an instance of an undefined model cap.

ERROR (SFE-23): "" 34: Raux is an instance of an undefined model res.

 ERROR (SFE-23): "" 35: Roff is an instance of an undefined model res. 

 Thanks 

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Use "capacitor" and "resistor" instead so that you are binding to the primitive devices in the simulator.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • billnxp
    billnxp over 7 years ago in reply to Andrew Beckett

    Hi Andrew, I know this is an old post,  but I've a related problem that may be of interest to anyone finding this post.
    I did use 'capacitor'  for my veriloga instance expecting to get the primitive.  EG ...

    // input caps
    capacitor #(.c(cin)) Cinput(dom_vdd, vsshp);
    capacitor #(.c(cin)) Cenab(enablels_vcc, vsshp);
    capacitor #(.c(cin)) Cdisab(disablels_vcc, vsshp);
    endmodule

    But in the HED config view I see that it wants to bind these instances to something else.  How do I fix this problem?

    (Here I selected a 'vew = bbt' to force the binding into the config file).

    cell smgBasicMSLib.capacitor binding :bbt;

    Why does it not get the correct primitive association ?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • billnxp
    billnxp over 7 years ago in reply to Andrew Beckett

    Hi Andrew, I know this is an old post,  but I've a related problem that may be of interest to anyone finding this post.
    I did use 'capacitor'  for my veriloga instance expecting to get the primitive.  EG ...

    // input caps
    capacitor #(.c(cin)) Cinput(dom_vdd, vsshp);
    capacitor #(.c(cin)) Cenab(enablels_vcc, vsshp);
    capacitor #(.c(cin)) Cdisab(disablels_vcc, vsshp);
    endmodule

    But in the HED config view I see that it wants to bind these instances to something else.  How do I fix this problem?

    (Here I selected a 'vew = bbt' to force the binding into the config file).

    cell smgBasicMSLib.capacitor binding :bbt;

    Why does it not get the correct primitive association ?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to billnxp

    This is something that's slightly awkward in how ADE handles it. Probably the simplest solution is to add the sample library into your cds.lib using:

    define sample $(inst_root_with:tools/dfII/bin/virtuoso)/tools/dfII/samples/cdslib/sample

    You'll then need to do the "check and save" of the VerilogA view again, but then the hierarchy editor won't complain and ADE should be able to netlist OK.

    Alternatively, in HED find your cell with the veriloga view containing these capacitors, and do right mouse->Add Stop Point. This will stop the netlister trying to expand the hierarchy within the VerilogA view and then it won't complain about the missing view binding, and the netlister should succeed too.

    Regards,

    Andrew.

    • 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