mirror of
https://github.com/verilator/verilator.git
synced 2025-01-07 15:17:36 +00:00
8e7267f0e2
git-svn-id: file://localhost/svn/verilator/trunk/verilator@883 77ca24e4-aefa-0310-84f0-b9a241c72d87
27 lines
414 B
Verilog
27 lines
414 B
Verilog
// $Id$
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
// without warranty, 2007 by Wilson Snyder.
|
|
|
|
module t (/*AUTOARG*/
|
|
// Outputs
|
|
x,
|
|
// Inputs
|
|
clk
|
|
);
|
|
|
|
`ifdef ALLOW_UNOPT
|
|
/*verilator lint_off UNOPTFLAT*/
|
|
`endif
|
|
|
|
input clk;
|
|
output x; // Avoid eliminating x
|
|
|
|
reg x;
|
|
always @* begin
|
|
x = ~x;
|
|
end
|
|
|
|
endmodule
|