hithesh123
Full Member level 6
Is using block RAM efficient when you don't use lots of Memory but have quite a bit of registers - like 50 or 100 16-bit registers.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
The question is at least incomplete.
What are your requirements for the registers? You know that a RAM is controlled by an adress input (ot two independent adress inputs in case of a dual-port RAM). So you can only access one (or maximum two) regsisters at a time/a clock cycle. Is your register usage compatible with this restriction?
For xilinx, you have three choices:
1.) registers only
2.) block ram
3.) distributed ram
distributed ram works well in the 16-128 item range (1 slice). for 100 16b registers, I'd use distributed ram. You can infer either using similar constructs, so you can decide to use BRAM or distributed ram later.
BRAM is useful and it functions like a stack..you can rewrite and use bram so therefore ur using a fixed number of resources of memory.you can point to a address location just like pointers and it helps you also in indexing the data values.
i mean with overwriting it with fresh data..
BRAM is useful and it functions like a stack..you can rewrite and use bram so therefore ur using a fixed number of resources of memory.you can point to a address location just like pointers and it helps you also in indexing the data values.