I have a circuit which takes some 10us for the initial transients to settle and reach a steady state.
Just wondering if can reduce the simulation accuracy to 'moderate' during the initial times and later make it 'conservative' after reaching the steady state.
Is it doable using spectre simulator?
This can be done easily. Use the "Dynamic Parameter" checkbox on the transient analysis form. Then set the Parameter Name to "errpreset" and choose Parameter vector. Add time 0 and value moderate and also 10u and value conservative. This will then do exactly what you want.
Hi Andrew, I am trying to do exactly above but in the tstab of a PSS analysis (not a normal TRAN). It complains with the following error that keyword conservative has issue:
ERROR (SFE-51): Name conflict: value `conservative' of type `scalar string' encountered. Expected value is of type `vector real pair' Any idea/hint? Thanks for your help! Regards, Hamid
This appears to be a bug. You must have tried "conservative" (with quotes) to get that error - that wouldn't work anyway - but without the quotes it fails too:
ERROR (SFE-1997): "input.scs" 59: pss: parameter `param_vec': Cannot run the simulation because an unknown parameter `conservative' has been specified in expression `conservative'. Correct the expression and rerun the simulation.
Instead, use the value 2. Since errpreset is an enumerated value, you can use 0 instead of liberal, 1 instead of moderate, and 2 instead of conservative. I've tried this and it works fine - the log file tells you it's switching to conservative.
I'll file a CCR for this issue.