英特尔Agilex® 7嵌入式存储器用户指南

ID 683241
日期 4/10/2023
Public
文档目录

4.1.7. 手动更改参数设置

使用IP Parameter Editor生成IP后,您可以使用此流程来更改指定存储器模式的参数设置。然而,如要更改存储器模式,则需要使用IP Parameter Editor配置并重新生成IP。

请按照以下步骤手动更改参数设置:

  1. 找到Verilog设计文件:<project directory>/<project name_software version>/synth/< projectName_coreName_QuartusVersion_random>.v.
  2. 更改设计文件中的参数设置。确保使用“参数和信号”部分中指定的合法参数值,否则将导致编译错误。
  3. 使用英特尔 Quartus Prime软件编译设计。

例如,如下代码使能ECC功能并指定初始化文件。

altera_syncram_component.enable_ecc = "TRUE",
altera_syncram_component.ecc_pipeline_stage_enabled = "FALSE", altera_syncram_component.init_file = "mif1.mif",

如要禁用ECC功能和指定一个不同的.mif文件,则需要进行如下更改。

altera_syncram_component.enable_ecc = "FALSE",
altera_syncram_component.ecc_pipeline_stage_enabled = "FALSE", altera_syncram_component.init_file = "mif2.mif",