mirror of
https://github.com/verilator/verilator.git
synced 2025-01-07 15:17:36 +00:00
42 lines
732 B
Verilog
42 lines
732 B
Verilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
// without warranty, 2011 by Wilson Snyder.
|
|
|
|
module t (/*AUTOARG*/
|
|
// Inputs
|
|
clk
|
|
);
|
|
|
|
input clk;
|
|
|
|
always @(*) begin
|
|
if (clk) begin end
|
|
end
|
|
|
|
always @(* ) begin
|
|
if (clk) begin end
|
|
end
|
|
|
|
// Not legal in some simulators, legal in others
|
|
// always @(* /*cmt*/ ) begin
|
|
// if (clk) begin end
|
|
// end
|
|
|
|
// Not legal in some simulators, legal in others
|
|
// always @(* // cmt
|
|
// ) begin
|
|
// if (clk) begin end
|
|
// end
|
|
|
|
always @ (*
|
|
) begin
|
|
if (clk) begin end
|
|
end
|
|
|
|
initial begin
|
|
$write("*-* All Finished *-*\n");
|
|
$finish;
|
|
end
|
|
endmodule
|