-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-fixed deprecated yacc/bison name-prefix directive warning, shift/reduce-conflicts (sr) and reduce/reduce-conflicts (rr) of the spice-parser build by parse_spice.ypp and scan_spice.lpp: -sr-conflicts solved by introducing token/rule precedence -rr-conflicts solved by introducing token lookahead's in the spice scanner -verification of equalness of generated output from both the converter before and after the code change done with spice input bjt.cir done -fixed ra3xdh/qucs_s#967: -The lookahead-pattern for differentiate the 3-/4-/5-node spice-bjt erroneously contains newline. This causes read a spice bjt-line don't stop at new line and detect a 5-node bjt instead of 3-node bjt as happen for AD822X.cir of Opamp_AC_Tran.zip from the issue 967. This is fixed and tested against AD822X.cir. The critical lines from AD822X.cir are included in the bjt.cir qucsconv_rf testing example. Signed-off-by: ThomasZecha <[email protected]>
- Loading branch information
ThomasZecha
committed
Oct 22, 2024
1 parent
abeec88
commit cdf2767
Showing
3 changed files
with
122 additions
and
21 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.title dual rc ladder | ||
* file name rcrcac.cir | ||
*R1 int in 10k | ||
*V1 in 0 dc 0 ac 1 PULSE (0 5 1u 1u 1u 1 1) | ||
*R2 out int 1k | ||
*C1 int 0 1u | ||
*C2 out 0 100n | ||
|
||
Q1 A B C BJTNAME | ||
Q2 20 21 22 NPN 1.0 | ||
Q3 A B C BJTNAME 7.0 8.0 | ||
Q4 1 2 3 BJTNAME | ||
Q5 20 20 97 PNP | ||
Q6 21 21 22 A B NPN 1.0 | ||
Q7 A B C D BJTNAME | ||
|
||
.MODEL PNP PNP(BF=200 CJC=20pf CJE=20pf IS=1E-16) | ||
.MODEL NPN NPN(BF=200 CJC=20pf CJE=20pf IS=1E-16) | ||
.MODEL BJTNAME NPN(BF=200 CJC=20pf CJE=20pf IS=1E-16) | ||
|
||
.plot dc 1 2 3 4 5 6 7 8 | ||
|
||
*.control | ||
*ac dec 10 1 100k | ||
*plot vdb(out) | ||
*plot ph(out) | ||
*.endc | ||
|
||
|