mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-30 09:28:12 +02:00
generate consistent hashes within interface conversion
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
module top;
|
||||
generate
|
||||
if (1) begin : intf
|
||||
wire x;
|
||||
end
|
||||
endgenerate
|
||||
wire y;
|
||||
genvar i, j, k;
|
||||
generate
|
||||
for (i = 2; i >= 0; i = i - 1) begin
|
||||
initial $display("ModuleA %b %b", intf.x, y);
|
||||
for (j = 2; j >= 0; j = j - 1) begin
|
||||
initial $display("ModuleB %b %b", intf.x, y);
|
||||
for (k = 2; k >= 0; k = k - 1) begin
|
||||
initial $display("ModuleC %b %b", intf.x, y);
|
||||
end
|
||||
end
|
||||
end
|
||||
endgenerate
|
||||
endmodule
|
||||
Reference in New Issue
Block a user