Skip to content

Instantly share code, notes, and snippets.

@drom
Created March 19, 2020 01:12
Show Gist options
  • Save drom/6d5a29f55b2b68229af2079bbd356b7c to your computer and use it in GitHub Desktop.
Save drom/6d5a29f55b2b68229af2079bbd356b7c to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svgcontent_0"
viewBox="0 0 150 81"
width="150"
height="81"
class="WaveDrom"
version="1.1"
sodipodi:docname="gate1.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata3361">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs3359" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="3840"
inkscape:window-height="2089"
id="namedview3357"
showgrid="false"
inkscape:zoom="5.6568542"
inkscape:cx="93.574645"
inkscape:cy="5.1886999"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svgcontent_0" />
<style
id="style2518">.pinname {font-size:12px; font-style:normal; font-variant:normal; font-weight:500; font-stretch:normal; text-align:center; text-anchor:end; font-family:Helvetica} .wirename {font-size:12px; font-style:normal; font-variant:normal; font-weight:500; font-stretch:normal; text-align:center; text-anchor:start; font-family:Helvetica} .wirename:hover {fill:blue} .gate {color:#000; fill:#ffc; fill-opacity: 1;stroke:#000; stroke-width:1; stroke-opacity:1} .gate:hover {fill:red !important; } .wire {fill:none; stroke:#000; stroke-width:1; stroke-opacity:1} .grid {fill:#fff; fill-opacity:1; stroke:none}</style>
<rect
height="1"
width="1"
x="24"
y="14"
class="grid"
id="rect2692"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="24"
y="22"
class="grid"
id="rect2694"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="24"
y="30"
class="grid"
id="rect2696"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="32"
y="14"
class="grid"
id="rect2716"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="32"
y="22"
class="grid"
id="rect2718"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="32"
y="30"
class="grid"
id="rect2720"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="40"
y="14"
class="grid"
id="rect2740"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="40"
y="22"
class="grid"
id="rect2742"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="40"
y="30"
class="grid"
id="rect2744"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="48"
y="14"
class="grid"
id="rect2764"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="48"
y="22"
class="grid"
id="rect2766"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="48"
y="30"
class="grid"
id="rect2768"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="34"
y="38"
class="grid"
id="rect2770"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="34"
y="46"
class="grid"
id="rect2772"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="56"
y="14"
class="grid"
id="rect2788"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="56"
y="22"
class="grid"
id="rect2790"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="56"
y="30"
class="grid"
id="rect2792"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="42"
y="38"
class="grid"
id="rect2794"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="42"
y="46"
class="grid"
id="rect2796"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="64"
y="14"
class="grid"
id="rect2812"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="64"
y="22"
class="grid"
id="rect2814"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="64"
y="30"
class="grid"
id="rect2816"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="50"
y="38"
class="grid"
id="rect2818"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="50"
y="46"
class="grid"
id="rect2820"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="58"
y="14"
class="grid"
id="rect2836"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="58"
y="22"
class="grid"
id="rect2838"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="58"
y="30"
class="grid"
id="rect2840"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="58"
y="38"
class="grid"
id="rect2842"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="58"
y="46"
class="grid"
id="rect2844"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="66"
y="14"
class="grid"
id="rect2860"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="66"
y="22"
class="grid"
id="rect2862"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="66"
y="30"
class="grid"
id="rect2864"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="66"
y="38"
class="grid"
id="rect2866"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="66"
y="46"
class="grid"
id="rect2868"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="50"
y="54"
class="grid"
id="rect2870"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="50"
y="62"
class="grid"
id="rect2872"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="74"
y="22"
class="grid"
id="rect2886"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="74"
y="30"
class="grid"
id="rect2888"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="74"
y="38"
class="grid"
id="rect2890"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="74"
y="46"
class="grid"
id="rect2892"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="58"
y="54"
class="grid"
id="rect2894"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="58"
y="62"
class="grid"
id="rect2896"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="82"
y="22"
class="grid"
id="rect2910"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="82"
y="30"
class="grid"
id="rect2912"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="82"
y="38"
class="grid"
id="rect2914"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="82"
y="46"
class="grid"
id="rect2916"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="66"
y="54"
class="grid"
id="rect2918"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="66"
y="62"
class="grid"
id="rect2920"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="74"
y="22"
class="grid"
id="rect2934"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="74"
y="30"
class="grid"
id="rect2936"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="74"
y="38"
class="grid"
id="rect2938"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="74"
y="46"
class="grid"
id="rect2940"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="74"
y="54"
class="grid"
id="rect2942"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="74"
y="62"
class="grid"
id="rect2944"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="82"
y="22"
class="grid"
id="rect2958"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="82"
y="30"
class="grid"
id="rect2960"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="82"
y="38"
class="grid"
id="rect2962"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="82"
y="46"
class="grid"
id="rect2964"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="82"
y="54"
class="grid"
id="rect2966"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="82"
y="62"
class="grid"
id="rect2968"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="90"
y="30"
class="grid"
id="rect2984"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="90"
y="38"
class="grid"
id="rect2986"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="90"
y="46"
class="grid"
id="rect2988"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="98"
y="30"
class="grid"
id="rect3008"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="98"
y="38"
class="grid"
id="rect3010"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="98"
y="46"
class="grid"
id="rect3012"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="106"
y="38"
class="grid"
id="rect3034"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="106"
y="46"
class="grid"
id="rect3036"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="114"
y="38"
class="grid"
id="rect3058"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="114"
y="46"
class="grid"
id="rect3060"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="122"
y="38"
class="grid"
id="rect3082"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="122"
y="46"
class="grid"
id="rect3084"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="130"
y="38"
class="grid"
id="rect3106"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
height="1"
width="1"
x="130"
y="46"
class="grid"
id="rect3108"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<path
style="fill:none;stroke:#000000;stroke-width:1;stroke-opacity:1"
inkscape:connector-curvature="0"
id="path3218"
class="wire"
d="m 114.5,38.5 v 0" />
<path
style="fill:none;stroke:#000000;stroke-width:1;stroke-opacity:1"
inkscape:connector-curvature="0"
id="path3222"
class="wire"
d="m 98.5,38.5 h 16" />
<text
id="text3230"
x="130.5"
y="38.5">
<tspan
style="font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;font-size:12px;font-family:Helvetica;text-align:center;text-anchor:start"
id="tspan3228"
class="wirename"
y="42.5"
x="116.5">out</tspan>
</text>
<path
d="m 82.5,30.5 v 32"
class="wire"
id="path3236"
inkscape:connector-curvature="0"
style="fill:none;stroke:#000000;stroke-width:1;stroke-opacity:1" />
<path
d="m 66.5,62.5 h 16"
class="wire"
id="path3244"
inkscape:connector-curvature="0"
style="fill:none;stroke:#000000;stroke-width:1;stroke-opacity:1" />
<path
class="gate"
d="m 82.5,28.5 h 5 c 6,0 11,4 11,10 0,6 -5,10 -11,10 h -5 z m 20,10 c 0,1.1 -0.9,2 -2,2 -1.1,0 -2,-0.9 -2,-2 0,-1.1 0.9,-2 2,-2 1.1,0 2,0.9 2,2 z"
id="path3250"
inkscape:connector-curvature="0"
style="color:#000000;fill:#ffffcc;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-opacity:1" />
<path
style="fill:none;stroke:#000000;stroke-width:1;stroke-opacity:1"
inkscape:connector-curvature="0"
id="path3256"
class="wire"
d="m 66.5,22.5 v 24" />
<path
style="fill:none;stroke:#000000;stroke-width:1;stroke-opacity:1"
inkscape:connector-curvature="0"
id="path3264"
class="wire"
d="m 50.5,46.5 h 16" />
<path
style="color:#000000;fill:#ffffcc;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-opacity:1"
inkscape:connector-curvature="0"
id="path3270"
d="m 64.5,20.5 h 4 c 6,0 12,5 14,10 -2,5 -8,10 -14,10 h -4 c 2.5,-5 2.5,-15 0,-20 z"
class="gate" />
<path
d="m 48.5,14.5 v 16"
class="wire"
id="path3276"
inkscape:connector-curvature="0"
style="fill:none;stroke:#000000;stroke-width:1;stroke-opacity:1" />
<path
d="m 32.5,14.5 h 16"
class="wire"
id="path3280"
inkscape:connector-curvature="0"
style="fill:none;stroke:#000000;stroke-width:1;stroke-opacity:1" />
<path
d="m 32.5,30.5 h 16"
class="wire"
id="path3284"
inkscape:connector-curvature="0"
style="fill:none;stroke:#000000;stroke-width:1;stroke-opacity:1" />
<path
class="gate"
d="m 48.5,12.5 h 5 c 6,0 11,4 11,10 0,6 -5,10 -11,10 h -5 z"
id="path3290"
inkscape:connector-curvature="0"
style="color:#000000;fill:#ffffcc;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-opacity:1" />
<path
d="m 34.5,14.5 a 2,2 0 1 1 -4,0 2,2 0 1 1 4,0 z"
id="path3298"
inkscape:connector-curvature="0" />
<text
id="text3302"
x="32.5"
y="14.5">
<tspan
x="28.5"
y="18.5"
class="pinname"
id="tspan3300"
style="font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;font-size:12px;font-family:Helvetica;text-align:center;text-anchor:end">B</tspan>
</text>
<path
d="m 34.5,30.5 a 2,2 0 1 1 -4,0 2,2 0 1 1 4,0 z"
id="path3310"
inkscape:connector-curvature="0" />
<text
id="text3314"
x="32.5"
y="30.5">
<tspan
x="28.5"
y="34.5"
class="pinname"
id="tspan3312"
style="font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;font-size:12px;font-family:Helvetica;text-align:center;text-anchor:end">C</tspan>
</text>
<path
inkscape:connector-curvature="0"
id="path3324"
d="m 52.5,46.5 a 2,2 0 1 1 -4,0 2,2 0 1 1 4,0 z" />
<text
id="text3328"
x="50.5"
y="46.5">
<tspan
style="font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;font-size:12px;font-family:Helvetica;text-align:center;text-anchor:end"
id="tspan3326"
class="pinname"
y="50.5"
x="46.5">A</tspan>
</text>
<path
d="m 68.5,62.5 a 2,2 0 1 1 -4,0 2,2 0 1 1 4,0 z"
id="path3338"
inkscape:connector-curvature="0" />
<text
id="text3342"
x="66.5"
y="62.5">
<tspan
x="62.5"
y="66.5"
class="pinname"
id="tspan3340"
style="font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;font-size:12px;font-family:Helvetica;text-align:center;text-anchor:end">D</tspan>
</text>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment