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.

about hspice .measure, please help

Status
Not open for further replies.

wno206

Newbie level 4
Joined
Sep 18, 2006
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,314
hspice measure td

If i want to measure 1024 periods' value of a clock, do i have to write 1024 sentences of .meas in hspice netlist ??

if not, what's the easier method?

thanks!
 

hspice printf

Write a program to generate such measure sentence. Quite easy.
 

hspice help

hi, xuel
could you please give me an example?
i don't quite know how to write the program.

thanks!
 

awk hspice

u can take help from hpsice manual ..
for measuring statements
 

Here is a awk script.
save the following script as xx.awk
At linux or unix use: awk -f xx.awk aa>bb.
aa is a temp file.
bb is the file including measure statements.

END {
for (i=1;i<1025;i=i+1) {
printf(".meas tran period%d trig v(xx) val=0.5 fall=%d td=1.9u targ v(xx) val=0.5 fall=%d td=1.9u \n",i,i,i)
}
}
 

Maybe you can try to use veriloga models.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top