I'm trying to do a dc sweep using AMS simulator. I insert
"dc dc param=vcc_pos start=0 stop=5 step=0.1 oppoint=rawfile maxiters=150 \ maxsteps=10000 annotate=status"
to amsControlSpectre.scs file after generating netlist, which is under netlist folder. Then I run the sim and it turns out to be working.
Yet, I save the sim as a ocean script and when I run it, the system overwrites amsControlSpectre.scs which doesn't have a dc sweep statement. I tried to find turnarounds for this issue but it seems difficult.
Is there a way that I can solve this problem? Thanks!