challenge-wxg 发表于 2020-1-9 09:26:58

variable 'DataCollectValue' should not be used in output port connection

定义采集数据reg DataCollectValue; 在采集.V中输出   然后赋值到DataCollectINbram_wr_data <= DataCollectValue;   为什么会有 variable 'DataCollectValue' should not be used in output port connection这种错误提示呢

uisrc 发表于 2020-1-11 13:27:40

应该是语法违规
1、DataCollectValue定位为了Output类型信号
2、在没有幅值的情况下,执行bram_wr_data <= DataCollectValue,那么软件会认为你有错误
页: [1]
查看完整版本: variable 'DataCollectValue' should not be used in output port connection