01-24-2019 04:16 AM
Please can you any one tell me how will divide 2k memory in 1k and 1k.
actully iam taking 4k data of text file, in that 4k data is avaible but for that im taking 2k data and storing in the memory location.
always @(posedge clk)
now the 2k data is stored in out.
how i will store that 2k data in 1k and 1k.
01-24-2019 04:47 AM
What is this, someone's homework problem....?
You didn't mention the required organization of the smaller memories. You're not going to get full credit unless you get that part right...
01-24-2019 06:25 AM
This question isn't very clear. If you want to store it in two sets of 1K Rams, you would need to define two RAMs and then assign half the data in to one, and the other half to the other.
But how to code this, you should launch Vivado, go to IP catalog, and look up the example for a simple Dual Port Ram
You can then basically follow that template and create two of them and you will end up with two RAMs. (Though they might be combined in synth)