13 lines
180 B
Coq
13 lines
180 B
Coq
|
|
module top2;
|
||
|
|
real vo;
|
||
|
|
|
||
|
|
initial begin
|
||
|
|
vo = 3.3;
|
||
|
|
#1000 vo = 4.5776;
|
||
|
|
#1000 vo = -4;
|
||
|
|
end
|
||
|
|
|
||
|
|
always @(vo)
|
||
|
|
$display("Real value is %f at %g", vo, $time);
|
||
|
|
endmodule
|