Given [15:0]a [15:0]
number (there is no fractional part, only integer). How do I truncate the lower two bits [1:0][1:0]
and round it off to the closest possible value.? Consider a case where no overflow happens. NeedI need to do it in verilogVerilog.
input [15:0] A; output [13:0] B;
input [15:0] A;
output [13:0] B;