• 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. Hardware/Software Co-Development, Verification…
  3. Generate HSPICE subckt from OCEAN

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 49
  • Views 13117
  • 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

Generate HSPICE subckt from OCEAN

AlexOrange
AlexOrange over 12 years ago
I want to create a subckt HSPICE model for a cell that I have. I have been able to get most of the way to what I want by simply using the following SKILL code:

simulator('hspiceD)
design("MyLib" "MyCell" "av_extracted")
createNetlist(?recreateAll t ?display nil)

(and then I copy the netlist from the string returned by createNetlist into another file of my choosing).

The only trouble with the procedure is that I end up with some just at the top along the lines of:

** Generated for: hspiceD
** Generated on: ...
** Design library name: MyLib
** Design cell name: MyCell
** Design view name: av_extracted
.GLOBAL vdd!
.PARAM p5vonly=0 phires=0

.TEMP 25
.OPTION
+    ARTIST=2
+    INGOLD=2
+    PARHIER=LOCAL
+    PSF=2

And then it finally goes into more or less the hspice that I want. It also has an unwanted .END at the bottom of the circuit. This all could be fairly easily handled with a simple script to strip off the top and the bottom. However, it does not create the view as a subckt, it creates the view in the local "space".

I would like something that I could essentially stuff into an Hspice text view and use instead of netlisting from scratch each time. I also want to use this with Hspice outside of cadence (direct from the command line). I know I can probably get this behavior by creating another cellview with just an instance of this circuit inside it, but I would prefer not to have to create a new cellview for each circuit just to create these netlists.
  • 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