Forum Discussion
Altera_Forum
Honored Contributor
12 years agoStore scalar variables in DSP Adv
I used DSP Adv block to build a module which includes tens of scalar variables. I used to different dualmem blocks to store and modify them. Is there another efficient way to store? Thanks J...
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- They are not constant and may be written and/or read on any clock cycle. --- Quote End --- if you don't want to use ram then use registers. I don't know if dspbuilder provides enable on registers(delay units), if not so use a mux to enable the path i.e. pass feedback data & new data to a dual inputs mux and select between them according to your write signal, the output of mux goes to a delay unit and fedback to input of mux to keep it if your write is not active.