01-30-2011 10:27 PM
i want to store the data in bram and aafter some operation i want the data back how can i do this.
i had made a module of ram but in that when i call ram module and write something it store the values but when i call ram in other module and try to read the data, i m not getting the data( it take as other module). thats y i want to know how i can use the internal bram of virtex 5
01-30-2011 10:43 PM
Post your code so we can take a look at it.
Did you use the Block Memory Generator wizard in ISE?
Chapter 4 of the Virtex 5 User Guide is dedicated to Block RAM.
- Bob Elkind
02-01-2011 02:08 AM
i wrote a program of bram it can write and read the data.
but in same module. if i instantiate the bram for write in one module i am not able to read the data of ram in other module.
here the problem occurs.
02-01-2011 02:15 AM
module bram (clk, add, data, rd, wr, cs,dataout);
input [9:0] add;
input [7:0] data;
reg [7:0] mem [1023:0];
reg [7:0] read_a;
always @(posedge clk)
i am trying with this code to write data in one module and read in other module. but its not happening. pls suggest some other method