Forum Discussion
Altera_Forum
Honored Contributor
8 years agoyou will find the interface of original ram sleeping inside the ram.vhd in the generation folder, copy/paste it and use that as your ram module, ignore the vhdl wrapper generated by the tool.
for 128 names, you can map 128 times directly if you don't get tired. but some of us will declare an array of 128 x string (=length of file name) and initialise it with 128 names then use a loop (1:128) to call the ram once only, each time mapping one element of file name array to ram. I personally used a string without initialisation but added a number to end of each file name and used something like & to concatenate the string when called up in the loop.