天天看點

Error(10257): Verilog HDL error at <location>: unsized constants are not allowed in concatenations.

1.error:

Error(10257): Verilog HDL error at <location>: unsized constants are not allowed in concatenations.

 代碼:

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)

繼續閱讀