verilog -vpi problems

R

rose

Guest
Hi All,

I am working in verilog-vpi using icarus tool.here i don't know how
to compile verilog vpi.i have already read that icarus vpi &vvp
manual.but i didn't get clear idea .can anyone explain me step by step
how to compile this one

here i followed some steps
1. iverilog-vpi pow_vpi.c
2.iverilog pow_test.v
3.vvp -dv -M c:\iverilog\bin -m pow_vpi.vpi
here i don't how to view the output?

thanks in advance
 
Hi,
I am not sure if I understand your quetion/issue well, let me try:

1. Did you use $display/$monitor in your Verilog code to print values
in-and-out of your $pow call?
2. Try using $dumpvars() and use Gtkwave to view waveform.

HTH,
Sri

--
Srinivasan Venkataramanan
Co-Author: SystemVerilog Assertions Handbook, http://www.abv-sva.org
Co-Author: Using PSL/SUGAR for Formal and Dynamic Verification 2nd Edition.
http://www.noveldv.com
I own my words and not my employer, unless specifically mentioned
"rose" <mullai_kurunchi@yahoo.co.in> wrote in message
news:2a812bab.0412200447.3d351a41@posting.google.com...
Hi All,

I am working in verilog-vpi using icarus tool.here i don't know how
to compile verilog vpi.i have already read that icarus vpi &vvp
manual.but i didn't get clear idea .can anyone explain me step by step
how to compile this one

here i followed some steps
1. iverilog-vpi pow_vpi.c
2.iverilog pow_test.v
3.vvp -dv -M c:\iverilog\bin -m pow_vpi.vpi
here i don't how to view the output?

thanks in advance
 

Welcome to EDABoard.com

Sponsor

Back
Top