verilator/test_regress/t/t_lint_implicit_port.v
2019-09-16 21:09:18 -04:00

33 lines
563 B
Systemverilog

// 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 ) ) );
sets s (.clk(clk), .enable(implicit_write));
read u (.clk(clk), .data(~implicit_also));
endmodule
module sets (
input clk,
output enable
);
assign enable = 1'b0;
endmodule
module read (
input clk,
input data
);
endmodule