Forum Discussion
Altera_Forum
Honored Contributor
10 years agoChecking the RAM and Inserting Image into in a RAM
I have designed a RAM. The RAM has following codes. module ram_8bit (we,re, clk, add, datin, datout); input [6:0] add; input we, re, clk; input [7:0] datin; output[7:0] datout; re...
Altera_Forum
Honored Contributor
10 years agoDo you mean you need to initialize the RAM? Or you'd like to perform a simulation that writes the image into the RAM? If you want to initialize, normally the values are stored in a file and either the $readmemh or $readmemb functions are used.