21 lines
489 B
Systemverilog
21 lines
489 B
Systemverilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed under the Creative Commons Public Domain.
|
|
// SPDX-FileCopyrightText: 2022 Antmicro Ltd
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
module t(/*AUTOARG*/
|
|
// Inputs
|
|
clk
|
|
);
|
|
input clk;
|
|
|
|
logic in, out;
|
|
clocking cb @(posedge clk);
|
|
default input #1 output #1step; // Now allowed
|
|
default input #2 output #2;
|
|
output #1step out; // Now allowed
|
|
output out;
|
|
endclocking
|
|
endmodule
|