2011-02-15 01:25:30 +01:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
|
//
|
2026-01-27 02:24:34 +01:00
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain.
|
|
|
|
|
// SPDX-FileCopyrightText: 2011 Wilson Snyder
|
2020-03-21 16:24:24 +01:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
2011-02-15 01:25:30 +01:00
|
|
|
|
2025-09-13 15:28:43 +02:00
|
|
|
module t;
|
2011-02-15 01:25:30 +01:00
|
|
|
|
2026-03-08 23:26:40 +01:00
|
|
|
initial begin
|
|
|
|
|
// verilator lint_off IGNOREDRETURN
|
|
|
|
|
func(0, 1'b1);
|
|
|
|
|
end
|
2011-02-15 01:25:30 +01:00
|
|
|
|
2026-03-08 23:26:40 +01:00
|
|
|
function automatic int func(input int a, output bit b);
|
|
|
|
|
return 0;
|
|
|
|
|
endfunction
|
2011-02-15 01:25:30 +01:00
|
|
|
|
|
|
|
|
endmodule
|