2022-10-15 19:59:07 +02: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: 2022 Wilson Snyder
|
2022-10-15 19:59:07 +02:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
2025-05-17 04:32:25 +02:00
|
|
|
extern program ex_pgm;
|
|
|
|
|
extern interface ex_ifc;
|
|
|
|
|
extern module ex_mod;
|
2022-10-15 19:59:07 +02:00
|
|
|
|
2025-09-13 15:28:43 +02:00
|
|
|
module t;
|
2022-10-15 19:59:07 +02:00
|
|
|
|
2026-01-23 01:00:26 +01:00
|
|
|
ex_pgm u_pgm();
|
|
|
|
|
ex_ifc u_ifc();
|
|
|
|
|
ex_mod u_mod();
|
2022-10-15 19:59:07 +02:00
|
|
|
|
2026-01-23 01:00:26 +01:00
|
|
|
initial begin
|
|
|
|
|
$write("*-* All Finished *-*\n");
|
|
|
|
|
$finish;
|
|
|
|
|
end
|
2022-10-15 19:59:07 +02:00
|
|
|
|
|
|
|
|
endmodule
|
2026-01-23 01:00:26 +01:00
|
|
|
|
|
|
|
|
// Could be in another compile run, but we don't support that
|
|
|
|
|
program ex_pgm;
|
|
|
|
|
endprogram
|
|
|
|
|
|
|
|
|
|
interface ex_ifc;
|
|
|
|
|
endinterface
|
|
|
|
|
|
|
|
|
|
module ex_mod;
|
|
|
|
|
endmodule
|