Forum Discussion
Altera_Forum
Honored Contributor
9 years agoReplacing a process with 1-port RAM
i have process I need to now implement as ROM. process (count, outi, run) --converter
begin
if (run = '1') then -- run is a physical switch
case count is -- count ...
Altera_Forum
Honored Contributor
9 years agoThe question is, what is wrong with the current decoder?
What code have you written already, and what are the end goals? For a ROM you have a few options: 1. Use a wizard generated ROM, initialise with a .mif file 2. Define a constant and then follow the ROM template (available in the HDL coding guidelines of the Quartus Manual - and/or you can generate the template in Quartus) 3. Keep with the decoder structure, but add a clock. What do you need us to help with?