Skip to content

Commit

Permalink
Update golds
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardt committed Aug 21, 2018
1 parent 8cfd5b6 commit 78d31d0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_circuit/gold/test_for_loop_def.v
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,24 @@ 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
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
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
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
And2 inst3 (.I0(inst2_O), .I1(I[1]), .O(inst3_O));
// Wired at tests/test_circuit/test_define.py:50
assign O = inst3_O;
Expand Down
9 changes: 9 additions & 0 deletions tests/test_circuit/gold/test_interleaved_instance_wiring.v
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,19 @@ 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
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
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
And2 inst2 (.I0(inst1_O), .I1(I[0]), .O(inst2_O));
// Wired at tests/test_circuit/test_define.py:80
assign O = inst2_O;
Expand Down
3 changes: 3 additions & 0 deletions tests/test_circuit/gold/test_simple_def.v
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
module main (input [1:0] I, output O);
wire inst0_O;
// Instanced at tests/test_circuit/test_define.py:16
// Argument I0(I[0]) wired at tests/test_circuit/test_define.py:18
// Argument I1(I[1]) wired at tests/test_circuit/test_define.py:19
// Argument O(inst0_O) wired at tests/test_circuit/test_define.py:20
And2 inst0 (.I0(I[0]), .I1(I[1]), .O(inst0_O));
// Wired at tests/test_circuit/test_define.py:20
assign O = inst0_O;
Expand Down

0 comments on commit 78d31d0

Please sign in to comment.