On Wed, 5 Aug 2015 12:25:38 -0700
Peter LaDow <[email protected]> wrote:

> Generally, from a VHDL point of view, this is possible using the
> standard FILE mechanism.  But it isn't all that straightforward.  You
> have to read the files as characters, then convert them to integers.
> A basic discussion is here:
> 
> http://stackoverflow.com/questions/14173652/how-can-i-read-binary-data-in-vhdl-modelsim-whithout-using-special-binary-format


Thanks.. i think i have to reread the part about file handling.
I somehow missed that this is possible.


> However, it is significantly simpler to pre-process the binary data
> into text files and then read in either vectors or hex values (as

Yes. But as the input data is several GB, i dont want to convert it
to text first. That would blow it up by a factor of 4 at least, if not
even more.

                        Attila Kinali

-- 
I must not become metastable. 
Metastability is the mind-killer.
Metastability is the little-death that brings total obliteration.
I will face my metastability. 
I will permit it to pass over me and through me. 
And when it has gone past I will turn the inner eye to see its path. 
Where the metastability has gone there will be nothing. Only I will remain.


_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to