Skip to content

Commit

Permalink
Move symbols to library/symbols; convert symbols to new format
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3xdh committed Jun 17, 2024
1 parent 53b58c8 commit 43c4547
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 62 deletions.
2 changes: 2 additions & 0 deletions library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ xyce.blacklist
INSTALL( FILES ${COMPLIBS} ${BLACKLIST} DESTINATION share/${QUCS_NAME}/library )

ADD_SUBDIRECTORY( XyceDigital)
ADD_SUBDIRECTORY( symbols )

File renamed without changes.
21 changes: 21 additions & 0 deletions library/symbols/nmos4.sym
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<Qucs Schematic 24.2.1>
<Symbol>
<.ID 10 44 X>
<.PortSym 0 -30 1 90 >
<.PortSym 0 30 3 270 >
<.PortSym 20 0 4 180 >
<Line -14 -13 0 26 #000080 3 1>
<Line -10 -11 10 0 #000080 2 1>
<Line 0 -11 0 -19 #000080 2 1>
<Line -10 11 10 0 #000080 2 1>
<Line 0 11 0 19 #000080 2 1>
<Line -10 0 30 0 #000080 2 1>
<Line -10 -16 0 9 #000080 3 1>
<Line -10 7 0 9 #000080 3 1>
<Line -4 24 8 -4 #000080 2 1>
<Line -1 0 -5 -5 #000080 2 1>
<Line -1 0 -5 5 #000080 2 1>
<Line -10 -4 0 8 #000080 3 1>
<Line -30 0 16 0 #000080 2 1>
<.PortSym -30 0 2 0 >
</Symbol>
16 changes: 16 additions & 0 deletions library/symbols/opamp3t.sym
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Qucs Schematic 24.2.1>
<Symbol>
<Line -20 -40 0 80 #000080 2 1>
<Line -20 -40 60 40 #000080 2 1>
<Line -20 40 60 -40 #000080 2 1>
<Line 40 0 20 0 #000080 2 1>
<Line -40 -20 20 0 #000080 2 1>
<Line -40 20 20 0 #000080 2 1>
<Line -15 20 10 0 #000000 2 1>
<Line -10 -25 0 10 #ff0000 0 1>
<Line -15 -20 10 0 #ff0000 0 1>
<.PortSym -40 20 2 0 >
<.PortSym -40 -20 1 0 >
<.PortSym 60 0 3 180 >
<.ID 30 24 OP>
</Symbol>
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<Qucs Schematic 24.2.1>
<Symbol>
<Line -20 -40 0 80 #000080 2 1>
<Line -20 -40 60 40 #000080 2 1>
Expand Down
21 changes: 21 additions & 0 deletions library/symbols/pmos4.sym
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<Qucs Schematic 24.2.1>
<Symbol>
<.PortSym 0 -30 1 90 >
<.PortSym -30 0 2 0 >
<.PortSym 20 0 4 180 >
<Line -14 -13 0 26 #000080 3 1>
<Line -30 0 16 0 #000080 2 1>
<Line -10 -11 10 0 #000080 2 1>
<Line 0 -11 0 -19 #000080 2 1>
<Line -10 11 10 0 #000080 2 1>
<Line 0 11 0 19 #000080 2 1>
<Line -10 0 30 0 #000080 2 1>
<Line -10 -16 0 9 #000080 3 1>
<Line -10 7 0 9 #000080 3 1>
<Line -4 24 8 -4 #000080 2 1>
<Line -9 0 5 -5 #000080 2 1>
<Line -9 0 5 5 #000080 2 1>
<Line -10 -4 0 8 #000080 3 1>
<.PortSym 0 30 3 270 >
<.ID 20 14 X>
</Symbol>
1 change: 0 additions & 1 deletion qucs/spicecomponents/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ spicelibcomp.h

ADD_LIBRARY(spicecomponents STATIC ${COMPONENTS_HDRS} ${COMPONENTS_SRCS} ${COMPONENTS_MOC_SRCS} )

ADD_SUBDIRECTORY( symbols )



Expand Down
23 changes: 0 additions & 23 deletions qucs/spicecomponents/symbols/nmos4.sym

This file was deleted.

15 changes: 0 additions & 15 deletions qucs/spicecomponents/symbols/opamp3t.sym

This file was deleted.

23 changes: 0 additions & 23 deletions qucs/spicecomponents/symbols/pmos4.sym

This file was deleted.

0 comments on commit 43c4547

Please sign in to comment.