D
danmc91
Guest
Hello,
Is it possible to have a VPI task that returns reals and also returns
more than one value?
What I'm wanting to do is write a VPI task which will let me write a
test bench that runs for a bunch of clock cycles to fill up a memory,
then calls this task which will compute the fft of the sequence of
values in the memory and return the real and imaginary (or magnitude
and phase) in some other memory which I could then write out to a file.
For that matter, I could write it out to a .vcd file and use a
waveform viewer to look at the results.
I'm still very new to VPI and am struggling a bit with the "wonderful"
documentation that cadence provides.
-Dan
Is it possible to have a VPI task that returns reals and also returns
more than one value?
What I'm wanting to do is write a VPI task which will let me write a
test bench that runs for a bunch of clock cycles to fill up a memory,
then calls this task which will compute the fft of the sequence of
values in the memory and return the real and imaginary (or magnitude
and phase) in some other memory which I could then write out to a file.
For that matter, I could write it out to a .vcd file and use a
waveform viewer to look at the results.
I'm still very new to VPI and am struggling a bit with the "wonderful"
documentation that cadence provides.
-Dan