This error may be seen in the Quartus® II software version 13.0 and earlier, if you select HardCopy® II Arria® GX Stratix® I or Stratix II devices and use MRAM as the block RAM type during Qsys generation.
Example of error messages
Info: onchip_memory<Qsys_assigned_name>:
Info: onchip_memory<Qsys_assigned_name>: ERROR:
Info: onchip_memory<Qsys_assigned_name>: ERROR: Parameter validation failed.
Info: onchip_memory<Qsys_assigned_name>: Parameter 'ram_block_type' (= M-RAM)
Info: onchip_memory<Qsys_assigned_name>: is not one of the listed allowed values.
Error: onchip_memory<Qsys_assigned_name>: Failed to generate module ref_system_onchip_memory<Qsys_assigned_name>
To work around this problem follow the steps below:
-
Open em_onchip_memory2_qsys.pm file. You can find this file here: <Quartus II Install>\ip\altera\sopc_builder_ip\altera_avalon_onchip_memory2\em_onchip_memory2_qsys.pm
-
Go to line 152 of em_onchip_memory2_qsys.pm
-
Change "MRAM" to "M-RAM"
-
Save the file
-
Regenerate the Qsys design.