• 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. Simulation using SKILL

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 143
  • Views 19011
  • 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

Simulation using SKILL

deepshah
deepshah over 16 years ago

 hi,

I am simulating a circuit block with SKILL

I wrote Desvar.il, mystimuli.scs, Simsetup.il but i do not know how to proceed with main simulation body can anybody help me?

i want power data to be displayed 

Thanks

 

  • Cancel
Parents
  • deepshah
    deepshah over 16 years ago

     Lawrence,

    Desvars.il:

    desVar( "Vdd" 1.0 )
    desVar( "Gnd" 0.0 )
    desVar( "Twwid" SimSetup->Twwid )
    desVar( "Twper" SimSetup->Twper )
    desVar( "A1" A1) desVar( "A2" A2)...... desVar( "A16" A16)

    mystimuli.scs:

    simulator lang=spectre
    vA1 (A1 0) vsouce type=pulse val0=0 val1=1.0 width=2n period=4n.....vA16 (A16 0) vsouce type=pulse val0=0 val1=...

    _vVdd (Vdd! 0) vsouce type=dc dc=1.0
    _vGnd (Gnd! 0) vsouce type=dc dc=0.0


    SimSetup.il:

    procedure(LogTestSetup()
     prog((SimSetup)

     SimSetup = lost(nil)

     SimSetup->LibName = "EXP"
     SimSetup->ViewName = "schematic"
     SimSetup->CellNameList = '("mul")
     SimSetup->StimFileList = '("mystimuli.scs")
     SimSetup->VariablesFile = "/home/../simexp/mydesvars.il"
     SimSetup->StimFileDir "/home/.../simexp/stimuli/"

     SimSetup->SpectreSimDir = "/home/.../simexp/simulation/"
     SimSetup->ResultsDir = "/home/.../simexp/results/"
     
     SimSetup->LogFileName = "log.txt"
     SimSetup->OutputFileName = "simexper_logblock.txt"
     SimSetup->LogFileName = strcat(SimSetup->ResultsFileDir SimSetup->LogFileName)
     SimSetup->OutputFileName = strcat(SimSetup->ResultsFileDir SimSetup->OutputFileName)

     SimSetup->PlotWaves = 0
     SimSetup->Renetlist = 1
     SimSetup->ParametricAnalysis = 0
     SimSetup->SimStop = 50n

     SimSetup->A1 = '(0 1 0 1 ....)
     
     SimSetup->Twwid = 2n
     SimSetup->Twper = 4n
     
     return(SimSetup)
    )
    )
     

    I hope i am going in right direction from here i dont know how to create main simulation body the one with iteration and how to call above mentioned files in main body.

    Thanks


    Deep

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • deepshah
    deepshah over 16 years ago

     Lawrence,

    Desvars.il:

    desVar( "Vdd" 1.0 )
    desVar( "Gnd" 0.0 )
    desVar( "Twwid" SimSetup->Twwid )
    desVar( "Twper" SimSetup->Twper )
    desVar( "A1" A1) desVar( "A2" A2)...... desVar( "A16" A16)

    mystimuli.scs:

    simulator lang=spectre
    vA1 (A1 0) vsouce type=pulse val0=0 val1=1.0 width=2n period=4n.....vA16 (A16 0) vsouce type=pulse val0=0 val1=...

    _vVdd (Vdd! 0) vsouce type=dc dc=1.0
    _vGnd (Gnd! 0) vsouce type=dc dc=0.0


    SimSetup.il:

    procedure(LogTestSetup()
     prog((SimSetup)

     SimSetup = lost(nil)

     SimSetup->LibName = "EXP"
     SimSetup->ViewName = "schematic"
     SimSetup->CellNameList = '("mul")
     SimSetup->StimFileList = '("mystimuli.scs")
     SimSetup->VariablesFile = "/home/../simexp/mydesvars.il"
     SimSetup->StimFileDir "/home/.../simexp/stimuli/"

     SimSetup->SpectreSimDir = "/home/.../simexp/simulation/"
     SimSetup->ResultsDir = "/home/.../simexp/results/"
     
     SimSetup->LogFileName = "log.txt"
     SimSetup->OutputFileName = "simexper_logblock.txt"
     SimSetup->LogFileName = strcat(SimSetup->ResultsFileDir SimSetup->LogFileName)
     SimSetup->OutputFileName = strcat(SimSetup->ResultsFileDir SimSetup->OutputFileName)

     SimSetup->PlotWaves = 0
     SimSetup->Renetlist = 1
     SimSetup->ParametricAnalysis = 0
     SimSetup->SimStop = 50n

     SimSetup->A1 = '(0 1 0 1 ....)
     
     SimSetup->Twwid = 2n
     SimSetup->Twper = 4n
     
     return(SimSetup)
    )
    )
     

    I hope i am going in right direction from here i dont know how to create main simulation body the one with iteration and how to call above mentioned files in main body.

    Thanks


    Deep

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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