blob: 8736052a1dc5b5daea08dab0264752edad99da70 [file] [log] [blame]
/*
:name: time-literals
:description: Examples of time literals
:should_fail: 0
:tags: 5.8
*/
`timescale 100ps/10ps
module top();
time a;
initial begin
a = 1fs;
a = 1ps;
a = 1ns;
a = 1us;
a = 1ms;
a = 1s;
/* real */
a = 2.1ms;
end;
endmodule