Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- I haven't figured out how to use a generic to select an external vhd file with a package/function generating the contents of the memory.I haven't figured out how to use a generic to select an external vhd file with a package/function generating the contents of the memory. --- Quote End --- Why does it need to be an external VHDL file? You could pass it a text file containing Intel .hex format lines. That text file could be created by a VHDL function call with a return value that is the filename, or in fact a return value that is the .hex file contents. Perhaps you could post code that demonstrates the issue you are trying to solve. Cheers, Dave