Forum Discussion
Altera_Forum
Honored Contributor
13 years agoFirst in Last out buffer consuming too much resources
Hi all, I'm trying to implement a first in last out buffer, that has the soul purpose of flipping image data horizontally. The image comes in as a stream of pixels in the order (1,1) , (2...
Altera_Forum
Honored Contributor
13 years agoI found the problem - you didnt constrain the read and write addresses, so they were being made as 32 bit values. Then it could not fit these in the memory you infered, so wont create a memory. I constrained them with
read : integer range 0 to BUFFER_SIZE-1; and it infered a ram. It even worked with the origional variables.