Intel® Quartus® Prime Standard Edition用户指南: 入门

ID 683475
日期 12/16/2019
Public
文档目录

5.4.4. 删除不支持的参数传递

Intel® Quartus® Prime Pro Edition综合不支持.qsf中使用set_parameter的参数传递。 其他Quartus软件产品中的综合支持该方式下的参数传递。除了允许的顶层设计之外,请确保RTL不依赖于这种类型的参数传递。
表 21.  SystemVerilog功能差异
其他Quartus软件产品 Intel® Quartus® Prime Pro Edition
Example RTL中,综合覆盖从实体mid-level例化的my_ram实例中参数SIZE的值。 Example RTL中,综合会因为.qsf中检测到的参数传递分配生成句法错误。指定RTL中的参数。如下示例显示支持的顶层参数传递的格式。该实例仅适用于顶层,且参数N设置为4:
set_parameter -name N 4

Example RTL:

set_parameter –entity mid_level –to my_ram –name SIZE 16