Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
713605cadef845b9f44d6469208fb6e902ace095
/
.
/
SVIncCompil
/
Testcases
/
Google
/
chapter-5
/
5.8-time-literals.sv
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