forked from github/verilator
29 lines
415 B
Systemverilog
29 lines
415 B
Systemverilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
// without warranty, 2019 by Wilson Snyder.
|
|
|
|
//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
|