Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Variables in spectre's VPWLF file

Status
Not open for further replies.

kickoff1111

Newbie level 6
Joined
Dec 16, 2010
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,374
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.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top