forked from github/verilator
20 lines
449 B
Systemverilog
20 lines
449 B
Systemverilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
|
// any use, without warranty, 2018 by Wilson Snyder.
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
// Make sure type errors aren't suppressable
|
|
// verilator lint_off WIDTH
|
|
|
|
module t(/*AUTOARG*/);
|
|
|
|
bit bad_parent;
|
|
sub sub
|
|
(.bad_sub_ref(bad_parent)); // Type mismatch
|
|
|
|
endmodule
|
|
|
|
module sub(ref real bad_sub_ref);
|
|
endmodule
|