• 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. spectre: Parameters in .Alter Statement Not effecting Digital...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 17359
  • 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

spectre: Parameters in .Alter Statement Not effecting Digital Vector File Stimuli

Eberhard2010
Eberhard2010 over 13 years ago

Hallo guys,

i've a common netlist (see below). It uses .ALTER (spice) statement and digital vector file input (stimuli). This is because alter or altergroup in spectre syntax does not work anyway.

 <<<<<<<<<<<<<

simulator lang=spectre
  finalTimeOP info what=oppoint where=rawfile
  modelParameter info what=models where=rawfile
  element info what=inst where=rawfile
  outputParameter info what=output where=rawfile
  designParamVals info what=parameters where=rawfile
  primitives info what=primitives where=rawfile
  subckts info what=subckts where=rawfile
  saveOptions options save=allpub

vec_include "../circuit_stimuli/Stimuli_102.vec" hlcheck=0

*Input Stimuli-File
parameters Supply_vec=5 \
            slope_vec=0.05 \
             zero_vec=0 \
              vth_vec=2.5

 *Main Netlist
X1 (vecIN1 vecIN2 QN VDD GND) NAND2X1
Cload (QN0 0) capacitor c=1e-12

GND_source (GND 0) vsource dc=0 type=dc
VDD_source (VDD 0) vsource dc=5 type=dc

*Analysis
tran0 tran stop=1us

simulator lang=spice

.ALTER myalt
  .param slope_vec=0.01
.END

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

The parameters below "Input Stimuli File" are used in the *.vec file. The first (initial ones) are working fine. Now, the alter Statement changes these design variables correctly. However it seems to have no effect on the generated stimuli for the next run. Is there a way to tell spectre to "regenerate stimuli" after design Variables are changed? Or how should I rewrite it?

I got one situation in which it runs correctly, so there is a solution out there. Now i try to reveal it again.

Thanks for your help in advance.

 Regards Eberhard

  • Cancel
Parents
  • Eberhard2010
    Eberhard2010 over 13 years ago

    Cadence (R) Virtuoso (R) Spectre (R) Circuit Simulator
    Version 10.1.1.200.isr13 64bit -- 15 Aug 2011


    Dear Cadence-Users,

    i just want to give you an update of the recent tries I ve done so far:

    1) The sweep analysis in Spectre gives me an Error:

     /Software/cadence/MMSIM/10.11/tools/bin/spectre[528]: wait: 5110: Abort(coredump)

    Regardsless of which parameter I vary :-) To get this error, replace all below *Analysis with the following

     <<<<<<<<<<<<<<<<<

    *Analysis

    sweep0 sweep parameter=slope_vec values=[0.001 0.005] {

    tran0 tran stop=1us

    }

    >>>>>>>>>>>>>>>>>

     Can somebody please tell me, how to get spectre to respect parameter sweeps on VEC-Files?

    Thanks for reading and your help.

     

    Regards Eberhard

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Eberhard2010
    Eberhard2010 over 13 years ago

    Cadence (R) Virtuoso (R) Spectre (R) Circuit Simulator
    Version 10.1.1.200.isr13 64bit -- 15 Aug 2011


    Dear Cadence-Users,

    i just want to give you an update of the recent tries I ve done so far:

    1) The sweep analysis in Spectre gives me an Error:

     /Software/cadence/MMSIM/10.11/tools/bin/spectre[528]: wait: 5110: Abort(coredump)

    Regardsless of which parameter I vary :-) To get this error, replace all below *Analysis with the following

     <<<<<<<<<<<<<<<<<

    *Analysis

    sweep0 sweep parameter=slope_vec values=[0.001 0.005] {

    tran0 tran stop=1us

    }

    >>>>>>>>>>>>>>>>>

     Can somebody please tell me, how to get spectre to respect parameter sweeps on VEC-Files?

    Thanks for reading and your help.

     

    Regards Eberhard

     

     

     

    • 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