1.error:
代码:
TX(1'b1,{`CMD_START | `CMD_WRITE},{6'b101000,wr_address[8],`WR_BIT});
原因:101000未标注位宽报错。位拼接时,需要标注位宽。
详细说明链接:
Verilog HDL error at <location>: unsized constants are not allowed in concatenations (intel.com)
1.error:
代码:
TX(1'b1,{`CMD_START | `CMD_WRITE},{6'b101000,wr_address[8],`WR_BIT});
原因:101000未标注位宽报错。位拼接时,需要标注位宽。
详细说明链接:
Verilog HDL error at <location>: unsized constants are not allowed in concatenations (intel.com)