module top; reg real vo; initial begin vo = 3.3; #1000 vo = 4.5776; #1000 vo = -4; end rcvr U1(vo); endmodule module rcvr(vo); input vo; wire real vo; always @(vo) $display("Real value is %f at %g", vo, $time); endmodule