Forum Discussion
Altera_Forum
Honored Contributor
16 years agoRead from file in vhdl
Hi, I have a whole heap of bits I need to hard-code into my hardware. Instead of writing them directly into my vhdl code I was wanting to be able to load them into the code via a .dat file or s...
Altera_Forum
Honored Contributor
16 years agoUsually, constant data are read in at compile time from a *.hex or *.mif file to a ROM. *.hex has the advantage of working both in simulation and synthesis.