Hi, all,
I am simulating in Cadence ADE with spectre. I use a VPWLF source to get a pwl external file as a stimula. In my spectre bench, I have set some variables(Fosc, vdd, for example). I compose the pwl file with these variables in math operations to define the pwl waveform. But when spectre is parsing, I found it doesn't recognize the variables nor the math operations. Can anyone give me some hints?
Thanks a lot...
AFAIR SPICE & SPECTRE don't support variables in VPWLF files. Use a math tool (Excel, Matlab, ...) to evaluate the variables first, then use the CSV format to transfer the values.
For factors that scale amplitude, make the vpwlf feed
a multiplier block, with -that- having the scale factor
variable as a property.
You might prefer to make a veriloga block that does
the same function, you can embed vectors in those or
perhaps even conditionally read in from files if you're
slick enough, and you can pass arguments in.