mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-23 06:32:11 +00:00
43 lines
786 B
Coq
43 lines
786 B
Coq
|
// 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
|