verilator/test_regress/t/t_clocking_bad2.v

21 lines
468 B
Systemverilog
Raw Normal View History

2022-12-23 12:34:49 +00:00
// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2022 by 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;
default input #2 output #2;
output #1step out;
output out;
endclocking
endmodule