• 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. write *.scs file to use model library

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 11734
  • 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

write *.scs file to use model library

mirtaji65
mirtaji65 over 3 years ago

i have TSMC RF fr013.scs and i cant directly use this file at ADE>model library setup>global model file

Error found by spectre during circuit read-in.
ERROR (SFE-675): "/home/disk/simulation/TSMC130_PDK/models/RF_12_33_FSG/T013CMSP002_1_2/spectre/rf013.scs" 3: Illegal library definition found in netlist
When I opened the fr013.scs file, it said to use model library :
"
1)To use these models directly by programming in this style: *
// *
// .lib 'lib_path/lib_name' model_name *
// *
// *
// EX: .lib '/home/user/tsmc/LOGIC/rf013.l' TT_RFMOS *
// for typical RF 1.2V N,PMOS

"
i can't find /tsmc/LOGIC/rf013.l

Finally, I created a test.scs file and write the following command to use model library

include "./RF_12_33_FSG/T013CMSP002_1_2/spectre/rf013.scs" section=tt_lvt
include "./RF_12_33_FSG/T013CMSP002_1_2/spectre/rf013.scs" section=tt_hvt
The problem was solved and simulation was performed
There is only one problem is that I have to change the test.scs file every time to change the corner from tt to sf or ff , ..

What command can I use to make these sections changeable at ADE>model library setup>global model file (drop-down menu)
thanks

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    On the model libraries form, there's a column next to the file which shows "section" as the heading. It appears you've referenced the rf013.scs file, but not specified the section, which is why it is giving an error. You can either type in the section name on the model libraries form, or you should be able to click in the field and the drop-down should offer you the choice of available sections.

    You can then set up corners (assuming you're using ADE Explorer or Assembler) to run over multiple sections.

    No need to be editing netlists to do this.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • mirtaji65
    mirtaji65 over 3 years ago in reply to Andrew Beckett

    Thank you for taking the trouble to help me. do appreciate it.

    i typed in the section name  tt  at  the model libraries form And simulation was performed without error

    after that the field "section" activated pop up menu 

    • 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