Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
210 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
// Defined at tests/test_circuit/test_define.py:55 | ||
// Defined at tests/test_circuit/test_define.py:57 | ||
module main (input [1:0] I, output O); | ||
wire And2_inst0_O; | ||
wire And2_inst1_O; | ||
wire And2_inst2_O; | ||
wire And2_inst3_O; | ||
// Instanced at tests/test_circuit/test_define.py:59 | ||
// Argument I0(I[0]) wired at tests/test_circuit/test_define.py:61 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:62 | ||
// Argument O(And2_inst0_O) wired at tests/test_circuit/test_define.py:64 | ||
And2 And2_inst0 (.I0(I[0]), .I1(I[1]), .O(And2_inst0_O)); | ||
// Instanced at tests/test_circuit/test_define.py:59 | ||
// Argument I0(And2_inst0_O) wired at tests/test_circuit/test_define.py:64 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:65 | ||
// Argument O(And2_inst1_O) wired at tests/test_circuit/test_define.py:64 | ||
And2 And2_inst1 (.I0(And2_inst0_O), .I1(I[1]), .O(And2_inst1_O)); | ||
// Instanced at tests/test_circuit/test_define.py:59 | ||
// Argument I0(And2_inst1_O) wired at tests/test_circuit/test_define.py:64 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:65 | ||
// Argument O(And2_inst2_O) wired at tests/test_circuit/test_define.py:64 | ||
And2 And2_inst2 (.I0(And2_inst1_O), .I1(I[1]), .O(And2_inst2_O)); | ||
// Instanced at tests/test_circuit/test_define.py:59 | ||
// Argument I0(And2_inst2_O) wired at tests/test_circuit/test_define.py:64 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:65 | ||
// Argument O(And2_inst3_O) wired at tests/test_circuit/test_define.py:68 | ||
And2 And2_inst3 (.I0(And2_inst2_O), .I1(I[1]), .O(And2_inst3_O)); | ||
// Wired at tests/test_circuit/test_define.py:68 | ||
assign O = And2_inst3_O; | ||
wire and2_0_O; | ||
wire and2_1_O; | ||
wire and2_2_O; | ||
wire and2_3_O; | ||
// Instanced at tests/test_circuit/test_define.py:61 | ||
// Argument I0(I[0]) wired at tests/test_circuit/test_define.py:63 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:64 | ||
// Argument O(and2_0_O) wired at tests/test_circuit/test_define.py:66 | ||
And2 and2_0 (.I0(I[0]), .I1(I[1]), .O(and2_0_O)); | ||
// Instanced at tests/test_circuit/test_define.py:61 | ||
// Argument I0(and2_0_O) wired at tests/test_circuit/test_define.py:66 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:67 | ||
// Argument O(and2_1_O) wired at tests/test_circuit/test_define.py:66 | ||
And2 and2_1 (.I0(and2_0_O), .I1(I[1]), .O(and2_1_O)); | ||
// Instanced at tests/test_circuit/test_define.py:61 | ||
// Argument I0(and2_1_O) wired at tests/test_circuit/test_define.py:66 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:67 | ||
// Argument O(and2_2_O) wired at tests/test_circuit/test_define.py:66 | ||
And2 and2_2 (.I0(and2_1_O), .I1(I[1]), .O(and2_2_O)); | ||
// Instanced at tests/test_circuit/test_define.py:61 | ||
// Argument I0(and2_2_O) wired at tests/test_circuit/test_define.py:66 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:67 | ||
// Argument O(and2_3_O) wired at tests/test_circuit/test_define.py:70 | ||
And2 and2_3 (.I0(and2_2_O), .I1(I[1]), .O(and2_3_O)); | ||
// Wired at tests/test_circuit/test_define.py:70 | ||
assign O = and2_3_O; | ||
endmodule | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 21 additions & 21 deletions
42
tests/test_circuit/gold/test_interleaved_instance_wiring.v
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
// Defined at tests/test_circuit/test_define.py:85 | ||
// Defined at tests/test_circuit/test_define.py:89 | ||
module main (input [1:0] I, output O); | ||
wire And2_inst0_O; | ||
wire And2_inst1_O; | ||
wire And2_inst2_O; | ||
// Instanced at tests/test_circuit/test_define.py:87 | ||
// Argument I0(I[0]) wired at tests/test_circuit/test_define.py:90 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:91 | ||
// Argument O(And2_inst0_O) wired at tests/test_circuit/test_define.py:92 | ||
And2 And2_inst0 (.I0(I[0]), .I1(I[1]), .O(And2_inst0_O)); | ||
// Instanced at tests/test_circuit/test_define.py:88 | ||
// Argument I0(And2_inst0_O) wired at tests/test_circuit/test_define.py:92 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:93 | ||
// Argument O(And2_inst1_O) wired at tests/test_circuit/test_define.py:95 | ||
And2 And2_inst1 (.I0(And2_inst0_O), .I1(I[1]), .O(And2_inst1_O)); | ||
// Instanced at tests/test_circuit/test_define.py:94 | ||
// Argument I0(And2_inst1_O) wired at tests/test_circuit/test_define.py:95 | ||
// Argument I1(I[0]) wired at tests/test_circuit/test_define.py:96 | ||
// Argument O(And2_inst2_O) wired at tests/test_circuit/test_define.py:98 | ||
And2 And2_inst2 (.I0(And2_inst1_O), .I1(I[0]), .O(And2_inst2_O)); | ||
// Wired at tests/test_circuit/test_define.py:98 | ||
assign O = And2_inst2_O; | ||
wire and2_0_O; | ||
wire and2_1_O; | ||
wire and2_2_O; | ||
// Instanced at tests/test_circuit/test_define.py:91 | ||
// Argument I0(I[0]) wired at tests/test_circuit/test_define.py:94 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:95 | ||
// Argument O(and2_0_O) wired at tests/test_circuit/test_define.py:96 | ||
And2 and2_0 (.I0(I[0]), .I1(I[1]), .O(and2_0_O)); | ||
// Instanced at tests/test_circuit/test_define.py:92 | ||
// Argument I0(and2_0_O) wired at tests/test_circuit/test_define.py:96 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:97 | ||
// Argument O(and2_1_O) wired at tests/test_circuit/test_define.py:99 | ||
And2 and2_1 (.I0(and2_0_O), .I1(I[1]), .O(and2_1_O)); | ||
// Instanced at tests/test_circuit/test_define.py:98 | ||
// Argument I0(and2_1_O) wired at tests/test_circuit/test_define.py:99 | ||
// Argument I1(I[0]) wired at tests/test_circuit/test_define.py:100 | ||
// Argument O(and2_2_O) wired at tests/test_circuit/test_define.py:102 | ||
And2 and2_2 (.I0(and2_1_O), .I1(I[0]), .O(and2_2_O)); | ||
// Wired at tests/test_circuit/test_define.py:102 | ||
assign O = and2_2_O; | ||
endmodule | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
// Defined at tests/test_circuit/test_define.py:16 | ||
module main (input [1:0] I, output O); | ||
wire And2_inst0_O; | ||
wire and2_O; | ||
// Instanced at tests/test_circuit/test_define.py:18 | ||
// Argument I0(I[0]) wired at tests/test_circuit/test_define.py:20 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:21 | ||
// Argument O(And2_inst0_O) wired at tests/test_circuit/test_define.py:22 | ||
And2 And2_inst0 (.I0(I[0]), .I1(I[1]), .O(And2_inst0_O)); | ||
// Argument O(and2_O) wired at tests/test_circuit/test_define.py:22 | ||
And2 and2 (.I0(I[0]), .I1(I[1]), .O(and2_O)); | ||
// Wired at tests/test_circuit/test_define.py:22 | ||
assign O = And2_inst0_O; | ||
assign O = and2_O; | ||
endmodule | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.