Move symbols to library/symbols; convert symbols to new format

This commit is contained in:
Vadim Kuznetsov 2024-06-17 19:15:13 +03:00
parent 53b58c8a45
commit 43c45477cb
10 changed files with 61 additions and 62 deletions

View File

@ -47,3 +47,5 @@ xyce.blacklist
INSTALL( FILES ${COMPLIBS} ${BLACKLIST} DESTINATION share/${QUCS_NAME}/library )
ADD_SUBDIRECTORY( XyceDigital)
ADD_SUBDIRECTORY( symbols )

21
library/symbols/nmos4.sym Normal file
View File

@ -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>

View File

@ -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>

View File

@ -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>

21
library/symbols/pmos4.sym Normal file
View File

@ -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>

View File

@ -194,7 +194,6 @@ spicelibcomp.h
ADD_LIBRARY(spicecomponents STATIC ${COMPONENTS_HDRS} ${COMPONENTS_SRCS} ${COMPONENTS_MOC_SRCS} )
ADD_SUBDIRECTORY( symbols )

View File

@ -1,23 +0,0 @@
<Symbol>
<Line -14 -13 0 26 #800000 3 1>
<Line -30 0 10 0 #000080 3 1>
<Line -20 0 6 0 #800000 3 1>
<Line -10 -11 10 0 #800000 3 1>
<Line 0 -11 0 -9 #800000 3 1>
<Line 0 -20 0 -10 #000080 3 1>
<Line -10 11 10 0 #800000 3 1>
<Line 0 11 0 9 #800000 3 1>
<Line 0 20 0 10 #000080 3 1>
<Line -10 0 20 0 #800000 3 1>
<Line 10 0 10 0 #000080 3 1>
<Line -10 -16 0 9 #800000 3 1>
<Line -10 7 0 9 #800000 3 1>
<Line -9 0 5 -5 #800000 3 1>
<Line -9 0 5 5 #800000 3 1>
<Line -10 -8 0 16 #800000 3 1>
<.PortSym 0 -30 1 90>
<.PortSym -30 0 2 0>
<.PortSym 0 30 3 270>
<.PortSym 20 0 4 180>
<.ID 30 12 M>
</Symbol>

View File

@ -1,15 +0,0 @@
<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 5 180>
<.ID 30 24 OP>
</Symbol>

View File

@ -1,23 +0,0 @@
<Symbol>
<Line -14 -13 0 26 #800000 3 1>
<Line -30 0 10 0 #000080 3 1>
<Line -20 0 6 0 #800000 3 1>
<Line -10 -11 10 0 #800000 3 1>
<Line 0 -11 0 -9 #800000 3 1>
<Line 0 -20 0 -10 #000080 3 1>
<Line -10 11 10 0 #800000 3 1>
<Line 0 11 0 9 #800000 3 1>
<Line 0 20 0 10 #000080 3 1>
<Line -10 0 20 0 #800000 3 1>
<Line 10 0 10 0 #000080 3 1>
<Line -10 -16 0 9 #800000 3 1>
<Line -10 7 0 9 #800000 3 1>
<Line -1 0 -5 -5 #800000 3 1>
<Line -1 0 -5 5 #800000 3 1>
<Line -10 -8 0 16 #800000 3 1>
<.PortSym 0 -30 1 90>
<.PortSym -30 0 2 0>
<.PortSym 0 30 3 270>
<.PortSym 20 0 4 180>
<.ID 30 12 M>
</Symbol>