2024-09-17 23:38:18 +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: 2024 Wilson Snyder
|
2024-09-17 23:38:18 +02:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
2026-03-08 23:26:40 +01:00
|
|
|
class Cls #(
|
|
|
|
|
type T = bit
|
|
|
|
|
);
|
2024-09-17 23:38:18 +02:00
|
|
|
endclass
|
|
|
|
|
|
2025-09-13 15:28:43 +02:00
|
|
|
module t;
|
2024-09-17 23:38:18 +02:00
|
|
|
|
2026-03-08 23:26:40 +01:00
|
|
|
Cls #(bit) cb;
|
2024-09-17 23:38:18 +02:00
|
|
|
|
2026-03-08 23:26:40 +01:00
|
|
|
Cls #(Cls #(bit)) ccb;
|
2024-09-17 23:38:18 +02:00
|
|
|
|
2026-03-08 23:26:40 +01:00
|
|
|
initial begin
|
|
|
|
|
$write("*-* All Finished *-*\n");
|
|
|
|
|
$finish;
|
|
|
|
|
end
|
2024-09-17 23:38:18 +02:00
|
|
|
|
|
|
|
|
endmodule
|