summaryrefslogtreecommitdiffstats
path: root/share/symbols/LogicSymbols.svg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--share/symbols/LogicSymbols.svg158
1 files changed, 158 insertions, 0 deletions
diff --git a/share/symbols/LogicSymbols.svg b/share/symbols/LogicSymbols.svg
new file mode 100644
index 0000000..14d2584
--- /dev/null
+++ b/share/symbols/LogicSymbols.svg
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<!-- Created by Tavmjong Bah -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ width="400"
+ height="300"
+ version="1.1"
+ style="fill:none;stroke:#000000;stroke-width:2">
+ <title>Logic Symbols</title>
+ <defs>
+ <symbol id="Xnor_Gate">
+ <title>Xnor Gate</title>
+ <path
+ d="M 24.65625,70 45,70 C 65,70 75,50 75,50 75,50 70,30 45,30 l -20.34375,0 c 1.789926,3.094188 3.151364,6.453471 4.0625,10 C 29.54012,43.197121 30,46.545819 30,50 30,53.454181 29.54012,56.802879 28.71875,60 27.807614,63.546529 26.446176,66.905812 24.65625,70 Z" />
+ <path
+ d="m 80,50 c 0,1.380712 -1.119288,2.5 -2.5,2.5 C 76.119288,52.5 75,51.380712 75,50 75,48.619288 76.119288,47.5 77.5,47.5 78.880712,47.5 80,48.619288 80,50 Z" />
+ <path
+ d="M 18.65625,70 C 22.629549,64.322431 25,57.455703 25,50 25,42.544297 22.629549,35.677569 18.65625,30" />
+ </symbol>
+ <symbol id="Xor_Gate">
+ <title>Xor Gate</title>
+ <path
+ d="M 24.65625,70 45,70 C 65,70 75,50 75,50 75,50 70,30 45,30 l -20.34375,0 c 1.789926,3.094188 3.151364,6.453471 4.0625,10 C 29.54012,43.197121 30,46.545819 30,50 30,53.454181 29.54012,56.802879 28.71875,60 27.807614,63.546529 26.446176,66.905812 24.65625,70 Z" />
+ <path
+ d="M 18.65625,70 C 22.629549,64.322431 25,57.455703 25,50 25,42.544297 22.629549,35.677569 18.65625,30" />
+ </symbol>
+ <symbol id="Nor_Gate">
+ <title>Nor Gate</title>
+ <path
+ d="M 24.65625,70 45,70 C 65,70 75,50 75,50 75,50 70,30 45,30 l -20.34375,0 c 1.789926,3.094188 3.151364,6.453471 4.0625,10 C 29.54012,43.197121 30,46.545819 30,50 30,53.454181 29.54012,56.802879 28.71875,60 27.807614,63.546529 26.446176,66.905812 24.65625,70 Z" />
+ <path
+ d="m 80,50 c 0,1.380712 -1.119288,2.5 -2.5,2.5 C 76.119288,52.5 75,51.380712 75,50 75,48.619288 76.119288,47.5 77.5,47.5 78.880712,47.5 80,48.619288 80,50 Z" />
+ </symbol>
+ <symbol id="Or_Gate">
+ <title>Or Gate</title>
+ <path
+ d="M 24.65625,70 45,70 C 65,70 75,50 75,50 75,50 70,30 45,30 l -20.34375,0 c 1.789926,3.094188 3.151364,6.453471 4.0625,10 C 29.54012,43.197121 30,46.545819 30,50 30,53.454181 29.54012,56.802879 28.71875,60 27.807614,63.546529 26.446176,66.905812 24.65625,70 Z" />
+ </symbol>
+ <symbol id="Nand_Gate">
+ <title>Nand Gate</title>
+ <path
+ d="m 25,70 0,-10 0,-10 0,-10 0,-10 30,0 C 66.045695,30 75,38.954305 75,50 75,61.045695 66.045695,70 55,70 Z" />
+ <path
+ d="m 80,50 c 0,1.380712 -1.119288,2.5 -2.5,2.5 C 76.119288,52.5 75,51.380712 75,50 75,48.619288 76.119288,47.5 77.5,47.5 78.880712,47.5 80,48.619288 80,50 Z" />
+ </symbol>
+ <symbol id="And_Gate">
+ <title>And Gate</title>
+ <path
+ d="m 25,70 0,-10 0,-10 0,-10 0,-10 30,0 C 66.045695,30 75,38.954305 75,50 75,61.045695 66.045695,70 55,70 Z" />
+ </symbol>
+ <symbol id="Buffer">
+ <title>Buffer</title>
+ <path
+ d="M 25,30 75,50 25,70 25,50 Z" />
+ </symbol>
+ <symbol id="Not_Gate">
+ <title>Not Gate</title>
+ <path
+ style="stroke-miterlimit:2"
+ d="M 25,30 75,50 25,70 25,50 Z" />
+ <path
+ d="m 80,50 c 0,1.380712 -1.119288,2.5 -2.5,2.5 C 76.119288,52.5 75,51.380712 75,50 75,48.619288 76.119288,47.5 77.5,47.5 78.880712,47.5 80,48.619288 80,50 Z" />
+ </symbol>
+ <symbol id="Buffer_Small">
+ <title>Buffer Small</title>
+ <path
+ d="m 37.711573,40 25,10 L 37.711573,60 Z" />
+ </symbol>
+ <symbol id="Not_Gate_Small">
+ <title>Not Gate Small</title>
+ <path
+ d="m 67.5,50 c 0,1.380712 -1.119288,2.5 -2.5,2.5 -1.380712,0 -2.5,-1.119288 -2.5,-2.5 0,-1.380712 1.119288,-2.5 2.5,-2.5 C 66.380712,47.5 67.5,48.619288 67.5,50 Z" />
+ <path
+ d="m 37.711573,40 25,10 L 37.711573,60 Z"
+ style="stroke-miterlimit:2" />
+ </symbol>
+ </defs>
+ <use
+ xlink:href="#And_Gate" />
+ <use
+ xlink:href="#Nand_Gate"
+ transform="translate(0,50)" />
+ <use
+ xlink:href="#Or_Gate"
+ transform="translate(75,0)" />
+ <use
+ xlink:href="#Nor_Gate"
+ transform="translate(75,50)" />
+ <use
+ xlink:href="#Xor_Gate"
+ transform="translate(150,0)" />
+ <use
+ xlink:href="#Xnor_Gate"
+ transform="translate(150,50)" />
+ <use
+ xlink:href="#Buffer"
+ transform="translate(225,0)" />
+ <use
+ xlink:href="#Not_Gate"
+ transform="translate(225,50)" />
+ <use
+ xlink:href="#Buffer_Small"
+ transform="translate(300,0)" />
+ <use
+ xlink:href="#Not_Gate_Small"
+ transform="translate(300,50)" />
+ <g>
+ <use
+ xlink:href="#Nor_Gate"
+ transform="translate(25,150)" />
+ <use
+ xlink:href="#And_Gate"
+ transform="translate(25,200)" />
+ <use
+ xlink:href="#Or_Gate"
+ transform="translate(100,175)" />
+ <path d="m 25,190 c 5,0 28.71875,0 28.71875,0" />
+ <path d="m 25,210 28.71875,0" />
+ <path d="m 25,240 25,0" />
+ <path d="m 25,260 25,0" />
+ <path d="m 105,200 10,0 0,15 13.71875,0" />
+ <path d="m 100,250 15,0 0,-15 13.71875,0" />
+ <path d="m 175,225 25,0" />
+ </g>
+ <g id="flipflop">
+ <use
+ xlink:href="#Nand_Gate"
+ transform="translate(250,130)" />
+ <use
+ transform="translate(250,220)"
+ xlink:href="#Nand_Gate" />
+ <path d="m 225,170 50,0" />
+ <path d="m 225,280 50,0" />
+ <path d="m 350,180 0,20 -100,40 0,20 25,0" />
+ <path d="m 350,270 0,-20 -100,-40 0,-20 25,0" />
+ <path d="m 330,180 45,0" />
+ <path d="m 330,270 45,0" />
+ </g>
+ <text
+ xml:space="preserve"
+ style="font-size:15px;fill:#000000;stroke:none;font-family:DejaVu Sans"
+ x="15"
+ y="20"><tspan
+ id="tspan8972"
+ x="15"
+ y="20"
+ style="">Symbols</tspan></text>
+ <text
+ y="155"
+ x="15"
+ style="font-size:15px;fill:#000000;stroke:none;font-family:DejaVu Sans"
+ xml:space="preserve"><tspan
+ y="155"
+ x="15"
+ style="">Example Use</tspan></text>
+</svg>