lattice开发错误集合(1)
modelsim版本:se 10.1a
使用modelsim仿真sdi IP 1.5时,sdi_tx_ip_beh.v文件出现如下错误:
** Error: E:\work\lattice\v9802g\programme\9802g_project_sdi_hdmi_202206170927\project_sdi_hdmi\modelsim\sdi_tx_ip_beh.v(3436): The expression for a parameter actual associated with the parameter name (‘pmi_family’) for the module instance (‘gd8fcb1’) must be constant.
** Error: E:\work\lattice\v9802g\programme\9802g_project_sdi_hdmi_202206170927\project_sdi_hdmi\modelsim\sdi_tx_ip_beh.v(3436): The expression for a parameter actual associated with the parameter name (‘pmi_family’) for the module instance (‘ofcca60’) must be constant.
** Error: E:\work\lattice\v9802g\programme\9802g_project_sdi_hdmi_202206170927\project_sdi_hdmi\modelsim\sdi_tx_ip_beh.v(3436): The expression for a parameter actual associated with the parameter name (‘pmi_family’) for the module instance (‘ho58adb’) must be constant.
** Error: E:\work\lattice\v9802g\programme\9802g_project_sdi_hdmi_202206170927\project_sdi_hdmi\modelsim\sdi_tx_ip_beh.v(3437): The expression for a parameter actual associated with the parameter name (‘pmi_family’) for the module instance (‘pu9cf44’) must be constant.
** Error: E:\work\lattice\v9802g\programme\9802g_project_sdi_hdmi_202206170927\project_sdi_hdmi\modelsim\sdi_tx_ip_beh.v(3437): The expression for a parameter actual associated with the parameter name (‘pmi_family’) for the module instance (‘zk7cddb’) must be constant.
** Error: E:\work\lattice\v9802g\programme\9802g_project_sdi_hdmi_202206170927\project_sdi_hdmi\modelsim\sdi_tx_ip_beh.v(3442): The expression for a parameter actual associated with the parameter name (‘pmi_family’) for the module instance (‘tj3d3f1’) must be constant.
** Error: E:\work\lattice\v9802g\programme\9802g_project_sdi_hdmi_202206170927\project_sdi_hdmi\modelsim\sdi_tx_ip_beh.v(3449): The expression for a parameter actual associated with the parameter name (‘pmi_family’) for the module instance (‘psf1b87’) must be constant.
** Error: E:\work\lattice\v9802g\programme\9802g_project_sdi_hdmi_202206170927\project_sdi_hdmi\modelsim\sdi_tx_ip_beh.v(3449): The expression for a parameter actual associated with the parameter name (‘pmi_family’) for the module instance (‘en60848’) must be constant.
** Error: E:\work\lattice\v9802g\programme\9802g_project_sdi_hdmi_202206170927\project_sdi_hdmi\modelsim\sdi_tx_ip_beh.v(3449): The expression for a parameter actual associated with the parameter name (‘pmi_family’) for the module instance (‘rtd2d87’) must be constant.
** Error: E:\work\lattice\v9802g\programme\9802g_project_sdi_hdmi_202206170927\project_sdi_hdmi\modelsim\sdi_tx_ip_beh.v(3450): The expression for a parameter actual associated with the parameter name (‘pmi_family’) for the module instance (‘jcc5774’) must be constant.
** Error: E:\work\lattice\v9802g\programme\9802g_project_sdi_hdmi_202206170927\project_sdi_hdmi\modelsim\sdi_tx_ip_beh.v(3451): The expression for a parameter actual associated with the parameter name (‘pmi_family’) for the module instance (‘mt3c2cc’) must be constant.
** Error: E:\work\lattice\v9802g\programme\9802g_project_sdi_hdmi_202206170927\project_sdi_hdmi\modelsim\sdi_tx_ip_beh.v(3451): The expression for a parameter actual associated with the parameter name (‘pmi_family’) for the module instance (‘psd5c73’) must be constant.
** Error: E:\work\lattice\v9802g\programme\9802g_project_sdi_hdmi_202206170927\project_sdi_hdmi\modelsim\sdi_tx_ip_beh.v(3451): The expression for a parameter actual associated with the parameter name (‘pmi_family’) for the module instance (‘lde94fa’) must be constant.
问题原因:sdi_tx_ip_beh.v找不到预定义的参数,需要指定参数文件路径。
解决办法,在sdi_tx_ip_beh.v文件中加入`include “sdi_tx_ip_params.v”。
Error 61211113 Place & Route ERROR - I/O initial placement is unsuccessful. Please check the I/O placement constraints / user constraints (such as pin locking) carefully.
引脚名字错了,注意大小写。