• 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. How to use dbOpenCellViewByType() to create a Spectre view...

Stats

  • Replies 2
  • Subscribers 149
  • Views 718
  • Members are here 0

How to use dbOpenCellViewByType() to create a Spectre view ?

Umbrajo
Umbrajo 1 month ago

Hello,


I am trying to automate the creation of components with Spectre netlists using SKILL (v. ICADVM20.1-64b.).


When I want to use the function dbOpenCellViewByType(libName cellName "Spectre" "Spectre" "w"), I get " *WARNING* (DB-270208): dbOpenCellViewByType: unrecognized database viewType 'Spectre' " in the CIW and no view is created.

I tried with the following formatting for the word "spectre": "Spectre" and "spectre". I get the same issue. I looked for information to overcome this issue in "SKILL Language User Guide", "SKILL Language Reference" and especially in "Virtuoso Design Environment SKILL Reference" but no detail could help me.

I am confused because Spectre views are possible to create with the Library Manager (when using the graphical interface).


So 2 questions:
1. Where should I look in order to view which viewTypes are recognized by SKILL ?

2. If you think I am trying to create Spectre views with SKILL the wrong way, could you suggest a new way ?

Thanks for reading and for your help.

Sincerely,

Umbrajo. 

  • Cancel
  • Sign in to reply
  • Andrew Beckett
    Andrew Beckett 1 month ago

    Umbrajo,

    The db APIs are for creating OpenAccess cellViews (e.g. schematic, symbol, layout) and not for textual views such as the spectre view. Now that's not entirely true - there is an accompanying "shadow" database alongside the text view information which records information such as the I/O terminals to aid the netlister, and that is in OA, but that's not going to do what you want in this case which is to create the cellVIew with the appropriate master.tag file to indicate that it's a spectre textual view.

    Now, there is this SKILL code I wrote many years ago: How to create a text cellview using SKILL but this would only do part of the job for you (it wouldn't create the OA part needed for netlisting). You could do that with the function in this article: SKILL API for extracting DSPF and Spectre Text Editor views to create shadow database

    However, as also mentioned as a reference within that second article, it might just be simplest to use the command-line cdsTextTo5x utility with the -lang spectre argument to do all the work for you.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Umbrajo
    Umbrajo 1 month ago in reply to Andrew Beckett

    Andrew,

    Thank you for your answer and for your help.

    I confirm that the command cdsTextTo5x works correctly.

    Umbrajo.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information