suddy72
Member level 2

Hi guys,
I thought i had cracked the core gen memory module but its not doing what i expected.
When you create the module, you have your data_in line , clk , address , write enable and data_out signals.
Do you have to have a command like address <= address + 1 to get to the next memory address or will it do it aumomatically after every rising clock edge?
I have written code so that writes data_in to every addresss in the module then when it gets to end it jumps to the second address down and leaves the first one alone. Then when we = '0' is should show the contents in memory 1 , but it doesnt , it seems like its writing to that location , even though i have not told it to.
any help or code would be great.
cheers people.
I thought i had cracked the core gen memory module but its not doing what i expected.
When you create the module, you have your data_in line , clk , address , write enable and data_out signals.
Do you have to have a command like address <= address + 1 to get to the next memory address or will it do it aumomatically after every rising clock edge?
I have written code so that writes data_in to every addresss in the module then when it gets to end it jumps to the second address down and leaves the first one alone. Then when we = '0' is should show the contents in memory 1 , but it doesnt , it seems like its writing to that location , even though i have not told it to.
any help or code would be great.
cheers people.