How can I represent floating point numbers in Verilog?
I am trying to use following code to do floating point addition but I am seeing integer as a output:
real r1,r2,r3;
initial begin
r1 = 1.1;
r2 = 1.2;
r3 = r1+ r2;
$display("Print the output %b", r3);
end