• 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. Digital Implementation
  3. Compatibility problem between ELC and Verilog-A

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 92
  • Views 12954
  • 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

Compatibility problem between ELC and Verilog-A

Bastien
Bastien over 14 years ago

Hi all,

I want to create .lib files from elc with hspice simulator and a transistor model made with Verilog-A.

FYI, when I used a standard model (not in VerilogA), everything works properly and the .lib are generated.

When I use the model written in VerilogA, I am facing the following problem:

During the db_prepare step: the elc execution stops because when analyzing the model file and the following message appears:

"

Reading SUBCKT:NMOSFD
Reading SUBCKT:PMOSFD
[WARNING(db_prepare)] spice syntax warning: NMOSFET : no definition of the subckt
 => XM1 D G S 0 NMOSFET
[WARNING(db_prepare)] spice syntax warning: PMOSFET : no definition of the subckt
 => XM1 D G S 0 PMOSFET

SUBCKT FILE: std_cells.sp ( #size = 282 )

Reading SUBCKT:IVX2
[WARNING(db_prepare)] spice syntax warning: NMOSFET : no definition of the subckt
 => XM1 D G S 0 NMOSFET
[WARNING(db_prepare)] spice syntax warning: PMOSFET : no definition of the subckt
 => XM1 D G S 0 PMOSFET
Expanding SUBCKT:IVX2
... XM1 [NMOSFD]
... XM0 [PMOSFD]
- subckt : NMOSFET is not defined
- subckt : PMOSFET is not defined
[ERROR(db_prepare)] Cannot read the input SPICE file subckt : NMOSFET is not exist. because it has one or more syntax errors. Correct the SPICE syntax in the file and try again.
"

Please note that we never have any error when simulations this verilogA model with Hspice directly without ELC. 

Actually when ELC tries to read the model file without opening hspice, I think ELC is expecting a subckt and not a link with a VerilogA file.

Does anybody know how to do to make ELC understand this?

Or how to prevent prevent elc from checking the model before simulating with hspice during the db_prepare?

Regards,

Bastien

  • Cancel
  • rangha
    rangha over 14 years ago

     Hi,

    I am facing the same problem. I would like to use verilog A model to create .lib files.

    Did you find a solution for this?

     

    Regards

    Rangha

    • 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