mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Tests: Rename inf to avoid VAMS errors
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// SPDX-FileCopyrightText: 2025 Antmicro
|
||||
// SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
interface inf;
|
||||
interface ifc;
|
||||
int v;
|
||||
function int get();
|
||||
return v;
|
||||
@@ -15,7 +15,9 @@ interface inf2;
|
||||
int k;
|
||||
endinterface
|
||||
|
||||
module GenericModule (interface a);
|
||||
module GenericModule (
|
||||
interface a
|
||||
);
|
||||
initial begin
|
||||
#1;
|
||||
if (a.get() != 4) $stop;
|
||||
@@ -23,7 +25,7 @@ module GenericModule (interface a);
|
||||
endmodule
|
||||
|
||||
module t;
|
||||
inf inf_inst();
|
||||
ifc inf_inst ();
|
||||
GenericModule genericModule (inf_inst);
|
||||
initial begin
|
||||
inf_inst.v = 4;
|
||||
|
||||
Reference in New Issue
Block a user