verilator/test_regress/t/t_var_set_link.v
2008-12-30 14:34:01 -05:00

26 lines
512 B
Verilog

// DESCRIPTION: Verilator: Verilog Test module
// This file ONLY is placed into the Public Domain, for any use,
// without warranty, 2008 by Wilson Snyder.
module t (/*AUTOARG*/
// Outputs
state,
// Inputs
clk
);
input clk;
// Gave "Internal Error: V3Broken.cpp:: Broken link in node"
output [1:0] state;
reg [1:0] state = 2'b11;
always @ (posedge clk) begin
state <= state;
end
initial begin
$write("*-* All Finished *-*\n");
$finish;
end
endmodule