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 ago --- Quote Start --- If indeed you want to use the 1-port RAM as a ROM, you'd need to remove your decoder logic (the case statement) and instantiate the RAM in your design, attaching count to the address input of the RAM and outi to the output of the RAM. --- Quote End --- sorry for really late reply. i forgot oops. I have actually done that with block diagrams but I want to do it using only vhdl now I just don't know how I'd go about doing that