Hello,
I'm trying to write a VHDL video line buffer. I've done this several times before, but this time I have to write ONE single entity for both Xilinx and Altera. Selection of the RAM blocks for a design has to be done using a generic, based on the brand of FPGA. This generic is used in generate statements to toggle between RAM instances.
For Xilinx, there is no problem. I instantiate a RAMB16_Sm_Sn, and off I go for a lot of Xilinx devices. I wrap a generate statement around that and I'm done with the Xilinx job.
But now for Altera. I cannot find a instantiatable primitive called M4K in the documentation. I really have to use the MegaWizard, which is fine, but not for this design. Using the wizard would mean that I have to do it over and over again for each new Altera design, and go through simulation and verification every time. So there goes the idea of switching between brands using an generic map.
Has somebody ever found an Altera primitive for internal RAMs?
Best regards, RadioShox