verilator/test_regress/t/t_lint_implicit_port.v
2014-03-14 20:19:56 -04:00

33 lines
562 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*/
// Inputs
clk
);
input clk;
logic oe;
read r (.clk(clk), .data( ( ( oe == 1'd001 ) && implicit_write ) ) );
set s (.clk(clk), .enable(implicit_write));
read u (.clk(clk), .data(~implicit_also));
endmodule
module set (
input clk,
output enable
);
assign enable = 1'b0;
endmodule
module read (
input clk,
input data
);
endmodule