Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20693 Discussions

altsyncram 1 word

Altera_Forum
Honored Contributor II
989 Views

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 II
301 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
301 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.
0 Kudos
Altera_Forum
Honored Contributor II
301 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.

0 Kudos
Reply