Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHi, lethenstrom.. After I posted, I almost wrote a clarification note, but held off. the sram_buffer name and the external ram comment are misleading. External SRAM is used. But it is inapplicable to my little problem here. You are correct, I am not writing to SRAM. The intent was to have a 256x20bit circular buffer. I already see a mistake based on your comments. I believe it should look something like:
reg [19:0] sram_buffer [255:0] My understanding (although it may be wrong) is that the [19:0] specifies the "width" of an element and the [255:0] specifies the number of elements. The intent was to let quartus define it as either set of registers that are used as addresses into the decision array (BTW decision is defined as a 1 bit by 0x80000 array and is defined as memory). Thanks for the input. I look forward to you further guidance....