-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed issue #1608 (Device extractor error shape) * New test data * Add-on: pressing Esc on the netlist or marker browser clears markers * Updated test data --------- Co-authored-by: Matthias Koefferlein <[email protected]>
- Loading branch information
1 parent
5712c8a
commit 51bad46
Showing
10 changed files
with
358 additions
and
11 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 |
---|---|---|
|
@@ -138,6 +138,7 @@ class LAYUI_PUBLIC Browser | |
|
||
void closeEvent (QCloseEvent *); | ||
void accept (); | ||
void reject (); | ||
}; | ||
|
||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
* cell TOP | ||
.SUBCKT TOP | ||
* cell instance $1 r180 *1 2,2.6 | ||
X$1 6 1 A | ||
* cell instance $2 r0 *1 2.2,1 | ||
X$2 6 5 A | ||
* device instance $1 r0 *1 0.8,0.75 RPP1 | ||
R$1 2 1 0.555555555556 RPP1 | ||
.ENDS TOP | ||
|
||
* cell A | ||
* pin | ||
* pin | ||
.SUBCKT A 1 2 | ||
* device instance $1 r0 *1 -0.2,0.4 RPP1 | ||
R$1 1 2 1.25 RPP1 | ||
.ENDS A |
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,103 @@ | ||
#%l2n-klayout | ||
W(TOP) | ||
U(0.001) | ||
L(l4 '15/0') | ||
L(l3 '16/0') | ||
L(l1) | ||
C(l4 l4 l3 l1) | ||
C(l3 l4 l3) | ||
C(l1 l4 l1) | ||
H(E B('Resistor shape does not touch marker border in exactly two places') C(TOP) X('device-extract') Q('(0.8,0.75;0.8,1.15;1,1.15;1,0.75)')) | ||
H(E B('Resistor shape does not touch marker border in exactly two places') C(TOP) X('device-extract') Q('(0,0.75;0,1.15;0.2,1.15;0.2,0.75)')) | ||
H(E B('Resistor shape does not touch marker border in exactly two places') C(A) X('device-extract') Q('(0.85,-0.4;0.85,-0.2;1.25,-0.2;1.25,-0.4)')) | ||
K(RPP1 RES) | ||
D(D$RPP1 RPP1 | ||
T(A | ||
R(l1 (0 400) (200 300)) | ||
) | ||
T(B | ||
R(l1 (0 1200) (200 250)) | ||
) | ||
) | ||
D(D$RPP1$1 RPP1 | ||
T(A | ||
R(l1 (0 0) (250 200)) | ||
) | ||
T(B | ||
R(l1 (750 0) (250 200)) | ||
) | ||
) | ||
X(A | ||
R((-200 -450) (1750 1350)) | ||
N(1 | ||
R(l4 (-150 450) (100 100)) | ||
R(l3 (-150 -150) (200 500)) | ||
R(l1 (-200 -500) (250 200)) | ||
) | ||
N(2 | ||
R(l4 (650 450) (100 100)) | ||
R(l4 (-100 -900) (100 100)) | ||
R(l3 (-150 200) (200 650)) | ||
R(l3 (-200 -1000) (200 500)) | ||
R(l1 (-250 300) (250 200)) | ||
R(l1 (-200 -1000) (250 200)) | ||
) | ||
N(3 | ||
R(l4 (1450 -350) (100 100)) | ||
) | ||
P(1) | ||
P(2) | ||
D(1 D$RPP1$1 | ||
Y(-200 400) | ||
E(R 1.25) | ||
E(L 0.5) | ||
E(W 0.2) | ||
E(A 0.1) | ||
E(P 1.4) | ||
T(A 1) | ||
T(B 2) | ||
) | ||
) | ||
X(TOP | ||
R((-50 450) (3800 2600)) | ||
N(1 | ||
R(l4 (850 2050) (100 100)) | ||
R(l3 (-150 -150) (500 200)) | ||
R(l1 (-500 -250) (200 250)) | ||
) | ||
N(2 | ||
R(l4 (850 1250) (100 100)) | ||
R(l4 (-100 -100) (100 100)) | ||
R(l4 (-900 -100) (100 100)) | ||
R(l3 (200 -150) (650 200)) | ||
R(l3 (-1000 -200) (500 200)) | ||
R(l1 (300 -250) (200 300)) | ||
R(l1 (-1000 -300) (200 250)) | ||
) | ||
N(3 | ||
R(l4 (50 450) (100 100)) | ||
) | ||
N(4 | ||
R(l4 (850 450) (100 100)) | ||
) | ||
N(5) | ||
N(6) | ||
D(1 D$RPP1 | ||
Y(800 750) | ||
E(R 0.555555555556) | ||
E(L 0.333333333333) | ||
E(W 0.3) | ||
E(A 0.1) | ||
E(P 1.26666666667) | ||
T(A 2) | ||
T(B 1) | ||
) | ||
X(1 A O(180) Y(2000 2600) | ||
P(0 6) | ||
P(1 1) | ||
) | ||
X(2 A Y(2200 1000) | ||
P(0 6) | ||
P(1 5) | ||
) | ||
) |
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 |
---|---|---|
@@ -0,0 +1,103 @@ | ||
#%l2n-klayout | ||
W(TOP) | ||
U(0.001) | ||
L(l4 '15/0') | ||
L(l3 '16/0') | ||
L(l1) | ||
C(l4 l4 l3 l1) | ||
C(l3 l4 l3) | ||
C(l1 l4 l1) | ||
H(E B('Resistor shape does not touch marker border in exactly two places') C(TOP) X('device-extract') Q('(0,0.75;0,1.15;0.2,1.15;0.2,0.75)')) | ||
H(E B('Resistor shape does not touch marker border in exactly two places') C(TOP) X('device-extract') Q('(0.8,0.75;0.8,1.15;1,1.15;1,0.75)')) | ||
H(E B('Resistor shape does not touch marker border in exactly two places') C(A) X('device-extract') Q('(0.85,-0.4;0.85,-0.2;1.25,-0.2;1.25,-0.4)')) | ||
K(RPP1 RES) | ||
D(D$RPP1 RPP1 | ||
T(A | ||
R(l1 (0 400) (200 300)) | ||
) | ||
T(B | ||
R(l1 (0 1200) (200 250)) | ||
) | ||
) | ||
D(D$RPP1$1 RPP1 | ||
T(A | ||
R(l1 (0 0) (250 200)) | ||
) | ||
T(B | ||
R(l1 (750 0) (250 200)) | ||
) | ||
) | ||
X(A | ||
R((-200 -450) (1750 1350)) | ||
N(1 | ||
R(l4 (-150 450) (100 100)) | ||
R(l3 (-150 -150) (200 500)) | ||
R(l1 (-200 -500) (250 200)) | ||
) | ||
N(2 | ||
R(l4 (650 450) (100 100)) | ||
R(l4 (-100 -900) (100 100)) | ||
R(l3 (-150 200) (200 650)) | ||
R(l3 (-200 -1000) (200 500)) | ||
R(l1 (-250 300) (250 200)) | ||
R(l1 (-200 -1000) (250 200)) | ||
) | ||
N(3 | ||
R(l4 (1450 -350) (100 100)) | ||
) | ||
P(1) | ||
P(2) | ||
D(1 D$RPP1$1 | ||
Y(-200 400) | ||
E(R 1.25) | ||
E(L 0.5) | ||
E(W 0.2) | ||
E(A 0.1) | ||
E(P 1.4) | ||
T(A 1) | ||
T(B 2) | ||
) | ||
) | ||
X(TOP | ||
R((-50 450) (3800 2600)) | ||
N(1 | ||
R(l4 (850 2050) (100 100)) | ||
R(l3 (-150 -150) (500 200)) | ||
R(l1 (-500 -250) (200 250)) | ||
) | ||
N(2 | ||
R(l4 (850 1250) (100 100)) | ||
R(l4 (-100 -100) (100 100)) | ||
R(l4 (-900 -100) (100 100)) | ||
R(l3 (200 -150) (650 200)) | ||
R(l3 (-1000 -200) (500 200)) | ||
R(l1 (300 -250) (200 300)) | ||
R(l1 (-1000 -300) (200 250)) | ||
) | ||
N(3 | ||
R(l4 (50 450) (100 100)) | ||
) | ||
N(4 | ||
R(l4 (850 450) (100 100)) | ||
) | ||
N(5) | ||
N(6) | ||
D(1 D$RPP1 | ||
Y(800 750) | ||
E(R 0.555555555556) | ||
E(L 0.333333333333) | ||
E(W 0.3) | ||
E(A 0.1) | ||
E(P 1.26666666667) | ||
T(A 2) | ||
T(B 1) | ||
) | ||
X(1 A O(180) Y(2000 2600) | ||
P(0 6) | ||
P(1 1) | ||
) | ||
X(2 A Y(2200 1000) | ||
P(0 6) | ||
P(1 5) | ||
) | ||
) |
Oops, something went wrong.