The two parameters, 'intended_device_family' and 'ram_block_type,' are incorrectly generated by the Megawizard and should be commented out for simulation purposes.
The workaround is to add comment identifiers (// in Verilog HDL or in VHDL) as in the example below. For the 'lpm_hint' parameter or generic, add the RAM_BLOCK_TYPE value and its associated memory block type using the syntax in the example:
defparam//tlpm_fifo_dc_component.intended_device_family = "Stratix",tlpm_fifo_dc_component.lpm_width = 8,tlpm_fifo_dc_component.lpm_numwords = 256,tlpm_fifo_dc_component.lpm_widthu = 8,tlpm_fifo_dc_component.lpm_showahead = "OFF",//tlpm_fifo_dc_component.ram_block_type = "M512",tlpm_fifo_dc_component.lpm_hint = "USE_EAB=ON,RAM_BLOCK_TYPE=M512",tlpm_fifo_dc_component.lpm_type = "LPM_FIFO"
This problem has been resolved in the QuartusII software version 2.2. The 'intended_device_family' is now part of the altera_mf simulation model files. The parameter ram_block_type has been removed from the Megawizard in the QuartusII software version 2.2 and the lpm_hint parameter is used instead.
For designs created in QuartusII software version 2.1 (or 2.1 SP1), you need to perform the workaround above or regenerate your Megawizard files using the QuartusII software version 2.2.