Hi,

I have to write a couple of testbenches for some signal processing blocks.
One part of that is to figure out whether any of the structural changes
that happend when going from matlab/octave code to VHDL made the processing
worse in any way. For this I would like to use the full power of matlab
on the output of ghdl. But I cannot figure out what the best way to
go from a ghdl to matlab is. Especially as I would like to run a couple
of tests with different parameters on the modules and look at the differences
it makes. TEXTIO is the best fit I could find, but it is still a bit
cumbersome, as I need to define the output filename in the variable
declaration, which prevents me to closing the file and creating a new one
with a different name.

Does anyone have a good idea for that?

BTW: Is there a way to pass commandline parameters to ghdl programs?
Ie I would like to change the simulated bitwidth depending on an external
parameter given at invokation. Or change above mentioned output filename.
This would make the scripting of the testbench easier for me.


                        Attila Kinali

-- 
It is upon moral qualities that a society is ultimately founded. All 
the prosperity and technological sophistication in the world is of no 
use without that foundation.
                 -- Miss Matheson, The Diamond Age, Neil Stephenson

_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to