Forum Discussion
25 Replies
- Altera_Forum
Honored Contributor
My guess would be that since 512 x 8-bits = 4kB, that the inference is dumb.
1024 x 8-bits = 8kB, which needs a whole M9K. Try that. Cheers, Dave - Altera_Forum
Honored Contributor
Dave, Jed.
_there's nothing wrong with inference of the memory module Jed has written_. It's just that when instantiated within test_harness as top level module, the entire design gets reduced to 13 registers, of which the memory block takes only 8 bits. Quartus will not, by default, use a M9K RAM block for just 8 bits. Inference of RAM blocks for Jed's 2W4R module is working correctly and when you surround it with some logic that actually makes use of 4096 bits, it will be inferred into RAM blocks. - Altera_Forum
Honored Contributor
Ok, I take back all the mean things I said about Quartus and its inference engine ... :)
- Altera_Forum
Honored Contributor
The RAM is inferred when I connect the address ports too to the shift registers. Now everything is working fine.
rbugalho and Dave..Thanks a lot for helping me out. - Altera_Forum
Honored Contributor
--- Quote Start --- Now everything is working fine. --- Quote End --- Wahoo! :) Cheers, Dave