• 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. scs files

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 126
  • Views 24568
  • 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

scs files

samer1
samer1 over 8 years ago

Greetings, 

I am new to developing a compact models. I developed a compact model to a device in Verilog-A and I want to add statistical parameters to it. I looked at an older model developed by my group and figured out that the model is a .scs file that calls the verilog-A model. There is also another file that is .cdf that I do not quite understand what it does. Can some ones explain to me how these three files communicate together in a simulation. 

I am using version 616

Simulator: spectre

here is the .scs file:

////////////////////////////////////////////////////////////////////////////////

simulator lang=spectre

inline subckt memr_hfox (p n)
parameters
+ HRS1=1.5e+05 LRS1=1e4
+ VtP=0.75 VtN=-1.0 tswP=1e-08
+ tswN=1e-06 Rinit1=1.5e+05
+ HRS_rt=2e+06 HRS_nm_spr=0.001 THRS_sp=0.001 TLRS_sp=0.001
+ Ttsw_n_sp=0.001 Ttsw_p_sp=0.001 TVtn_sp=0.001 TVtp_sp=0.001
*
* include Verilog-A model for memristor
ahdl_include "/research/seneca/models/memr_hfox_demo.va"
*
* instantiate Verilog-A memristor model
memr_hfox p n memr_hfox HRS=HRS1 LRS=LRS1 Vtp=VtP Vtn=VtN
+ tsw_p=tswP tsw_n=tswN Rinit=Rinit1 HRS_rate=HRS_rt
+ HRS_nom_spr=HRS_nm_spr THRS_sp_rel=THRS_sp TLRS_sp_rel=TLRS_sp
+ Ttsw_n_sp_rel=Ttsw_n_sp Ttsw_p_sp_rel=Ttsw_p_sp TVtn_sp_rel=TVtn_sp
+ TVtp_sp_rel=TVtp_sp
*
* statistical block for this model
* mismatch used to generate random number per instance
statistics {
mismatch {
vary HRS1 dist=gauss std=0.05 percent=yes
vary LRS1 dist=gauss std=0.05 percent=yes
vary VtN dist=gauss std=0.05 percent=yes
vary VtP dist=gauss std=0.05 percent=yes
vary tswN dist=gauss std=0.05 percent=yes
vary tswP dist=gauss std=0.05 percent=yes
}
}
ends memr_hfox

///////////////////////////////////////////////////////////////////////////////////

  • Cancel
Parents
  • samer1
    samer1 over 8 years ago
    Thank you Quek. Truly appreciate it.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • samer1
    samer1 over 8 years ago
    Thank you Quek. Truly appreciate it.
    • 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