2011-07-24 19:01:51 +00:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
//
|
2020-03-21 15:24:24 +00:00
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
|
|
|
// any use, without warranty, 2011 by Wilson Snyder.
|
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
2011-07-24 19:01:51 +00:00
|
|
|
|
|
|
|
module sub;
|
|
|
|
integer i;
|
|
|
|
initial begin
|
|
|
|
i = 23.2;
|
2020-04-01 22:43:53 +00:00
|
|
|
i = 23.0; // No warning - often happens with units of time
|
2011-07-24 19:01:51 +00:00
|
|
|
end
|
|
|
|
endmodule
|