forked from github/verilator
21 lines
481 B
Systemverilog
21 lines
481 B
Systemverilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
// without warranty, 2017 by Johan Bjork.
|
|
|
|
// bug1593
|
|
|
|
interface simple_bus #(PARAMETER = 0);
|
|
parameter [6:0] dummy = 22;
|
|
endinterface
|
|
|
|
module t ();
|
|
simple_bus sb_intf();
|
|
simple_bus #(.PARAMETER($bits(sb_intf.dummy))) simple();
|
|
initial begin
|
|
if (simple.PARAMETER != 7) $stop;
|
|
$write("*-* All Finished *-*\n");
|
|
$finish;
|
|
end
|
|
endmodule
|