-
Notifications
You must be signed in to change notification settings - Fork 22
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
5 changed files
with
66 additions
and
64 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
// Defined at tests/test_circuit/test_define.py:37 | ||
// Defined at tests/test_circuit/test_define.py:52 | ||
module main (input [1:0] I, output O); | ||
wire inst0_O; | ||
wire inst1_O; | ||
wire inst2_O; | ||
wire inst3_O; | ||
// Instanced at tests/test_circuit/test_define.py:41 | ||
// Argument I0(I[0]) wired at tests/test_circuit/test_define.py:43 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:44 | ||
// Argument O(inst0_O) wired at tests/test_circuit/test_define.py:46 | ||
// Instanced at tests/test_circuit/test_define.py:56 | ||
// Argument I0(I[0]) wired at tests/test_circuit/test_define.py:58 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:59 | ||
// Argument O(inst0_O) wired at tests/test_circuit/test_define.py:61 | ||
And2 inst0 (.I0(I[0]), .I1(I[1]), .O(inst0_O)); | ||
// Instanced at tests/test_circuit/test_define.py:41 | ||
// Argument I0(inst0_O) wired at tests/test_circuit/test_define.py:46 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:47 | ||
// Argument O(inst1_O) wired at tests/test_circuit/test_define.py:46 | ||
// Instanced at tests/test_circuit/test_define.py:56 | ||
// Argument I0(inst0_O) wired at tests/test_circuit/test_define.py:61 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:62 | ||
// Argument O(inst1_O) wired at tests/test_circuit/test_define.py:61 | ||
And2 inst1 (.I0(inst0_O), .I1(I[1]), .O(inst1_O)); | ||
// Instanced at tests/test_circuit/test_define.py:41 | ||
// Argument I0(inst1_O) wired at tests/test_circuit/test_define.py:46 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:47 | ||
// Argument O(inst2_O) wired at tests/test_circuit/test_define.py:46 | ||
// Instanced at tests/test_circuit/test_define.py:56 | ||
// Argument I0(inst1_O) wired at tests/test_circuit/test_define.py:61 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:62 | ||
// Argument O(inst2_O) wired at tests/test_circuit/test_define.py:61 | ||
And2 inst2 (.I0(inst1_O), .I1(I[1]), .O(inst2_O)); | ||
// Instanced at tests/test_circuit/test_define.py:41 | ||
// Argument I0(inst2_O) wired at tests/test_circuit/test_define.py:46 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:47 | ||
// Argument O(inst3_O) wired at tests/test_circuit/test_define.py:50 | ||
// Instanced at tests/test_circuit/test_define.py:56 | ||
// Argument I0(inst2_O) wired at tests/test_circuit/test_define.py:61 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:62 | ||
// Argument O(inst3_O) wired at tests/test_circuit/test_define.py:65 | ||
And2 inst3 (.I0(inst2_O), .I1(I[1]), .O(inst3_O)); | ||
// Wired at tests/test_circuit/test_define.py:50 | ||
// Wired at tests/test_circuit/test_define.py:65 | ||
assign O = inst3_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
28 changes: 14 additions & 14 deletions
28
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:67 | ||
// Defined at tests/test_circuit/test_define.py:82 | ||
module main (input [1:0] I, output O); | ||
wire inst0_O; | ||
wire inst1_O; | ||
wire inst2_O; | ||
// Instanced at tests/test_circuit/test_define.py:69 | ||
// Argument I0(I[0]) wired at tests/test_circuit/test_define.py:72 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:73 | ||
// Argument O(inst0_O) wired at tests/test_circuit/test_define.py:74 | ||
// Instanced at tests/test_circuit/test_define.py:84 | ||
// Argument I0(I[0]) wired at tests/test_circuit/test_define.py:87 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:88 | ||
// Argument O(inst0_O) wired at tests/test_circuit/test_define.py:89 | ||
And2 inst0 (.I0(I[0]), .I1(I[1]), .O(inst0_O)); | ||
// Instanced at tests/test_circuit/test_define.py:70 | ||
// Argument I0(inst0_O) wired at tests/test_circuit/test_define.py:74 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:75 | ||
// Argument O(inst1_O) wired at tests/test_circuit/test_define.py:77 | ||
// Instanced at tests/test_circuit/test_define.py:85 | ||
// Argument I0(inst0_O) wired at tests/test_circuit/test_define.py:89 | ||
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:90 | ||
// Argument O(inst1_O) wired at tests/test_circuit/test_define.py:92 | ||
And2 inst1 (.I0(inst0_O), .I1(I[1]), .O(inst1_O)); | ||
// Instanced at tests/test_circuit/test_define.py:76 | ||
// Argument I0(inst1_O) wired at tests/test_circuit/test_define.py:77 | ||
// Argument I1(I[0]) wired at tests/test_circuit/test_define.py:78 | ||
// Argument O(inst2_O) wired at tests/test_circuit/test_define.py:80 | ||
// Instanced at tests/test_circuit/test_define.py:91 | ||
// Argument I0(inst1_O) wired at tests/test_circuit/test_define.py:92 | ||
// Argument I1(I[0]) wired at tests/test_circuit/test_define.py:93 | ||
// Argument O(inst2_O) wired at tests/test_circuit/test_define.py:95 | ||
And2 inst2 (.I0(inst1_O), .I1(I[0]), .O(inst2_O)); | ||
// Wired at tests/test_circuit/test_define.py:80 | ||
// Wired at tests/test_circuit/test_define.py:95 | ||
assign O = inst2_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