Warning (10230): Verilog HDL assignment warning at <design>.v(): truncated value with size 32 to match size of target n - Warning (10230): Verilog HDL assignment warning at <design>.v(): truncated value with size 32 to match size of target n Description You may get this warning in the Quartus® II software when synthesizing an unsigned integer in Verilog HDL as shown in the below example: reg [8:0] COUNT; always @ (posedge CLK or posedge RST) begin COUNT = COUNT 1; You get this warning because 1 is an unsized integer literal which defaults to 32 bits. Resolution To avoid this warning, use 1'b1 rather than 1. COUNT = COUNT 1'b1; Custom Fields values: ['novalue'] Troubleshooting novalue False ['novalue'] ['novalue'] novalue novalue ['Programmable Logic Devices'] ['novalue'] ['novalue'] ['novalue'] - 2021-08-25

external_document