JairoD
New Member
Offline
Posts: 1
|
Hello all,
I just recently started using spectremdl and as a new user I am having a particular issue. I am trying to get a scenario and I am having trouble with the implementation using spectremdl. What I want to do is to run a transient simulation, calculate the value of a parameter from the transient sim, and than after that I want to run an AC sim using the value of the parameter that I calculated in the transient sim. So far I have this code:
alias measurement trans { run tran1 export real var_y=(abs(V(signal)))@40u (this is just an example to show that I am extracting a variable from the trans sim) }
run trans (here I want to change a parameter called I_clk to equal var_y) I_clk=var_y run ac
I get an error when running this because it seems the var_y is only seen in the scope of the trans measurement. Is there any way to grab that value and than use it for my ac simulation? any help would be appreciated.
-Jairo
|