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.

What's the difference between .probe and .print?

Status
Not open for further replies.

shaq

Full Member level 5
Full Member level 5
Joined
Jul 23, 2005
Messages
311
Helped
14
Reputation
28
Reaction score
4
Trophy points
1,298
Activity points
3,397
difference between probe and print

Dear all,

Can someone tell me the difference between .probe and .print command in Hspice?

I only know if I want to use .probe command, I need to add ".option probe" in my spcie file.
 

hi,
why not to refer to Hspice userguide
 

.print will print the value in text format for you, so you can checkout the text output format.

.probe enable you to store the simulation output in a special file that you can use a waveform viewer to view the signals. eg i9f you want to see volt at node v1, you will write
.probe v1
and then in your option, you add
.option probe

correct me if I am wrong,
 

wpchan05 said:
.print will print the value in text format for you, so you can checkout the text output format.

.probe enable you to store the simulation output in a special file that you can use a waveform viewer to view the signals. eg i9f you want to see volt at node v1, you will write
.probe v1
and then in your option, you add
.option probe

correct me if I am wrong,

Dear wpchan05,

If I want to see the voltage at node 1, I also can write '.print dc v1' .

And, you say that '.probe can store the simulation output in a file'.

My question is how to specify the output file?

Thanks.
 

they are same in some simulation tools.
 

probe will show the waves in tr0 file.print will give a result in .lis file
 

wpchan05 said:
....
My question is how to specify the output file?
Thanks.

The extension of the output files are .tr#, .sw#, .ft# ... depend on your simulation type. for the detail you'd better refer to the Hspice manual

btw: If graphical interface tools(such as: avanWaves, xp ect. ) are used to view the simulation result. they will recognize it automated
 

If you use scope to see the waveform, the .probe and .print is the same.

The different between is that .probe will draw node voltage schematic in .lis file.
And .print will print the node value in .lis file.

Can you test this two together and see the different in .lis.
 

if you use .options probe then you must add .probe *** in your sim file;the .options probe means only probe the special node in output file ,if don't special node then hspice will not probe any wave.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top