mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-28 23:49:20 +00:00
43 lines
786 B
Verilog
43 lines
786 B
Verilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
|
// any use, without warranty, 2011 by Wilson Snyder.
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
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
|