verilator/test_regress/t/t_fuzz_genintf_bad.v
2020-03-21 11:24:24 -04:00

30 lines
469 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2019 by Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
//bug1588
interface intf;
logic a;
modport source(output a);
endinterface
module m1
(
input logic value,
intf.source b
);
endmodule
module t;
intf ifs;
m1 m0(
j.e(0),
.b(ifs)
);
genvar j;
endmodule