Hi All
Virtuoso IC 6.1.7.500.18 is used.
I am using the variable for the stop time of the transient simulation.
Just putting VAR("tSim") in the stop time field.
This method runs pretty well most of time, and all of sudden it does not work, with the error message in the log file as:
Error found by spectre during hierarchy flattening.
ERROR (SFE-1997): "amsControlSpectre.scs" 12: tran: parameter `stop':
Function `VAR' is not defined. Update the netlist to define the
function.
when I open the "amsControlSpectre.scs" file, and comparing it against a working case, I see the difference there:
- Problematic case
tran tran stop=VAR("tSim") errpreset=conservative outputstart=0 skipdc=no \
write="spectre.ic" writefinal="spectre.fc" method=traponly annotate=status \
maxiters=5
- Working case
tran tran stop=tSim errpreset=conservative outputstart=0 skipdc=no \
write="spectre.ic" writefinal="spectre.fc" method=traponly annotate=status \
maxiters=5
As the "amsControlSpectre.scs" file is generated automatically, does anyone know why the whole string of stop time setting is parsed?
And how to solve it.
P.S I have experienced this issue many times in the past, usually I created a new empty test, and loaded state, and then the issue is gone.
But this trick does not work this time.
Many thanks in advance.
Best Regards
Yi