Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
694 Views

altsyncram 1 word

GUI doesn't allow one to select RAM word size to one. Do you if it's even possible to generate a RAM containing only one word?

0 Kudos
3 Replies
Altera_Forum
Honored Contributor I
6 Views

It's not really a ram with only a single entry. It's just a register.

Altera_Forum
Honored Contributor I
6 Views

 

--- Quote Start ---  

It's not really a ram with only a single entry. It's just a register. 

--- Quote End ---  

 

 

Any number of storage elements can be in ram or registers or just wires if constant.  

The designer must be given choice and freedom to select ram blocks or fabric registers. 

Though I wouldn't want to waste 1 ram block for few storage elements but again the tool must be helpful to choose the right elements.  

This sounds paradoxical but it does imply how fpga terminology and resource can get so vague.
Altera_Forum
Honored Contributor I
6 Views

Yeah I agree with kaz. I disagree with tricky that register and rams are the same (when I choose to use only one entry). Register has faster access time. I keep them aside for application logic. RAMs take longer to respond. I keep them aside for actually storing stuff and retrieving them later.

Reply