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

26 lines
446 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed into the Public Domain, for any use,
// without warranty, 2012 by Chandan Egbert.
// SPDX-License-Identifier: CC0-1.0
module sub();
endmodule
module t(input logic a, input logic b,
output logic x, output logic y);
always_comb begin
integer i;
x = a;
end
sub u0();
always_comb begin
integer j;
y = b;
end
endmodule