text:
VALUE" x="41.275" y="42.534" size="1.27" layer="27" ratio="10" rot="R90"/>
<attribute name="NAME" x="50.038" y="42.915" size="1.27" layer="25" ratio="10" rot="R180"/>
</element>
<element name="RED" library="BillPorter" package="SOIC-16" value="TLC5916" x="20.32" y="45.72" smashed="yes" rot="R90">
<attribute name="VALUE" x="20.955" y="42.534" size="1.27" layer="27" ratio="10" rot="R90"/>
<attribute name="NAME" x="15.113" y="50.535" size="1.27" layer="25" ratio="10" rot="R180"/>
</element>
<element name="GREEN" library="BillPorter" package="SOIC-16" value="TLC5916" x="34.29" y="17.78" smashed="yes" rot="R270">
<attribute name="VALUE" x="33.655" y="20.966" size="1.27" layer="27" ratio="10" rot="R270"/>
<attribute name="NAME" x="31.623" y="10.552" size="1.27" layer="25" ratio="10"/>
</element>
<element name="FET1" library="NTA4151P" package="NTA4151P" value="NTA4151P" x="11.43" y="10.16" smashed="yes" rot="R180"/>
<element name="FET2" library="NTA4151P" package="NTA4151P" value="NTA4151P" x="13.97" y="10.16" smashed="yes" rot="R180"/>
<element name="FET3" library="NTA4151P" package="NTA4151P" value="NTA4151P" x="16.51" y="10.16" smashed="yes" rot="R180"/>
<element name="FET4" library="NTA4151P" package="NTA4151P" value="NTA4151P" x="19.05" y="10.16" smashed="yes" rot="R180">
<attribute name="VALUE" x="8.89" y="13.335" size="0.8128" layer="27" rot="R180"/>
</element>
<element name="FET5" library="NTA4151P" package="NTA4151P" value="NTA4151P" x="41.91" y="10.16" smashed="yes" rot="R180"/>
<element name="FET6" library="NTA4151P" package="NTA4151P" value="NTA4151P" x="44.45" y="10.16" smashed="yes" rot="R180"/>
<element name="FET7" library="NTA4151P" package="NTA4151P" value="NTA4151P" x="46.99" y="10.16" smashed="yes" rot="R180"/>
<element name="FET8" library="NTA4151P" package="NTA4151P" value="NTA4151P" x="49.53" y="10.16" smashed="yes" rot="R180">
<attribute name="VALUE" x="57.15" y="13.335" size="0.8128" layer="27" rot="R180"/>
</element>
<element name="R1" library="resistor" package="R0805" value="470" x="33.02" y="43.18" smashed="yes">
<attribute name="VALUE" x="33.655" y="45.974" size="1.27" layer="27" rot="R180"/>
</element>
<element name="R2" library="resistor" package="R0805" value="470" x="13.97" y="41.91" smashed="yes" rot="R90">
<attribute name="VALUE" x="11.938" y="44.704" size="1.27" layer="27"/>
</element>
<element name="R3" library="resistor" package="R0805" value="470" x="32.0675" y="23.8125" smashed="yes" rot="R180">
<attribute name="VALUE" x="30.6705" y="25.3365" size="1.27" layer="27"/>
</element>
<element name="R4" library="resistor" package="R0402" value="10k" x="49.53" y="14.732" smashed="yes" rot="R180">
<attribute name="VALUE" x="53.975" y="16.764" size="1.27" layer="27" rot="R180"/>
</element>
<element name="R5" library="resistor" package="R0402" value="10k" x="46.99" y="16.51" smashed="yes" rot="R180">
<attribute name="VALUE" x="48.895" y="18.542" size="1.27" layer="27" rot="R180"/>
</element>
<element name="R6" library="resistor" package="R0402" value="10k" x="44.45" y="14.732" smashed="yes" rot="R180">
<attribute name="VALUE" x="42.545" y="15.494" size="1.27" layer="27" rot="R180"/>
</element>
<element name="R7" library="resistor" package="R0402" value="10k" x="41.91" y="16.51" smashed="yes" rot="R180">
<attribute name="VALUE" x="43.815" y="18.542" size="1.27" layer="27" rot="R180"/>
</element>
<element name="R8" library="resistor" package="R0402" value="10k" x="19.05" y="16.51" smashed="yes" rot="R180">
<attribute name="VALUE" x="20.955" y="18.542" size="1.27" layer="27" rot="R180"/>
</element>
<element name="R9" library="resistor" package="R0402" value="10k" x="16.51" y="14.732" smashed="yes" rot="R180">
<attribute name="VALUE" x="23.495" y="15.494" size="1.27" layer="27" rot="R180"/>
</element>
<element name="R10" library="resistor" package="R0402" value="10k" x="13.97" y="16.51" smashed="yes" rot="R180">
<attribute name="VALUE" x="15.875" y="18.542" size="1.27" layer="27" rot="R180"/>
</element>
<element name="R11" library="resistor" package="R0402" value="10k" x="11.43" y="14.732" smashed="yes" rot="R180">
<attribute name="VALUE" x="10.795" y="16.764" size="1.27" layer="27" rot="R180"/>
</element>
<element name="R12" library="resistor" package="R0805" value="100k" x="17.018" y="29.337" smashed="yes" rot="R90">
<attribute name="VALUE" x="21.971" y="27.178" size="1.27" layer="27" rot="R180"/>
</element>
<element name="R_SDI_C_SDI" library="con-lsta" package="FE03-2W" value="" x="2.54" y="53.975" smashed="yes" rot="R180">
<attribute name="VALUE" x="7.62" y="47.625" size="1.27" layer="27" ratio="10" rot="R180"/>
</element>
<element name="R_SDI_C_SDI_2" library="con-lsta" package="FE03-2W" value="" x="6.985" y="22.86" smashed="yes" rot="R270">
<attribute name="VALUE" x="13.335" y="27.94" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="POWER1" library="con-lsta" package="FE03-2W" value="" x="53.34" y="53.975" smashed="yes" rot="R180">
<attribute name="VALUE" x="58.42" y="47.625" size="1.27" layer="27" ratio="10" rot="R180"/>
</element>
<element name="POWER2" library="con-lsta" package="FE03-2W" value="" x="6.985" y="33.02" smashed="yes" rot="R270">
<attribute name="VALUE" x="13.335" y="38.1" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="R_SDO_C_SDI" library="con-lstb" package="MA03-2W" value="" x="2.54" y="2.33" smashed="yes" rot="R180">
<attribute name="VALUE" x="8.255" y="12.49" size="1.27" layer="27" ratio="10" rot="R180"/>
</element>
<element name="R_SDI_C_SDO" library="con-lstb" package="MA03-2W" value="" x="58.42" y="22.86" smashed="yes" rot="R270">
<attribute name="VALUE" x="48.26" y="28.575" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="POWER3" library="con-lstb" package="MA03-2W" value="" x="53.34" y="2.33" smashed="yes" rot="R180">
<attribute name="VALUE" x="59.055" y="12.49" size="1.27" layer="27" ratio="10" rot="R180"/>
</element>
<element name="POWER4" library="con-lstb" package="MA03-2W" value="" x="58.42" y="33.02" smashed="yes" rot="R270">
<attribute name="VALUE" x="48.26" y="38.735" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="C2" library="rcl" package="C0805" value="1u" x="25.527" y="29.591" smashed="yes" rot="R270">
<attribute name="DRAWING_AUTHOR" value="Elco Jacobs" x="25.527" y="29.591" size="1.778" layer="27" rot="R270" display="off"/>
<attribute name="VALUE" x="24.511" y="26.035" size="1.27" layer="27"/>
</element>
<element name="C3" library="rcl" package="C0805" value="1u" x="17.907" y="39.624" smashed="yes" rot="R180">
<attribute name="DRAWING_AUTHOR" value="Elco Jacobs" x="17.907" y="39.624" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="VALUE" x="15.24" y="37.084" size="1.27" layer="27"/>
</element>
<element name="C4" library="rcl" package="C0805" value="1u" x="40.64" y="39.624" smashed="yes" rot="R180">
<attribute name="DRAWING_AUTHOR" value="Elco Jacobs" x="40.64" y="39.624" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="VALUE" x="45.339" y="40.386" size="1.27" layer="27" rot="R180"/>
</element>
<element name="C5" library="rcl" package="C0805" value="1u" x="45.72" y="31.75" smashed="yes" rot="R90">
<attribute name="DRAWING_AUTHOR" value="Elco Jacobs" x="45.72" y="31.75" size="1.778" layer="27" rot="R90" display="off"/>
<attribute name="VALUE" x="49.53" y="33.02" size="1.27" layer="27" rot="R180"/>
</element>
<element name="C6" library="rcl" package="C0805" value="1u" x="37.465" y="23.8125" smashed="yes" rot="R180">
<attribute name="DRAWING_AUTHOR" value="Elco Jacobs" x="37.465" y="23.8125" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="VALUE" x="38.354" y="26.543" size="1.27" layer="27" rot="R180"/>
</element>
<element name="C7" library="rcl" package="153CLV-0505" value="" x="12.827" y="3.2" smashed="yes" rot="R180">
<attribute name="NAME" x="18.107" y="5.808" size="1.27" layer="25" rot="R180"/>
<attribute name="VALUE" x="15.602" y="7.435" size="1.27" layer="27" rot="R180"/>
</element>
<element name="C8" library="rcl" package="153CLV-0505" value="" x="48.26" y="3.2" smashed="yes">
<attribute name="NAME" x="43.107" y="4.656" size="1.27" layer="25"/>
<attribute name="VALUE" x="45.485" y="-1.035" size="1.27" layer="27"/>
</element>
<element name="C1" library="rcl" package="C0805" value="10n" x="33.655" y="38.354" smashed="yes">
<attribute name="DRAWING_AUTHOR" value="Elco Jacobs" x="33.655" y="38.354" size="1.778" layer="27" display="off"/>
<attribute name="VALUE" x="36.449" y="36.957" size="1.27" layer="27"/>
</element>
<element name="T1" library="MCR08BT1" package="SOT223" value="MCR08BT1" x="21.209" y="34.798" smashed="yes" rot="R180">
<attribute name="VALUE" x="24.019" y="33.068" size="0.8128" layer="27" rot="R180"/>
</element>
<element name="FET9" library="NTA4151P" package="NTA4151P" value="NTA4151P" x="31.75" y="40.64" smashed="yes" rot="R90">
<attribute name="DRAWING_AUTHOR" value="Elco Jacobs" x="31.75" y="40.64" size="1.778" layer="27" rot="R90" display="off"/>
<attribute name="VALUE" x="30.099" y="43.307" size="0.6096" layer="27" rot="R270"/>
</element>
<element name="R13" library="resistor" package="R0402" value="10k" x="26.67" y="35.56" smashed="yes" rot="R270">
<attribute name="DRAWING_AUTHOR" value="Elco Jacobs" x="26.67" y="35.56" size="1.778" layer="27" rot="R270" display="off"/>
<attribute name="VALUE" x="26.035" y="32.258" size="1.27" layer="27"/>
</element>
<element name="R14" library="resistor" package="R0805" value="470" x="27.305" y="39.878" smashed="yes" rot="R180">
<attribute name="DRAWING_AUTHOR" value="Elco Jacobs" x="27.305" y="39.878" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="VALUE" x="29.337" y="42.164" size="1.27" layer="27" rot="R180"/>
</element>
<element name="R15" library="resistor" package="R0805" value="470" x="22.479" y="38.608" smashed="yes" rot="R180">
<attribute name="DRAWING_AUTHOR" value="Elco Jacobs" x="22.479" y="38.608" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="VALUE" x="24.511" y="40.894" size="1.27" layer="27" rot="R180"/>
</element>
</elements>
<signals>
<signal name="GND">
<contactref element="IC1" pad="8"/>
<contactref element="R2" pad="1"/>
<contactref element="R3" pad="2"/>
<contactref element="GREEN" pad="1"/>
<contactref element="BLUE" pad="1"/>
<contactref element="RED" pad="1"/>
<contactref element="R1" pad="1"/>
<contactref element="BLUE" pad="13"/>
<contactref element="RED" pad="13"/>
<contactref element="GREEN" pad="13"/>
<contactref element="POWER2" pad="1"/>
<contactref element="POWER2" pad="2"/>
<wire x1="43.815" y1="41.91" x2="41.91" y2="41.91" width="0.8128" layer="1"/>
<wire x1="41.91" y1="41.91" x2="40.64" y2="41.91" width="0.8128" layer="1"/>
<wire x1="40.64" y1="41.91" x2="40.64" y2="44.45" width="0.8128" layer="1"/>
<wire x1="40.64" y1="44.45" x2="39.37" y2="45.72" width="0.8128" layer="1"/>
<wire x1="39.37" y1="45.72" x2="37.465" y2="45.72" width="0.8128" layer="1"/>
<wire x1="23.495" y1="41.91" x2="21.59" y2="41.91" width="0.8128" layer="1"/>
<wire x1="21.59" y1="41.91" x2="20.32" y2="43.18" width="0.8128" layer="1"/>
<wire x1="20.32" y1="43.18" x2="20.32" y2="44.45" width="0.8128" layer="1"/>
<wire x1="20.32" y1="44.45" x2="19.05" y2="45.72" width="0.8128" layer="1"/>
<wire x1="19.05" y1="45.72" x2="17.145" y2="45.72" width="0.8128" layer="1"/>
<contactref element="POWER4" pad="1"/>
<contactref element="POWER4" pad="2"/>
<wire x1="53.34" y1="38.1" x2="46.99" y2="38.1" width="0.8128" layer="16"/>
<wire x1="46.99" y1="38.1" x2="25.4" y2="38.1" width="0.8128" layer="16"/>
<wire x1="25.4" y1="38.1" x2="18.415" y2="38.1" width="0.8128" layer="16"/>
<wire x1="18.415" y1="38.1" x2="12.065" y2="38.1" width="0.8128" layer="16"/>
<wire x1="9.525" y1="38.1" x2="12.065" y2="38.1" width="0.8128" layer="16"/>
<wire x1="43.815" y1="41.91" x2="45.72" y2="41.91" width="0.8128" layer="1"/>
<wire x1="45.72" y1="41.91" x2="46.99" y2="40.64" width="0.8128" layer="1"/>
<wire x1="46.99" y1="40.64" x2="46.99" y2="38.1" width="0.8128" layer="1"/>
<via x="46.99" y="38.1" extent="1-16" drill="0.6" shape="square"/>
<contactref element="POWER1" pad="2"/>
<contactref element="POWER1" pad="1"/>
<contactref element="POWER3" pad="2"/>
<contactref element="POWER3" pad="1"/>
<wire x1="58.42" y1="48.895" x2="58.42" y2="38.1" width="0.8128" layer="16"/>
<wire x1="58.42" y1="38.1" x2="58.42" y2="4.87" width="0.8128" layer="16"/>
<wire x1="55.88" y1="38.1" x2="58.42" y2="38.1" width="0.8128" layer="16"/>
<wire x1="55.88" y1="38.1" x2="53.34" y2="38.1" width="0.8128" layer="1"/>
<wire x1="40.64" y1="10.16" x2="40.64" y2="8.89" width="0.8128" layer="1"/>
<wire x1="40.64" y1="8.89" x2="40.64" y2="6.35" width="0.4064" layer="1"/>
<wire x1="58.42" y1="4.87" x2="58.42" y2="2.54" width="0.8128" layer="1"/>
<wire x1="58.42" y1="7.41" x2="58.42" y2="4.87" width="0.8128" layer="1"/>
<contactref element="IC1" pad="8"/>
<contactref element="C3" pad="1"/>
<contactref element="C4" pad="1"/>
<contactref element="C5" pad="1"/>
<contactref element="C6" pad="1"/>
<contactref element="C7" pad="-"/>
<contactref element="C8" pad="-"/>
<wire x1="15.027" y1="3.2" x2="40.64" y2="3.2" width="0.8128" layer="1"/>
<wire x1="40.64" y1="3.2" x2="46.06" y2="3.2" width="0.8128" layer="1"/>
<wire x1="40.64" y1="6.35" x2="40.64" y2="3.2" width="0.8128" layer="1"/>
<wire x1="58.42" y1="2.54" x2="57.15" y2="1.27" width="0.8128" layer="1"/>
<wire x1="57.15" y1="1.27" x2="47.9425" y2="1.27" width="0.8128" layer="1"/>
<wire x1="32.17" y1="43.18" x2="30.48" y2="43.18" width="0.8128" layer="1"/>
<wire x1="30.48" y1="43.18" x2="29.21" y2="41.91" width="0.8128" layer="1"/>
<wire x1="29.21" y1="41.91" x2="23.495" y2="41.91" width="0.8128" layer="1"/>
<wire x1="41.59" y1="39.624" x2="41.59" y2="41.59" width="0.8128" layer="1"/>
<wire x1="41.59" y1="41.59" x2="41.91" y2="41.91" width="0.8128" layer="1"/>
<contactref element="C2" pad="1"/>
<contactref element="T1" pad="K"/>
<via x="25.4" y="38.1" extent="1-16" drill="0.6" shape="square"/>
<wire x1="45.72" y1="30.8" x2="46.04" y2="30.8" width="0.4064" layer="1"/>
<wire x1="46.04" y1="30.8" x2="46.99" y2="31.75" width="0.4064" layer="1"/>
<wire x1="46.99" y1="31.75" x2="46.99" y2="38.1" width="0.4064" layer="1"/>
<wire x1="21.397" y1="41.717" x2="21.59" y2="41.91" width="0.4064" layer="1"/>
<wire x1="21.59" y1="41.91" x2="29.21" y2="41.91" width="0.4064" layer="1"/>
<wire x1="58.42" y1="48.895" x2="58.42" y2="51.435" width="0.8128" layer="16"/>
<contactref element="R15" pad="1"/>
<wire x1="18.857" y1="39.624" x2="18.857" y2="40.447" width="0.8128" layer="1"/>
<wire x1="18.857" y1="40.447" x2="20.32" y2="41.91" width="0.8128" layer="1"/>
<wire x1="20.32" y1="41.91" x2="21.59" y2="41.91" width="0.8128" layer="1"/>
<wire x1="23.329" y1="38.608" x2="23.622" y2="38.608" width="0.4064" layer="1"/>
<wire x1="23.622" y1="38.608" x2="24.13" y2="38.1" width="0.4064" layer="1"/>
<wire x1="24.13" y1="38.1" x2="25.4" y2="38.1" width="0.4064" layer="1"/>
<wire x1="23.509" y1="34.798" x2="23.509" y2="37.479" width="0.4064" layer="1"/>
<wire x1="23.509" y1="37.479" x2="24.13" y2="38.1" width="0.4064" layer="1"/>
<wire x1="23.509" y1="34.798" x2="23.509" y2="32.559" width="0.4064" layer="1"/>
<wire x1="23.509" y1="32.559" x2="25.527" y2="30.541" width="0.4064" layer="1"/>
<via x="18.415" y="38.1" extent="1-16" drill="0.6" shape="square"/>
<wire x1="18.857" y1="39.624" x2="18.857" y2="39.563" width="0.4064" layer="1"/>
<wire x1="18.857" y1="39.563" x2="19.05" y2="39.37" width="0.4064" layer="1"/>
<wire x1="12.065" y1="38.1" x2="12.7" y2="38.1" width="0.4064" layer="1"/>
<wire x1="12.7" y1="38.1" x2="13.97" y2="39.37" width="0.4064" layer="1"/>
<wire x1="13.97" y1="39.37" x2="13.97" y2="41.06" width="0.4064" layer="1"/>
<wire x1="45.72" y1="30.8" x2="45.72" y2="30.48" width="0.4064" layer="1"/>
<wire x1="45.72" y1="30.48" x2="44.45" y2="29.21" width="0.4064" layer="1"/>
<wire x1="44.45" y1="29.21" x2="43.7134" y2="29.21" width="0.4064" layer="1"/>
<wire x1="43.7134" y1="29.21" x2="43.18" y2="28.6766" width="0.4064" layer="1"/>
<wire x1="40.64" y1="10.16" x2="39.37" y2="11.43" width="0.8128" layer="1"/>
<wire x1="39.37" y1="11.43" x2="39.37" y2="17.78" width="0.8128" layer="1"/>
<wire x1="39.37" y1="17.78" x2="37.465" y2="17.78" width="0.8128" layer="1"/>
<wire x1="37.465" y1="17.78" x2="35.56" y2="17.78" width="0.8128" layer="1"/>
<wire x1="35.56" y1="17.78" x2="33.02" y2="20.32" width="0.8128" layer="1"/>
<wire x1="33.02" y1="20.32" x2="33.02" y2="21.59" width="0.8128" layer="1"/>
<wire x1="33.02" y1="21.59" x2="31.115" y2="21.59" width="0.8128" layer="1"/>
<wire x1="38.415" y1="23.8125" x2="39.6875" y2="23.8125" width="0.4064" layer="1"/>
<wire x1="39.6875" y1="23.8125" x2="40.64" y2="22.86" width="0.4064" layer="1"/>
<wire x1="40.64" y1="22.86" x2="40.64" y2="19.05" width="0.4064" layer="1"/>
<wire x1="40.64" y1="19.05" x2="39.37" y2="17.78" width="0.4064" layer="1"/>
<wire x1="31.2175" y1="23.8125" x2="31.2175" y2="21.6925" width="0.4064" layer="1"/>
<wire x1="31.2175" y1="21.6925" x2="31.115" y2="21.59" width="0.4064" layer="1"/>
<wire x1="46.0375" y1="3.175" x2="46.0375" y2="3.1775" width="0.4064" layer="1"/>
<wire x1="46.0375" y1="3.1775" x2="46.06" y2="3.2" width="0.4064" layer="1"/>
<wire x1="47.9425" y1="1.27" x2="46.0375" y2="3.175" width="0.8128" layer="1"/>
<wire x1="18.415" y1="38.1" x2="18.415" y2="38.735" width="0.8128" layer="1"/>
<wire x1="18.415" y1="38.735" x2="19.05" y2="39.37" width="0.8128" layer="1"/>
<polygon width="0.8128" layer="16" isolate="0.4064">
<vertex x="0.3175" y="60.6425"/>
<vertex x="0.3175" y="0.635"/>
<vertex x="60.6425" y="0.635"/>
<vertex x="60.6425" y="60.6425"/>
</polygon>
<polygon width="0.8128" layer="1" isolate="0.4064">
<vertex x="0.3175" y="60.6425"/>
<vertex x="60.6425" y="60.6425"/>
<vertex x="60.6425" y="0.635"/>
<vertex x="0.3175" y="0.635"/>
</polygon>
</signal>
<signal name="N$1">
<contactref element="BLUE" pad="5"/>
<contactref element="MX1" pad="1"/>
<wire x1="43.815" y1="46.99" x2="45.72" y2="46.99" width="0.4064" layer="1"/>
<wire x1="45.72" y1="46.99" x2="49.53" y2="50.8" width="0.4064" layer="1"/>
<wire x1="49.53" y1="50.8" x2="49.53" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$2">
<contactref element="BLUE" pad="6"/>
<contactref element="MX1" pad="2"/>
<wire x1="43.815" y1="48.26" x2="45.72" y2="48.26" width="0.4064" layer="1"/>
<wire x1="45.72" y1="48.26" x2="46.99" y2="49.53" width="0.4064" layer="1"/>
<wire x1="46.99" y1="49.53" x2="46.99" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$3">
<contactref element="BLUE" pad="7"/>
<contactref element="MX1" pad="3"/>
<wire x1="43.815" y1="49.53" x2="45.72" y2="49.53" width="0.4064" layer="1"/>
<wire x1="45.72" y1="49.53" x2="45.72" y2="52.41" width="0.4064" layer="1"/>
<wire x1="45.72" y1="52.41" x2="44.45" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$4">
<contactref element="BLUE" pad="8"/>
<contactref element="MX1" pad="4"/>
<wire x1="43.815" y1="50.8" x2="43.815" y2="51.775" width="0.4064" layer="1"/>
<wire x1="43.815" y1="51.775" x2="41.91" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$5">
<contactref element="BLUE" pad="9"/>
<contactref element="MX1" pad="5"/>
<wire x1="37.465" y1="50.8" x2="37.465" y2="51.775" width="0.4064" layer="1"/>
<wire x1="37.465" y1="51.775" x2="39.37" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$6">
<contactref element="BLUE" pad="10"/>
<contactref element="MX1" pad="6"/>
<wire x1="37.465" y1="49.53" x2="35.56" y2="49.53" width="0.4064" layer="1"/>
<wire x1="35.56" y1="49.53" x2="35.56" y2="52.41" width="0.4064" layer="1"/>
<wire x1="35.56" y1="52.41" x2="36.83" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$7">
<contactref element="BLUE" pad="11"/>
<contactref element="MX1" pad="7"/>
<wire x1="37.465" y1="48.26" x2="35.56" y2="48.26" width="0.4064" layer="1"/>
<wire x1="35.56" y1="48.26" x2="34.29" y2="49.53" width="0.4064" layer="1"/>
<wire x1="34.29" y1="49.53" x2="34.29" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$8">
<contactref element="MX1" pad="8"/>
<contactref element="BLUE" pad="12"/>
<wire x1="37.465" y1="46.99" x2="35.56" y2="46.99" width="0.4064" layer="1"/>
<wire x1="35.56" y1="46.99" x2="31.75" y2="50.8" width="0.4064" layer="1"/>
<wire x1="31.75" y1="50.8" x2="31.75" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$10">
<contactref element="MX1" pad="10"/>
<contactref element="RED" pad="6"/>
<wire x1="23.495" y1="48.26" x2="25.4" y2="48.26" width="0.4064" layer="1"/>
<wire x1="25.4" y1="48.26" x2="26.67" y2="49.53" width="0.4064" layer="1"/>
<wire x1="26.67" y1="49.53" x2="26.67" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$11">
<contactref element="MX1" pad="11"/>
<contactref element="RED" pad="7"/>
<wire x1="23.495" y1="49.53" x2="25.4" y2="49.53" width="0.4064" layer="1"/>
<wire x1="25.4" y1="49.53" x2="25.4" y2="52.41" width="0.4064" layer="1"/>
<wire x1="25.4" y1="52.41" x2="24.13" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$12">
<contactref element="MX1" pad="12"/>
<contactref element="RED" pad="8"/>
<wire x1="23.495" y1="50.8" x2="23.495" y2="51.775" width="0.4064" layer="1"/>
<wire x1="23.495" y1="51.775" x2="21.59" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$13">
<contactref element="MX1" pad="13"/>
<contactref element="RED" pad="9"/>
<wire x1="17.145" y1="50.8" x2="17.145" y2="51.775" width="0.4064" layer="1"/>
<wire x1="17.145" y1="51.775" x2="19.05" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$14">
<contactref element="MX1" pad="14"/>
<contactref element="RED" pad="10"/>
<wire x1="17.145" y1="49.53" x2="15.24" y2="49.53" width="0.4064" layer="1"/>
<wire x1="15.24" y1="49.53" x2="15.24" y2="52.41" width="0.4064" layer="1"/>
<wire x1="15.24" y1="52.41" x2="16.51" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$15">
<contactref element="MX1" pad="15"/>
<contactref element="RED" pad="11"/>
<wire x1="17.145" y1="48.26" x2="15.24" y2="48.26" width="0.4064" layer="1"/>
<wire x1="15.24" y1="48.26" x2="13.97" y2="49.53" width="0.4064" layer="1"/>
<wire x1="13.97" y1="49.53" x2="13.97" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$16">
<contactref element="RED" pad="12"/>
<contactref element="MX1" pad="16"/>
<wire x1="17.145" y1="46.99" x2="15.24" y2="46.99" width="0.4064" layer="1"/>
<wire x1="15.24" y1="46.99" x2="11.43" y2="50.8" width="0.4064" layer="1"/>
<wire x1="11.43" y1="50.8" x2="11.43" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$26">
<contactref element="MX1" pad="18"/>
<contactref element="FET2" pad="D"/>
<wire x1="13.97" y1="7.28" x2="13.97" y2="10.16" width="0.4064" layer="1"/>
</signal>
<signal name="N$27">
<contactref element="MX1" pad="19"/>
<contactref element="FET3" pad="D"/>
<wire x1="16.51" y1="7.28" x2="16.51" y2="10.16" width="0.4064" layer="1"/>
</signal>
<signal name="N$28">
<contactref element="MX1" pad="20"/>
<contactref element="FET4" pad="D"/>
<wire x1="19.05" y1="7.28" x2="19.05" y2="10.16" width="0.4064" layer="1"/>
</signal>
<signal name="N$29">
<contactref element="MX1" pad="29"/>
<contactref element="FET5" pad="D"/>
<wire x1="41.91" y1="7.28" x2="41.91" y2="10.16" width="0.4064" layer="1"/>
</signal>
<signal name="N$30">
<contactref element="MX1" pad="30"/>
<contactref element="FET6" pad="D"/>
<wire x1="44.45" y1="7.28" x2="44.45" y2="10.16" width="0.4064" layer="1"/>
</signal>
<signal name="N$31">
<contactref element="MX1" pad="31"/>
<contactref element="FET7" pad="D"/>
<wire x1="46.99" y1="7.28" x2="46.99" y2="10.16" width="0.4064" layer="1"/>
</signal>
<signal name="N$32">
<contactref element="MX1" pad="32"/>
<contactref element="FET8" pad="D"/>
<wire x1="49.53" y1="7.28" x2="49.53" y2="10.16" width="0.4064" layer="1"/>
</signal>
<signal name="N$34">
<contactref element="FET1" pad="G"/>
<contactref element="IC1" pad="15"/>
<contactref element="R11" pad="1"/>
<wire x1="11.93" y1="11.455" x2="12.08" y2="11.455" width="0.4064" layer="1"/>
<wire x1="12.08" y1="11.455" x2="12.08" y2="14.732" width="0.4064" layer="1"/>
<wire x1="12.08" y1="14.732" x2="12.08" y2="17.795" width="0.4064" layer="1"/>
<wire x1="35.56" y1="34.8234" x2="35.56" y2="33.02" width="0.4064" layer="1"/>
<wire x1="35.56" y1="33.02" x2="30.48" y2="33.02" width="0.4064" layer="1"/>
<wire x1="30.48" y1="33.02" x2="27.94" y2="30.48" width="0.4064" layer="1"/>
<wire x1="27.94" y1="30.48" x2="27.94" y2="27.94" width="0.4064" layer="1"/>
<wire x1="27.94" y1="27.94" x2="26.67" y2="26.67" width="0.4064" layer="1"/>
<wire x1="26.67" y1="26.67" x2="20.955" y2="26.67" width="0.4064" layer="1"/>
<wire x1="20.955" y1="26.67" x2="12.08" y2="17.795" width="0.4064" layer="1"/>
</signal>
<signal name="N$35">
<contactref element="IC1" pad="1"/>
<contactref element="FET2" pad="G"/>
<contactref element="R10" pad="1"/>
<wire x1="14.47" y1="11.455" x2="14.62" y2="11.455" width="0.4064" layer="1"/>
<wire x1="14.62" y1="11.455" x2="14.62" y2="16.51" width="0.4064" layer="1"/>
<wire x1="14.62" y1="16.51" x2="14.62" y2="18.43" width="0.4064" layer="1"/>
<wire x1="34.29" y1="27.94" x2="29.21" y2="27.94" width="0.4064" layer="1"/>
<wire x1="29.21" y1="27.94" x2="26.67" y2="25.4" width="0.4064" layer="1"/>
<wire x1="26.67" y1="25.4" x2="21.59" y2="25.4" width="0.4064" layer="1"/>
<wire x1="21.59" y1="25.4" x2="14.62" y2="18.43" width="0.4064" layer="1"/>
<wire x1="34.29" y1="27.94" x2="34.29" y2="28.6766" width="0.4064" layer="1"/>
</signal>
<signal name="N$36">
<contactref element="IC1" pad="2"/>
<contactref element="FET3" pad="G"/>
<contactref element="R9" pad="1"/>
<wire x1="17.01" y1="11.455" x2="17.16" y2="11.455" width="0.4064" layer="1"/>
<wire x1="17.16" y1="11.455" x2="17.16" y2="14.732" width="0.4064" layer="1"/>
<wire x1="17.16" y1="14.732" x2="17.16" y2="18.43" width="0.4064" layer="1"/>
<wire x1="35.56" y1="28.6766" x2="35.56" y2="26.67" width="0.4064" layer="1"/>
<wire x1="35.56" y1="26.67" x2="29.21" y2="26.67" width="0.4064" layer="1"/>
<wire x1="29.21" y1="26.67" x2="26.67" y2="24.13" width="0.4064" layer="1"/>
<wire x1="26.67" y1="24.13" x2="22.86" y2="24.13" width="0.4064" layer="1"/>
<wire x1="22.86" y1="24.13" x2="17.16" y2="18.43" width="0.4064" layer="1"/>
</signal>
<signal name="N$37">
<contactref element="IC1" pad="3"/>
<contactref element="FET4" pad="G"/>
<contactref element="R8" pad="1"/>
<wire x1="19.55" y1="11.455" x2="19.7" y2="11.455" width="0.4064" layer="1"/>
<wire x1="19.7" y1="11.455" x2="19.7" y2="16.51" width="0.4064" layer="1"/>
<wire x1="19.7" y1="16.51" x2="19.7" y2="18.43" width="0.4064" layer="1"/>
<wire x1="19.7" y1="18.43" x2="24.13" y2="22.86" width="0.4064" layer="1"/>
<wire x1="24.13" y1="22.86" x2="26.67" y2="22.86" width="0.4064" layer="1"/>
<wire x1="26.67" y1="22.86" x2="29.21" y2="25.4" width="0.4064" layer="1"/>
<wire x1="29.21" y1="25.4" x2="35.56" y2="25.4" width="0.4064" layer="1"/>
<wire x1="35.56" y1="25.4" x2="36.83" y2="26.67" width="0.4064" layer="1"/>
<wire x1="36.83" y1="26.67" x2="36.83" y2="28.6766" width="0.4064" layer="1"/>
</signal>
<signal name="N$38">
<contactref element="IC1" pad="4"/>
<contactref element="FET5" pad="G"/>
<contactref element="R7" pad="1"/>
<wire x1="42.41" y1="11.455" x2="42.56" y2="11.455" width="0.4064" layer="1"/>
<wire x1="42.56" y1="11.455" x2="42.56" y2="16.51" width="0.4064" layer="1"/>
<wire x1="42.56" y1="16.51" x2="42.56" y2="22.21" width="0.4064" layer="1"/>
<wire x1="42.56" y1="22.21" x2="38.1" y2="26.67" width="0.4064" layer="1"/>
<wire x1="38.1" y1="26.67" x2="38.1" y2="28.6766" width="0.4064" layer="1"/>
</signal>
<signal name="N$39">
<contactref element="IC1" pad="5"/>
<contactref element="FET6" pad="G"/>
<contactref element="R6" pad="1"/>
<wire x1="44.95" y1="11.455" x2="45.1" y2="11.455" width="0.4064" layer="1"/>
<wire x1="45.1" y1="11.455" x2="45.1" y2="14.732" width="0.4064" layer="1"/>
<wire x1="45.1" y1="14.732" x2="45.1" y2="20.94" width="0.4064" layer="1"/>
<wire x1="45.1" y1="20.94" x2="39.37" y2="26.67" width="0.4064" layer="1"/>
<wire x1="39.37" y1="26.67" x2="39.37" y2="28.6766" width="0.4064" layer="1"/>
</signal>
<signal name="N$40">
<contactref element="IC1" pad="6"/>
<contactref element="FET7" pad="G"/>
<contactref element="R5" pad="1"/>
<wire x1="47.49" y1="11.455" x2="47.64" y2="11.455" width="0.4064" layer="1"/>
<wire x1="47.64" y1="11.455" x2="47.64" y2="16.51" width="0.4064" layer="1"/>
<wire x1="40.64" y1="26.67" x2="47.64" y2="19.67" width="0.4064" layer="1"/>
<wire x1="47.64" y1="16.51" x2="47.64" y2="19.67" width="0.4064" layer="1"/>
<wire x1="40.64" y1="26.67" x2="40.64" y2="28.6766" width="0.4064" layer="1"/>
</signal>
<signal name="QH">
<contactref element="IC1" pad="7"/>
<contactref element="FET8" pad="G"/>
<contactref element="R4" pad="1"/>
<wire x1="50.03" y1="11.455" x2="50.18" y2="11.455" width="0.4064" layer="1"/>
<wire x1="50.18" y1="11.455" x2="50.18" y2="14.732" width="0.4064" layer="1"/>
<wire x1="41.91" y1="26.67" x2="50.18" y2="18.4" width="0.4064" layer="1"/>
<wire x1="50.18" y1="14.732" x2="50.18" y2="18.4" width="0.4064" layer="1"/>
<wire x1="41.91" y1="26.67" x2="41.91" y2="28.6766" width="0.4064" layer="1"/>
</signal>
<signal name="N$42">
<contactref element="R1" pad="2"/>
<contactref element="BLUE" pad="15"/>
<wire x1="33.87" y1="43.18" x2="37.465" y2="43.18" width="0.4064" layer="1"/>
<wire x1="38.1" y1="43.18" x2="37.465" y2="43.18" width="0.4064" layer="1"/>
</signal>
<signal name="N$43">
<contactref element="R2" pad="2"/>
<contactref element="RED" pad="15"/>
<wire x1="13.97" y1="42.76" x2="14.82" y2="42.76" width="0.4064" layer="1"/>
<wire x1="14.82" y1="42.76" x2="15.24" y2="43.18" width="0.4064" layer="1"/>
<wire x1="15.24" y1="43.18" x2="17.145" y2="43.18" width="0.4064" layer="1"/>
</signal>
<signal name="N$44">
<contactref element="GREEN" pad="15"/>
<contactref element="R3" pad="1"/>
<wire x1="32.9175" y1="23.8125" x2="33.3375" y2="23.8125" width="0.4064" layer="1"/>
<wire x1="33.3375" y1="23.8125" x2="34.29" y2="22.86" width="0.4064" layer="1"/>
<wire x1="34.29" y1="22.86" x2="34.29" y2="21.59" width="0.4064" layer="1"/>
<wire x1="34.29" y1="21.59" x2="35.56" y2="20.32" width="0.4064" layer="1"/>
<wire x1="35.56" y1="20.32" x2="37.465" y2="20.32" width="0.4064" layer="1"/>
</signal>
<signal name="N$45">
<contactref element="BLUE" pad="14"/>
<contactref element="RED" pad="2"/>
<wire x1="23.495" y1="43.18" x2="27.94" y2="43.18" width="0.4064" layer="1"/>
<wire x1="27.94" y1="43.18" x2="29.21" y2="44.45" width="0.4064" layer="1"/>
<wire x1="37.465" y1="44.45" x2="29.21" y2="44.45" width="0.4064" layer="1"/>
</signal>
<signal name="N$48">
<contactref element="RED" pad="14"/>
<contactref element="GREEN" pad="2"/>
<wire x1="17.145" y1="44.45" x2="13.97" y2="44.45" width="0.4064" layer="1"/>
<via x="16.51" y="25.4" extent="1-16" drill="0.6" shape="square"/>
<wire x1="16.51" y1="25.4" x2="21.59" y2="20.32" width="0.4064" layer="16"/>
<wire x1="21.59" y1="20.32" x2="24.13" y2="20.32" width="0.4064" layer="16"/>
<via x="24.13" y="20.32" extent="1-16" drill="0.6" shape="square"/>
<wire x1="24.13" y1="20.32" x2="31.115" y2="20.32" width="0.4064" layer="1"/>
<wire x1="15.24" y1="26.67" x2="16.51" y2="25.4" width="0.4064" layer="1"/>
<wire x1="17.145" y1="44.45" x2="12.7" y2="44.45" width="0.4064" layer="1"/>
<wire x1="12.7" y1="44.45" x2="7.62" y2="39.37" width="0.4064" layer="1"/>
<wire x1="7.62" y1="39.37" x2="7.62" y2="34.29" width="0.4064" layer="1"/>
<wire x1="7.62" y1="34.29" x2="13.97" y2="34.29" width="0.4064" layer="1"/>
<wire x1="13.97" y1="34.29" x2="15.24" y2="33.02" width="0.4064" layer="1"/>
<wire x1="15.24" y1="33.02" x2="15.24" y2="26.67" width="0.4064" layer="1"/>
</signal>
<signal name="C_SDI">
<contactref element="R_SDI_C_SDI" pad="6"/>
<contactref element="R_SDI_C_SDI_2" pad="6"/>
<contactref element="BLUE" pad="2"/>
<contactref element="R_SDO_C_SDI" pad="6"/>
<wire x1="1.27" y1="50.165" x2="1.27" y2="22.86" width="0.4064" layer="16"/>
<wire x1="1.27" y1="22.86" x2="1.27" y2="6.14" width="0.4064" layer="16"/>
<wire x1="9.525" y1="22.86" x2="1.27" y2="22.86" width="0.4064" layer="16"/>
<wire x1="43.815" y1="43.18" x2="41.91" y2="43.18" width="0.4064" layer="1"/>
<wire x1="41.91" y1="43.18" x2="41.91" y2="45.72" width="0.4064" layer="1"/>
<wire x1="41.91" y1="45.72" x2="40.64" y2="46.99" width="0.4064" layer="1"/>
<wire x1="40.64" y1="46.99" x2="40.64" y2="54.61" width="0.4064" layer="1"/>
<wire x1="40.64" y1="54.61" x2="39.37" y2="55.88" width="0.4064" layer="1"/>
<wire x1="39.37" y1="55.88" x2="6.985" y2="55.88" width="0.4064" layer="1"/>
<wire x1="1.27" y1="6.14" x2="2.54" y2="4.87" width="0.4064" layer="16"/>
<wire x1="1.27" y1="50.165" x2="2.54" y2="51.435" width="0.4064" layer="16"/>
<wire x1="6.985" y1="55.88" x2="2.54" y2="51.435" width="0.4064" layer="1"/>
</signal>
<signal name="C_LATCH">
<contactref element="R_SDI_C_SDI" pad="4"/>
<contactref element="R_SDI_C_SDI_2" pad="4"/>
<contactref element="BLUE" pad="4"/>
<contactref element="RED" pad="4"/>
<contactref element="GREEN" pad="4"/>
<contactref element="R_SDO_C_SDI" pad="4"/>
<contactref element="R_SDI_C_SDO" pad="4"/>
<wire x1="6.985" y1="53.34" x2="8.89" y2="53.34" width="0.4064" layer="16"/>
<wire x1="8.89" y1="53.34" x2="16.51" y2="45.72" width="0.4064" layer="16"/>
<wire x1="16.51" y1="45.72" x2="27.94" y2="45.72" width="0.4064" layer="16"/>
<via x="27.94" y="45.72" extent="1-16" drill="0.6" shape="square"/>
<wire x1="27.94" y1="45.72" x2="23.495" y2="45.72" width="0.4064" layer="1"/>
<wire x1="9.525" y1="25.4" x2="5.08" y2="25.4" width="0.4064" layer="16"/>
<wire x1="5.08" y1="25.4" x2="3.81" y2="26.67" width="0.4064" layer="16"/>
<wire x1="3.81" y1="26.67" x2="3.81" y2="50.165" width="0.4064" layer="16"/>
<via x="21.59" y="17.78" extent="1-16" drill="0.6" shape="square"/>
<wire x1="21.59" y1="17.78" x2="31.115" y2="17.78" width="0.4064" layer="1"/>
<wire x1="46.99" y1="45.72" x2="48.26" y2="44.45" width="0.4064" layer="1"/>
<wire x1="48.26" y1="44.45" x2="48.26" y2="30.48" width="0.4064" layer="1"/>
<via x="48.26" y="30.48" extent="1-16" drill="0.6" shape="square"/>
<wire x1="48.26" y1="30.48" x2="53.34" y2="30.48" width="0.4064" layer="16"/>
<wire x1="53.34" y1="30.48" x2="54.61" y2="29.21" width="0.4064" layer="16"/>
<wire x1="54.61" y1="29.21" x2="54.61" y2="26.67" width="0.4064" layer="16"/>
<wire x1="54.61" y1="26.67" x2="55.88" y2="25.4" width="0.4064" layer="16"/>
<wire x1="27.94" y1="45.72" x2="46.99" y2="45.72" width="0.4064" layer="16"/>
<via x="46.99" y="45.72" extent="1-16" drill="0.6" shape="square"/>
<wire x1="46.99" y1="45.72" x2="43.815" y2="45.72" width="0.4064" layer="1"/>
<wire x1="3.81" y1="6.14" x2="3.81" y2="17.78" width="0.4064" layer="1"/>
<via x="3.81" y="26.67" extent="1-16" drill="0.6" shape="square"/>
<wire x1="3.81" y1="17.78" x2="3.81" y2="26.67" width="0.4064" layer="1"/>
<wire x1="21.59" y1="17.78" x2="3.81" y2="17.78" width="0.4064" layer="16"/>
<via x="3.81" y="17.78" extent="1-16" drill="0.6" shape="square"/>
<wire x1="3.81" y1="6.14" x2="5.08" y2="4.87" width="0.4064" layer="1"/>
<wire x1="3.81" y1="50.165" x2="5.08" y2="51.435" width="0.4064" layer="16"/>
<wire x1="6.985" y1="53.34" x2="5.08" y2="51.435" width="0.4064" layer="16"/>
</signal>
<signal name="C_CLK">
<contactref element="R_SDI_C_SDI" pad="2"/>
<contactref element="R_SDI_C_SDI_2" pad="2"/>
<contactref element="BLUE" pad="3"/>
<contactref element="RED" pad="3"/>
<contactref element="GREEN" pad="3"/>
<contactref element="R_SDO_C_SDI" pad="2"/>
<contactref element="R_SDI_C_SDO" pad="2"/>
<wire x1="14.605" y1="44.45" x2="26.67" y2="44.45" width="0.4064" layer="16"/>
<via x="26.67" y="44.45" extent="1-16" drill="0.6" shape="square"/>
<wire x1="26.67" y1="44.45" x2="23.495" y2="44.45" width="0.4064" layer="1"/>
<wire x1="26.67" y1="44.45" x2="45.72" y2="44.45" width="0.4064" layer="16"/>
<via x="45.72" y="44.45" extent="1-16" drill="0.6" shape="square"/>
<wire x1="45.72" y1="44.45" x2="43.815" y2="44.45" width="0.4064" layer="1"/>
<wire x1="45.72" y1="44.45" x2="52.07" y2="44.45" width="0.4064" layer="16"/>
<wire x1="52.07" y1="44.45" x2="54.61" y2="41.91" width="0.4064" layer="16"/>
<wire x1="54.61" y1="31.75" x2="55.88" y2="30.48" width="0.4064" layer="16"/>
<wire x1="55.88" y1="30.48" x2="55.88" y2="27.94" width="0.4064" layer="16"/>
<wire x1="54.61" y1="41.91" x2="54.61" y2="31.75" width="0.4064" layer="16"/>
<wire x1="6.35" y1="6.14" x2="6.35" y2="19.05" width="0.4064" layer="1"/>
<wire x1="6.35" y1="19.05" x2="6.35" y2="27.94" width="0.4064" layer="1"/>
<wire x1="6.35" y1="27.94" x2="6.35" y2="51.435" width="0.4064" layer="1"/>
<wire x1="9.525" y1="27.94" x2="6.35" y2="27.94" width="0.4064" layer="1"/>
<wire x1="31.115" y1="19.05" x2="22.86" y2="19.05" width="0.4064" layer="1"/>
<via x="22.86" y="19.05" extent="1-16" drill="0.6" shape="square"/>
<wire x1="22.86" y1="19.05" x2="6.35" y2="19.05" width="0.4064" layer="16"/>
<via x="6.35" y="19.05" extent="1-16" drill="0.6" shape="square"/>
<wire x1="6.35" y1="6.14" x2="7.62" y2="4.87" width="0.4064" layer="1"/>
<wire x1="6.35" y1="51.435" x2="7.62" y2="51.435" width="0.4064" layer="1"/>
<wire x1="14.605" y1="44.45" x2="7.62" y2="51.435" width="0.4064" layer="16"/>
</signal>
<signal name="R_LATCH">
<contactref element="IC1" pad="12"/>
<contactref element="R_SDI_C_SDI" pad="3"/>
<contactref element="R_SDI_C_SDI_2" pad="3"/>
<contactref element="R_SDO_C_SDI" pad="3"/>
<contactref element="R_SDI_C_SDO" pad="3"/>
<wire x1="5.08" y1="7.41" x2="5.08" y2="27.94" width="0.4064" layer="1"/>
<wire x1="5.08" y1="27.94" x2="5.08" y2="48.895" width="0.4064" layer="1"/>
<via x="39.37" y="31.75" extent="1-16" drill="0.6" shape="square"/>
<wire x1="39.37" y1="34.8234" x2="39.37" y2="31.75" width="0.4064" layer="1"/>
<wire x1="39.37" y1="31.75" x2="40.64" y2="31.75" width="0.4064" layer="16"/>
<wire x1="40.64" y1="31.75" x2="46.99" y2="25.4" width="0.4064" layer="16"/>
<wire x1="46.99" y1="25.4" x2="53.34" y2="25.4" width="0.4064" layer="16"/>
<wire x1="39.37" y1="31.75" x2="17.78" y2="31.75" width="0.4064" layer="16"/>
<wire x1="10.795" y1="26.67" x2="6.35" y2="26.67" width="0.4064" layer="16"/>
<wire x1="6.35" y1="26.67" x2="5.08" y2="27.94" width="0.4064" layer="16"/>
<via x="5.08" y="27.94" extent="1-16" drill="0.6" shape="square"/>
<contactref element="C1" pad="2"/>
<wire x1="39.37" y1="34.8234" x2="39.37" y2="36.83" width="0.4064" layer="1"/>
<wire x1="39.37" y1="36.83" x2="38.1" y2="38.1" width="0.4064" layer="1"/>
<wire x1="38.1" y1="38.1" x2="34.859" y2="38.1" width="0.4064" layer="1"/>
<wire x1="34.859" y1="38.1" x2="34.605" y2="38.354" width="0.4064" layer="1"/>
<wire x1="12.065" y1="25.4" x2="12.7" y2="25.4" width="0.4064" layer="16"/>
<wire x1="12.7" y1="25.4" x2="13.97" y2="26.67" width="0.4064" layer="16"/>
<wire x1="13.97" y1="26.67" x2="13.97" y2="27.94" width="0.4064" layer="16"/>
<wire x1="13.97" y1="27.94" x2="17.78" y2="31.75" width="0.4064" layer="16"/>
<wire x1="10.795" y1="26.67" x2="12.065" y2="25.4" width="0.4064" layer="16"/>
</signal>
<signal name="R_SDI">
<contactref element="IC1" pad="14"/>
<contactref element="R_SDI_C_SDI" pad="5"/>
<contactref element="R_SDI_C_SDI_2" pad="5"/>
<contactref element="R_SDI_C_SDO" pad="5"/>
<wire x1="2.54" y1="48.895" x2="2.54" y2="25.4" width="0.4064" layer="16"/>
<wire x1="10.795" y1="24.13" x2="3.81" y2="24.13" width="0.4064" layer="16"/>
<wire x1="3.81" y1="24.13" x2="2.54" y2="25.4" width="0.4064" layer="16"/>
<wire x1="53.34" y1="22.86" x2="46.99" y2="22.86" width="0.4064" layer="16"/>
<wire x1="46.99" y1="22.86" x2="39.37" y2="30.48" width="0.4064" layer="16"/>
<wire x1="39.37" y1="30.48" x2="30.48" y2="30.48" width="0.4064" layer="16"/>
<via x="30.48" y="30.48" extent="1-16" drill="0.6" shape="square"/>
<wire x1="30.48" y1="30.48" x2="31.75" y2="31.75" width="0.4064" layer="1"/>
<wire x1="31.75" y1="31.75" x2="35.56" y2="31.75" width="0.4064" layer="1"/>
<wire x1="35.56" y1="31.75" x2="36.83" y2="33.02" width="0.4064" layer="1"/>
<wire x1="36.83" y1="33.02" x2="36.83" y2="34.8234" width="0.4064" layer="1"/>
<wire x1="30.48" y1="30.48" x2="19.05" y2="30.48" width="0.4064" layer="16"/>
<wire x1="15.24" y1="26.67" x2="19.05" y2="30.48" width="0.4064" layer="16"/>
<wire x1="10.795" y1="24.13" x2="12.065" y2="22.86" width="0.4064" layer="16"/>
<wire x1="12.065" y1="22.86" x2="12.7" y2="22.86" width="0.4064" layer="16"/>
<wire x1="12.7" y1="22.86" x2="15.24" y2="25.4" width="0.4064" layer="16"/>
<wire x1="15.24" y1="25.4" x2="15.24" y2="26.67" width="0.4064" layer="16"/>
</signal>
<signal name="R_CLK">
<contactref element="IC1" pad="11"/>
<contactref element="R_SDI_C_SDI" pad="1"/>
<contactref element="R_SDI_C_SDI_2" pad="1"/>
<contactref element="R_SDO_C_SDI" pad="1"/>
<contactref element="R_SDI_C_SDO" pad="1"/>
<wire x1="40.64" y1="34.8234" x2="40.64" y2="33.02" width="0.4064" layer="1"/>
<via x="40.64" y="33.02" extent="1-16" drill="0.6" shape="square"/>
<wire x1="40.64" y1="33.02" x2="41.91" y2="33.02" width="0.4064" layer="16"/>
<wire x1="41.91" y1="33.02" x2="46.99" y2="27.94" width="0.4064" layer="16"/>
<wire x1="46.99" y1="27.94" x2="53.34" y2="27.94" width="0.4064" layer="16"/>
<wire x1="40.64" y1="33.02" x2="16.51" y2="33.02" width="0.4064" layer="16"/>
<wire x1="10.795" y1="22.225" x2="7.62" y2="19.05" width="0.4064" layer="1"/>
<wire x1="7.62" y1="19.05" x2="7.62" y2="7.41" width="0.4064" layer="1"/>
<wire x1="7.62" y1="48.895" x2="7.62" y2="33.02" width="0.4064" layer="16"/>
<wire x1="12.065" y1="27.94" x2="10.795" y2="26.67" width="0.4064" layer="1"/>
<wire x1="10.795" y1="26.67" x2="10.795" y2="22.225" width="0.4064" layer="1"/>
<wire x1="16.51" y1="33.02" x2="13.97" y2="30.48" width="0.4064" layer="16"/>
<wire x1="13.97" y1="30.48" x2="12.065" y2="30.48" width="0.4064" layer="16"/>
<wire x1="12.065" y1="30.48" x2="10.16" y2="30.48" width="0.4064" layer="16"/>
<wire x1="10.16" y1="30.48" x2="7.62" y2="33.02" width="0.4064" layer="16"/>
<wire x1="12.065" y1="27.94" x2="12.065" y2="30.48" width="0.4064" layer="16"/>
</signal>
<signal name="R_SDO">
<contactref element="IC1" pad="9"/>
<contactref element="R_SDO_C_SDI" pad="5"/>
<wire x1="29.21" y1="29.21" x2="29.21" y2="22.86" width="0.4064" layer="16"/>
<wire x1="29.21" y1="22.86" x2="22.86" y2="16.51" width="0.4064" layer="16"/>
<wire x1="22.86" y1="16.51" x2="7.62" y2="16.51" width="0.4064" layer="16"/>
<wire x1="7.62" y1="16.51" x2="2.54" y2="11.43" width="0.4064" layer="16"/>
<wire x1="43.18" y1="34.8234" x2="43.18" y2="33.02" width="0.4064" layer="1"/>
<wire x1="43.18" y1="33.02" x2="40.64" y2="30.48" width="0.4064" layer="1"/>
<wire x1="40.64" y1="30.48" x2="33.02" y2="30.48" width="0.4064" layer="1"/>
<wire x1="33.02" y1="30.48" x2="31.75" y2="29.21" width="0.4064" layer="1"/>
<wire x1="31.75" y1="29.21" x2="29.21" y2="29.21" width="0.4064" layer="1"/>
<via x="29.21" y="29.21" extent="1-16" drill="0.6" shape="square"/>
<wire x1="2.54" y1="11.43" x2="2.54" y2="7.41" width="0.4064" layer="16"/>
<wire x1="2.54" y1="8.636" x2="2.54" y2="7.41" width="0.4064" layer="16"/>
</signal>
<signal name="C_SDO">
<contactref element="GREEN" pad="14"/>
<contactref element="R_SDI_C_SDO" pad="6"/>
<via x="39.37" y="20.32" extent="1-16" drill="0.6" shape="square"/>
<wire x1="39.37" y1="20.32" x2="49.53" y2="20.32" width="0.4064" layer="16"/>
<wire x1="49.53" y1="20.32" x2="50.8" y2="19.05" width="0.4064" layer="16"/>
<wire x1="50.8" y1="19.05" x2="55.88" y2="19.05" width="0.4064" layer="16"/>
<wire x1="55.88" y1="19.05" x2="55.88" y2="22.86" width="0.4064" layer="16"/>
<wire x1="39.37" y1="20.32" x2="39.37" y2="19.05" width="0.4064" layer="1"/>
<wire x1="39.37" y1="19.05" x2="37.465" y2="19.05" width="0.4064" layer="1"/>
</signal>
<signal name="V_DIG">
<contactref element="POWER1" pad="4"/>
<contactref element="POWER1" pad="3"/>
<contactref element="POWER3" pad="4"/>
<contactref element="POWER3" pad="3"/>
<contactref element="POWER2" pad="3"/>
<contactref element="POWER2" pad="4"/>
<contactref element="POWER4" pad="4"/>
<contactref element="POWER4" pad="3"/>
<wire x1="9.525" y1="35.56" x2="12.065" y2="35.56" width="0.8128" layer="16"/>
<wire x1="12.065" y1="35.56" x2="16.891" y2="35.56" width="0.8128" layer="16"/>
<wire x1="16.891" y1="35.56" x2="27.94" y2="35.56" width="0.8128" layer="16"/>
<wire x1="27.94" y1="35.56" x2="31.75" y2="35.56" width="0.8128" layer="16"/>
<wire x1="31.75" y1="35.56" x2="45.72" y2="35.56" width="0.8128" layer="16"/>
<wire x1="55.88" y1="11.43" x2="55.88" y2="7.41" width="0.4064" layer="1"/>
<wire x1="55.88" y1="7.41" x2="55.88" y2="4.87" width="0.4064" layer="1"/>
<wire x1="53.34" y1="35.56" x2="55.88" y2="35.56" width="0.8128" layer="1"/>
<contactref element="IC1" pad="16"/>
<contactref element="BLUE" pad="16"/>
<contactref element="GREEN" pad="16"/>
<wire x1="37.465" y1="41.91" x2="36.83" y2="41.91" width="0.8128" layer="1"/>
<wire x1="36.83" y1="41.91" x2="36.83" y2="39.624" width="0.8128" layer="1"/>
<via x="45.72" y="35.56" extent="1-16" drill="0.6" shape="square"/>
<contactref element="R12" pad="2"/>
<contactref element="RED" pad="16"/>
<via x="16.891" y="35.56" extent="1-16" drill="0.6" shape="square"/>
<via x="39.37" y="21.59" extent="1-16" drill="0.6" shape="square"/>
<wire x1="39.37" y1="21.59" x2="50.8" y2="21.59" width="0.8128" layer="16"/>
<wire x1="50.8" y1="21.59" x2="52.07" y2="20.32" width="0.8128" layer="16"/>
<wire x1="52.07" y1="20.32" x2="54.61" y2="20.32" width="0.8128" layer="16"/>
<via x="54.61" y="20.32" extent="1-16" drill="0.6" shape="square"/>
<wire x1="55.88" y1="20.32" x2="55.88" y2="11.43" width="0.8128" layer="1"/>
<wire x1="55.88" y1="4.87" x2="55.88" y2="11.43" width="0.8128" layer="1"/>
<contactref element="IC1" pad="10"/>
<wire x1="45.72" y1="35.56" x2="53.34" y2="35.56" width="0.8128" layer="16"/>
<wire x1="55.88" y1="48.895" x2="55.88" y2="43.18" width="0.8128" layer="1"/>
<wire x1="55.88" y1="43.18" x2="58.42" y2="40.64" width="0.8128" layer="1"/>
<wire x1="58.42" y1="40.64" x2="58.42" y2="35.56" width="0.8128" layer="1"/>
<wire x1="58.42" y1="35.56" x2="58.42" y2="21.59" width="0.8128" layer="1"/>
<wire x1="55.88" y1="35.56" x2="58.42" y2="35.56" width="0.8128" layer="1"/>
<wire x1="54.61" y1="20.32" x2="55.88" y2="20.32" width="0.8128" layer="1"/>
<wire x1="55.88" y1="20.32" x2="57.15" y2="20.32" width="0.8128" layer="1"/>
<wire x1="57.15" y1="20.32" x2="58.42" y2="21.59" width="0.8128" layer="1"/>
<contactref element="C6" pad="2"/>
<contactref element="C5" pad="2"/>
<contactref element="C4" pad="2"/>
<contactref element="C3" pad="2"/>
<wire x1="39.69" y1="39.624" x2="36.83" y2="39.624" width="0.8128" layer="1"/>
<wire x1="17.145" y1="41.91" x2="16.51" y2="41.91" width="0.8128" layer="1"/>
<via x="27.94" y="35.56" extent="1-16" drill="0.6" shape="square"/>
<wire x1="17.145" y1="41.91" x2="17.145" y2="41.275" width="0.8128" layer="1"/>
<wire x1="41.91" y1="34.8234" x2="41.91" y2="36.83" width="0.4064" layer="1"/>
<wire x1="39.37" y1="39.304" x2="39.69" y2="39.624" width="0.4064" layer="1"/>
<wire x1="45.72" y1="35.56" x2="44.45" y2="36.83" width="0.4064" layer="1"/>
<wire x1="44.45" y1="36.83" x2="41.91" y2="36.83" width="0.4064" layer="1"/>
<wire x1="45.72" y1="32.7" x2="45.72" y2="35.56" width="0.4064" layer="1"/>
<wire x1="55.88" y1="48.895" x2="55.88" y2="51.435" width="0.8128" layer="1"/>
<wire x1="16.803" y1="35.472" x2="16.891" y2="35.56" width="0.4064" layer="1"/>
<wire x1="16.891" y1="35.56" x2="16.891" y2="35.814" width="0.8128" layer="1"/>
<wire x1="16.891" y1="35.814" x2="16.891" y2="41.529" width="0.8128" layer="1"/>
<wire x1="16.891" y1="41.529" x2="16.51" y2="41.91" width="0.8128" layer="1"/>
<contactref element="FET9" pad="S"/>
<contactref element="R13" pad="2"/>
<wire x1="16.957" y1="39.624" x2="16.51" y2="39.624" width="0.4064" layer="1"/>
<wire x1="16.51" y1="39.624" x2="16.51" y2="39.37" width="0.4064" layer="1"/>
<wire x1="16.51" y1="39.37" x2="16.891" y2="39.37" width="0.4064" layer="1"/>
<wire x1="16.891" y1="39.37" x2="16.891" y2="35.814" width="0.4064" layer="1"/>
<wire x1="16.891" y1="35.814" x2="16.764" y2="35.814" width="0.4064" layer="1"/>
<wire x1="16.764" y1="35.814" x2="16.764" y2="35.56" width="0.4064" layer="1"/>
<wire x1="16.803" y1="35.472" x2="16.803" y2="30.402" width="0.4064" layer="1"/>
<wire x1="16.803" y1="30.402" x2="17.018" y2="30.187" width="0.4064" layer="1"/>
<wire x1="33.045" y1="41.14" x2="33.52" y2="41.14" width="0.4064" layer="1"/>
<wire x1="33.52" y1="41.14" x2="34.29" y2="41.91" width="0.4064" layer="1"/>
<wire x1="34.29" y1="41.91" x2="36.83" y2="41.91" width="0.4064" layer="1"/>
<wire x1="33.02" y1="35.56" x2="31.75" y2="35.56" width="0.4064" layer="1"/>
<via x="31.75" y="35.56" extent="1-16" drill="0.6" shape="square"/>
<wire x1="26.67" y1="34.91" x2="27.29" y2="34.91" width="0.4064" layer="1"/>
<wire x1="27.29" y1="34.91" x2="27.94" y2="35.56" width="0.4064" layer="1"/>
<wire x1="39.37" y1="39.304" x2="39.436" y2="39.304" width="0.4064" layer="1"/>
<wire x1="39.436" y1="39.304" x2="41.91" y2="36.83" width="0.4064" layer="1"/>
<wire x1="34.29" y1="34.8234" x2="33.7566" y2="34.8234" width="0.4064" layer="1"/>
<wire x1="33.7566" y1="34.8234" x2="33.02" y2="35.56" width="0.4064" layer="1"/>
<wire x1="37.465" y1="21.59" x2="37.465" y2="22.225" width="0.4064" layer="1"/>
<wire x1="37.465" y1="22.225" x2="36.83" y2="22.86" width="0.4064" layer="1"/>
<wire x1="36.83" y1="22.86" x2="36.83" y2="23.4975" width="0.4064" layer="1"/>
<wire x1="36.83" y1="23.4975" x2="36.515" y2="23.8125" width="0.4064" layer="1"/>
<wire x1="37.465" y1="21.59" x2="39.37" y2="21.59" width="0.4064" layer="1"/>
</signal>
<signal name="N$25">
<contactref element="MX1" pad="17"/>
<contactref element="FET1" pad="D"/>
<wire x1="11.43" y1="10.16" x2="11.43" y2="7.28" width="0.4064" layer="1"/>
</signal>
<signal name="V_LED">
<contactref element="POWER1" pad="6"/>
<contactref element="POWER1" pad="5"/>
<contactref element="FET1" pad="S"/>
<contactref element="FET8" pad="S"/>
<contactref element="FET6" pad="S"/>
<contactref element="FET7" pad="S"/>
<contactref element="FET5" pad="S"/>
<contactref element="FET4" pad="S"/>
<contactref element="FET3" pad="S"/>
<contactref element="FET2" pad="S"/>
<contactref element="R4" pad="2"/>
<contactref element="R5" pad="2"/>
<contactref element="R6" pad="2"/>
<contactref element="R7" pad="2"/>
<contactref element="R8" pad="2"/>
<contactref element="R9" pad="2"/>
<contactref element="R10" pad="2"/>
<contactref element="R11" pad="2"/>
<wire x1="10.93" y1="11.455" x2="10.93" y2="12.692" width="0.4064" layer="1"/>
<wire x1="10.93" y1="12.692" x2="10.922" y2="12.7" width="0.4064" layer="1"/>
<via x="10.922" y="12.7" extent="1-16" drill="0.6" shape="square"/>
<wire x1="10.78" y1="14.732" x2="10.78" y2="12.842" width="0.4064" layer="1"/>
<wire x1="10.78" y1="12.842" x2="10.922" y2="12.7" width="0.4064" layer="1"/>
<contactref element="POWER3" pad="6"/>
<contactref element="POWER3" pad="5"/>
<contactref element="POWER2" pad="6"/>
<contactref element="POWER2" pad="5"/>
<contactref element="POWER4" pad="6"/>
<contactref element="POWER4" pad="5"/>
<wire x1="53.34" y1="7.41" x2="53.34" y2="19.05" width="0.8128" layer="1"/>
<wire x1="53.34" y1="19.05" x2="50.8" y2="21.59" width="0.8128" layer="1"/>
<wire x1="50.8" y1="21.59" x2="50.8" y2="33.02" width="0.8128" layer="1"/>
<wire x1="50.8" y1="33.02" x2="50.8" y2="39.37" width="0.8128" layer="1"/>
<wire x1="50.8" y1="39.37" x2="53.34" y2="41.91" width="0.8128" layer="1"/>
<wire x1="53.34" y1="41.91" x2="53.34" y2="48.895" width="0.8128" layer="1"/>
<wire x1="53.34" y1="48.895" x2="53.34" y2="51.435" width="0.8128" layer="1"/>
<wire x1="53.34" y1="4.87" x2="53.34" y2="7.41" width="0.8128" layer="1"/>
<via x="48.895" y="12.7" extent="1-16" drill="0.6" shape="square"/>
<wire x1="48.895" y1="12.7" x2="48.895" y2="11.59" width="0.4064" layer="1"/>
<wire x1="48.895" y1="11.59" x2="49.03" y2="11.455" width="0.4064" layer="1"/>
<wire x1="48.895" y1="12.7" x2="46.482" y2="12.7" width="0.8128" layer="16"/>
<via x="46.482" y="12.7" extent="1-16" drill="0.6" shape="square"/>
<wire x1="46.482" y1="12.7" x2="46.482" y2="11.463" width="0.4064" layer="1"/>
<wire x1="46.482" y1="11.463" x2="46.49" y2="11.455" width="0.4064" layer="1"/>
<wire x1="43.95" y1="11.455" x2="43.95" y2="11.422" width="0.4064" layer="1"/>
<wire x1="43.95" y1="11.422" x2="43.942" y2="12.7" width="0.4064" layer="1"/>
<via x="43.942" y="12.7" extent="1-16" drill="0.6" shape="square"/>
<wire x1="43.942" y1="12.7" x2="46.482" y2="12.7" width="0.8128" layer="16"/>
<wire x1="41.41" y1="11.455" x2="41.41" y2="12.692" width="0.4064" layer="1"/>
<wire x1="41.41" y1="12.692" x2="41.402" y2="12.7" width="0.4064" layer="1"/>
<via x="41.402" y="12.7" extent="1-16" drill="0.6" shape="square"/>
<wire x1="41.402" y1="12.7" x2="41.91" y2="12.7" width="0.8128" layer="16"/>
<wire x1="41.91" y1="12.7" x2="43.942" y2="12.7" width="0.8128" layer="16"/>
<wire x1="18.55" y1="12.692" x2="18.542" y2="12.7" width="0.8128" layer="16"/>
<via x="18.542" y="12.7" extent="1-16" drill="0.6" shape="square"/>
<wire x1="18.542" y1="12.7" x2="18.542" y2="11.463" width="0.4064" layer="1"/>
<wire x1="18.542" y1="11.463" x2="18.55" y2="11.455" width="0.4064" layer="1"/>
<wire x1="16.01" y1="11.455" x2="16.01" y2="12.692" width="0.4064" layer="1"/>
<wire x1="16.01" y1="12.692" x2="16.002" y2="12.7" width="0.4064" layer="1"/>
<via x="16.002" y="12.7" extent="1-16" drill="0.6" shape="square"/>
<wire x1="16.002" y1="12.7" x2="18.542" y2="12.7" width="0.8128" layer="16"/>
<wire x1="13.47" y1="11.455" x2="13.47" y2="12.692" width="0.4064" layer="1"/>
<wire x1="13.47" y1="12.692" x2="13.462" y2="12.7" width="0.4064" layer="1"/>
<via x="13.462" y="12.7" extent="1-16" drill="0.6" shape="square"/>
<wire x1="13.462" y1="12.7" x2="16.002" y2="12.7" width="0.8128" layer="16"/>
<wire x1="13.462" y1="12.7" x2="10.922" y2="12.7" width="0.8128" layer="16"/>
<wire x1="41.26" y1="16.51" x2="41.26" y2="12.842" width="0.4064" layer="1"/>
<wire x1="41.26" y1="12.842" x2="41.402" y2="12.7" width="0.4064" layer="1"/>
<wire x1="43.8" y1="14.732" x2="43.8" y2="12.842" width="0.4064" layer="1"/>
<wire x1="43.8" y1="12.842" x2="43.942" y2="12.7" width="0.4064" layer="1"/>
<wire x1="46.34" y1="16.51" x2="46.34" y2="12.842" width="0.4064" layer="1"/>
<wire x1="46.34" y1="12.842" x2="46.482" y2="12.7" width="0.4064" layer="1"/>
<wire x1="48.88" y1="14.732" x2="48.88" y2="12.715" width="0.4064" layer="1"/>
<wire x1="48.88" y1="12.715" x2="48.895" y2="12.7" width="0.4064" layer="1"/>
<wire x1="13.32" y1="16.51" x2="13.32" y2="12.842" width="0.4064" layer="1"/>
<wire x1="13.32" y1="12.842" x2="13.462" y2="12.7" width="0.4064" layer="1"/>
<wire x1="18.4" y1="16.51" x2="18.4" y2="12.842" width="0.4064" layer="1"/>
<wire x1="18.4" y1="12.842" x2="18.542" y2="12.7" width="0.4064" layer="1"/>
<wire x1="15.86" y1="14.732" x2="15.86" y2="12.842" width="0.4064" layer="1"/>
<wire x1="15.86" y1="12.842" x2="16.002" y2="12.7" width="0.4064" layer="1"/>
<wire x1="9.525" y1="33.02" x2="13.97" y2="33.02" width="0.8128" layer="16"/>
<wire x1="13.97" y1="33.02" x2="15.24" y2="34.29" width="0.8128" layer="16"/>
<wire x1="15.24" y1="34.29" x2="43.18" y2="34.29" width="0.8128" layer="16"/>
<wire x1="43.18" y1="34.29" x2="44.45" y2="33.02" width="0.8128" layer="16"/>
<wire x1="44.45" y1="33.02" x2="53.34" y2="33.02" width


text:
="0.8128" layer="16"/>
<wire x1="53.34" y1="33.02" x2="55.88" y2="33.02" width="0.8128" layer="1"/>
<wire x1="53.34" y1="33.02" x2="50.8" y2="33.02" width="0.8128" layer="1"/>
<wire x1="18.542" y1="12.7" x2="19.05" y2="12.7" width="0.8128" layer="16"/>
<wire x1="19.05" y1="12.7" x2="21.59" y2="15.24" width="0.8128" layer="16"/>
<wire x1="21.59" y1="15.24" x2="24.13" y2="15.24" width="0.8128" layer="16"/>
<wire x1="24.13" y1="15.24" x2="25.4" y2="16.51" width="0.8128" layer="16"/>
<wire x1="25.4" y1="16.51" x2="37.465" y2="16.51" width="0.8128" layer="16"/>
<wire x1="10.922" y1="12.7" x2="10.16" y2="12.7" width="0.8128" layer="1"/>
<wire x1="10.16" y1="12.7" x2="8.89" y2="13.97" width="0.8128" layer="1"/>
<wire x1="8.89" y1="13.97" x2="8.89" y2="17.78" width="0.8128" layer="1"/>
<wire x1="8.89" y1="17.78" x2="13.97" y2="22.86" width="0.8128" layer="1"/>
<wire x1="13.97" y1="22.86" x2="13.97" y2="31.75" width="0.8128" layer="1"/>
<wire x1="12.065" y1="33.02" x2="9.525" y2="33.02" width="0.8128" layer="1"/>
<contactref element="C7" pad="+"/>
<contactref element="C8" pad="+"/>
<wire x1="10.627" y1="3.2" x2="10.627" y2="5.121" width="0.8128" layer="1"/>
<wire x1="10.627" y1="5.121" x2="9.525" y2="6.223" width="0.8128" layer="1"/>
<wire x1="9.525" y1="6.223" x2="9.525" y2="12.065" width="0.8128" layer="1"/>
<wire x1="9.525" y1="12.065" x2="10.16" y2="12.7" width="0.8128" layer="1"/>
<wire x1="50.46" y1="3.2" x2="51.772" y2="3.302" width="0.8128" layer="1"/>
<wire x1="51.772" y1="3.302" x2="53.34" y2="4.87" width="0.8128" layer="1"/>
<wire x1="12.065" y1="33.02" x2="12.7" y2="33.02" width="0.8128" layer="1"/>
<wire x1="12.7" y1="33.02" x2="13.97" y2="31.75" width="0.8128" layer="1"/>
<wire x1="48.895" y1="12.7" x2="49.53" y2="12.7" width="0.8128" layer="16"/>
<wire x1="49.53" y1="12.7" x2="53.34" y2="8.89" width="0.8128" layer="16"/>
<wire x1="53.34" y1="8.89" x2="53.34" y2="7.62" width="0.8128" layer="16"/>
<wire x1="37.465" y1="16.51" x2="41.275" y2="12.7" width="0.8128" layer="16"/>
<wire x1="41.275" y1="12.7" x2="41.91" y2="12.7" width="0.4064" layer="16"/>
</signal>
<signal name="OUT0B">
<contactref element="MX1" pad="9"/>
<contactref element="RED" pad="5"/>
<wire x1="23.495" y1="46.99" x2="25.4" y2="46.99" width="0.4064" layer="1"/>
<wire x1="25.4" y1="46.99" x2="29.21" y2="50.8" width="0.4064" layer="1"/>
<wire x1="29.21" y1="50.8" x2="29.21" y2="53.68" width="0.4064" layer="1"/>
</signal>
<signal name="N$41">
<contactref element="R12" pad="1"/>
<contactref element="C2" pad="2"/>
<contactref element="T1" pad="A2"/>
<contactref element="T1" pad="A"/>
<wire x1="21.209" y1="28.498" x2="21.209" y2="34.798" width="0.4064" layer="1"/>
<contactref element="IC1" pad="13"/>
<wire x1="17.018" y1="28.487" x2="21.198" y2="28.487" width="0.4064" layer="1"/>
<wire x1="21.198" y1="28.487" x2="21.209" y2="28.498" width="0.4064" layer="1"/>
<wire x1="21.209" y1="28.498" x2="25.384" y2="28.498" width="0.4064" layer="1"/>
<wire x1="25.384" y1="28.498" x2="25.527" y2="28.641" width="0.4064" layer="1"/>
<wire x1="38.1" y1="36.83" x2="30.48" y2="36.83" width="0.4064" layer="1"/>
<wire x1="30.48" y1="36.83" x2="29.21" y2="35.56" width="0.4064" layer="1"/>
<wire x1="29.21" y1="35.56" x2="29.21" y2="33.02" width="0.4064" layer="1"/>
<wire x1="29.21" y1="33.02" x2="26.924" y2="30.734" width="0.4064" layer="1"/>
<wire x1="25.527" y1="28.641" x2="26.101" y2="28.641" width="0.4064" layer="1"/>
<wire x1="26.101" y1="28.641" x2="26.924" y2="29.464" width="0.4064" layer="1"/>
<wire x1="26.924" y1="29.464" x2="26.924" y2="30.734" width="0.4064" layer="1"/>
<wire x1="38.1" y1="34.8234" x2="38.1" y2="36.83" width="0.4064" layer="1"/>
</signal>
<signal name="N$46">
<contactref element="FET9" pad="D"/>
<contactref element="R14" pad="1"/>
<wire x1="28.155" y1="39.878" x2="29.718" y2="39.878" width="0.4064" layer="1"/>
<wire x1="29.718" y1="39.878" x2="30.48" y2="40.64" width="0.4064" layer="1"/>
<wire x1="30.48" y1="40.64" x2="31.75" y2="40.64" width="0.4064" layer="1"/>
</signal>
<signal name="N$49">
<contactref element="C1" pad="1"/>
<contactref element="FET9" pad="G"/>
<contactref element="R13" pad="1"/>
<wire x1="32.959" y1="40.054" x2="33.045" y2="40.14" width="0.4064" layer="1"/>
<wire x1="32.959" y1="40.054" x2="32.959" y2="38.161" width="0.4064" layer="1"/>
<wire x1="32.959" y1="38.161" x2="33.02" y2="38.1" width="0.4064" layer="1"/>
<wire x1="32.705" y1="38.354" x2="28.194" y2="38.354" width="0.4064" layer="1"/>
<wire x1="28.194" y1="38.354" x2="26.67" y2="36.83" width="0.4064" layer="1"/>
<wire x1="26.67" y1="36.21" x2="26.67" y2="36.83" width="0.4064" layer="1"/>
<wire x1="32.705" y1="38.354" x2="32.766" y2="38.354" width="0.4064" layer="1"/>
<wire x1="32.766" y1="38.354" x2="32.959" y2="38.161" width="0.4064" layer="1"/>
</signal>
<signal name="N$47">
<contactref element="R14" pad="2"/>
<contactref element="T1" pad="G"/>
<contactref element="R15" pad="2"/>
<wire x1="18.909" y1="34.798" x2="18.909" y2="36.689" width="0.4064" layer="1"/>
<wire x1="18.909" y1="36.689" x2="20.32" y2="38.1" width="0.4064" layer="1"/>
<wire x1="20.32" y1="38.1" x2="21.59" y2="38.1" width="0.4064" layer="1"/>
<wire x1="21.59" y1="38.1" x2="21.59" y2="38.569" width="0.4064" layer="1"/>
<wire x1="21.59" y1="38.569" x2="21.629" y2="38.608" width="0.4064" layer="1"/>
<wire x1="21.629" y1="38.608" x2="21.629" y2="39.409" width="0.4064" layer="1"/>
<wire x1="21.629" y1="39.409" x2="22.86" y2="40.64" width="0.4064" layer="1"/>
<wire x1="22.86" y1="40.64" x2="25.693" y2="40.64" width="0.4064" layer="1"/>
<wire x1="25.693" y1="40.64" x2="26.455" y2="39.878" width="0.4064" layer="1"/>
</signal>
<signal name="N$17">
<contactref element="MX1" pad="21"/>
<contactref element="GREEN" pad="12"/>
<wire x1="37.465" y1="16.51" x2="34.29" y2="16.51" width="0.4064" layer="1"/>
<wire x1="34.29" y1="16.51" x2="33.02" y2="15.24" width="0.4064" layer="1"/>
<wire x1="33.02" y1="15.24" x2="33.02" y2="11.43" width="0.4064" layer="1"/>
<wire x1="33.02" y1="11.43" x2="22.86" y2="11.43" width="0.4064" layer="1"/>
<wire x1="22.86" y1="11.43" x2="21.59" y2="10.16" width="0.4064" layer="1"/>
<wire x1="21.59" y1="10.16" x2="21.59" y2="7.28" width="0.4064" layer="1"/>
</signal>
<signal name="N$18">
<contactref element="MX1" pad="22"/>
<contactref element="GREEN" pad="11"/>
<wire x1="37.465" y1="15.24" x2="35.56" y2="15.24" width="0.4064" layer="1"/>
<wire x1="35.56" y1="15.24" x2="34.29" y2="13.97" width="0.4064" layer="1"/>
<wire x1="34.29" y1="13.97" x2="34.29" y2="11.43" width="0.4064" layer="1"/>
<wire x1="34.29" y1="11.43" x2="33.02" y2="10.16" width="0.4064" layer="1"/>
<wire x1="33.02" y1="10.16" x2="25.4" y2="10.16" width="0.4064" layer="1"/>
<wire x1="25.4" y1="10.16" x2="24.13" y2="8.89" width="0.4064" layer="1"/>
<wire x1="24.13" y1="8.89" x2="24.13" y2="7.28" width="0.4064" layer="1"/>
</signal>
<signal name="N$19">
<contactref element="MX1" pad="23"/>
<contactref element="GREEN" pad="10"/>
<wire x1="37.465" y1="13.97" x2="35.56" y2="13.97" width="0.4064" layer="1"/>
<wire x1="35.56" y1="13.97" x2="35.56" y2="10.16" width="0.4064" layer="1"/>
<wire x1="35.56" y1="10.16" x2="34.29" y2="8.89" width="0.4064" layer="1"/>
<wire x1="34.29" y1="8.89" x2="27.94" y2="8.89" width="0.4064" layer="1"/>
<wire x1="27.94" y1="8.89" x2="26.67" y2="7.28" width="0.4064" layer="1"/>
</signal>
<signal name="N$20">
<contactref element="MX1" pad="24"/>
<contactref element="GREEN" pad="9"/>
<wire x1="29.21" y1="7.28" x2="29.21" y2="6.35" width="0.4064" layer="1"/>
<wire x1="29.21" y1="6.35" x2="30.48" y2="5.08" width="0.4064" layer="1"/>
<wire x1="30.48" y1="5.08" x2="36.83" y2="5.08" width="0.4064" layer="1"/>
<wire x1="36.83" y1="5.08" x2="38.1" y2="6.35" width="0.4064" layer="1"/>
<wire x1="38.1" y1="6.35" x2="38.1" y2="12.7" width="0.4064" layer="1"/>
<wire x1="38.1" y1="12.7" x2="37.465" y2="12.7" width="0.4064" layer="1"/>
</signal>
<signal name="N$21">
<contactref element="MX1" pad="25"/>
<contactref element="GREEN" pad="8"/>
<wire x1="31.115" y1="12.7" x2="29.21" y2="12.7" width="0.4064" layer="1"/>
<via x="29.21" y="12.7" extent="1-16" drill="0.6" shape="square"/>
<wire x1="31.75" y1="7.28" x2="31.75" y2="10.16" width="0.4064" layer="16"/>
<wire x1="31.75" y1="10.16" x2="29.21" y2="12.7" width="0.4064" layer="16"/>
</signal>
<signal name="N$22">
<contactref element="MX1" pad="26"/>
<contactref element="GREEN" pad="7"/>
<wire x1="31.115" y1="13.97" x2="27.94" y2="13.97" width="0.4064" layer="1"/>
<wire x1="27.94" y1="13.97" x2="26.67" y2="12.7" width="0.4064" layer="1"/>
<via x="26.67" y="12.7" extent="1-16" drill="0.6" shape="square"/>
<wire x1="26.67" y1="12.7" x2="26.67" y2="11.43" width="0.4064" layer="16"/>
<wire x1="27.94" y1="10.16" x2="26.67" y2="11.43" width="0.4064" layer="16"/>
<wire x1="27.94" y1="10.16" x2="27.94" y2="6.35" width="0.4064" layer="16"/>
<wire x1="27.94" y1="6.35" x2="29.21" y2="5.08" width="0.4064" layer="16"/>
<wire x1="29.21" y1="5.08" x2="32.09" y2="5.08" width="0.4064" layer="16"/>
<wire x1="32.09" y1="5.08" x2="34.29" y2="7.28" width="0.4064" layer="16"/>
</signal>
<signal name="N$23">
<contactref element="MX1" pad="27"/>
<contactref element="GREEN" pad="6"/>
<wire x1="31.115" y1="15.24" x2="26.67" y2="15.24" width="0.4064" layer="1"/>
<wire x1="26.67" y1="15.24" x2="24.13" y2="12.7" width="0.4064" layer="1"/>
<via x="24.13" y="12.7" extent="1-16" drill="0.6" shape="square"/>
<wire x1="24.13" y1="12.7" x2="24.13" y2="11.43" width="0.4064" layer="16"/>
<wire x1="33.36" y1="3.81" x2="26.67" y2="3.81" width="0.4064" layer="16"/>
<wire x1="25.4" y1="5.08" x2="25.4" y2="10.16" width="0.4064" layer="16"/>
<wire x1="25.4" y1="10.16" x2="24.13" y2="11.43" width="0.4064" layer="16"/>
<wire x1="25.4" y1="5.08" x2="26.67" y2="3.81" width="0.4064" layer="16"/>
<wire x1="33.36" y1="3.81" x2="36.83" y2="7.28" width="0.4064" layer="16"/>
</signal>
<signal name="N$24">
<contactref element="MX1" pad="28"/>
<contactref element="GREEN" pad="5"/>
<wire x1="31.115" y1="16.51" x2="25.4" y2="16.51" width="0.4064" layer="1"/>
<wire x1="25.4" y1="16.51" x2="21.59" y2="12.7" width="0.4064" layer="1"/>
<via x="21.59" y="12.7" extent="1-16" drill="0.6" shape="square"/>
<wire x1="21.59" y1="12.7" x2="21.59" y2="11.43" width="0.4064" layer="16"/>
<wire x1="34.63" y1="2.54" x2="24.13" y2="2.54" width="0.4064" layer="16"/>
<wire x1="22.86" y1="3.81" x2="22.86" y2="10.16" width="0.4064" layer="16"/>
<wire x1="22.86" y1="10.16" x2="21.59" y2="11.43" width="0.4064" layer="16"/>
<wire x1="22.86" y1="3.81" x2="24.13" y2="2.54" width="0.4064" layer="16"/>
<wire x1="34.63" y1="2.54" x2="39.37" y2="7.28" width="0.4064" layer="16"/>
</signal>
</signals>
</board>
</drawing>
</eagle>

license: MIT

repository: silveirago/DIY-Midi-Controller-full

license_type: permissive

repo_name: silveirago/DIY-Midi-Controller-full

branch_name: refs/heads/master

extension: brd


text:
import { Model, DataTypes } from 'sequelize';
import sequelize from '.';

import ReactionType from './reactionType.model';
import User from './user.model';
import Post from './post.model';

class Reaction extends Model {
  public userId: string;

  public postId: string;

  public reactionTypeId: string;

  public createdAt: Date;

  static associate() {
    this.belongsTo(User, {
      as: 'user',
      foreignKey: 'userId'
    });
    this.belongsTo(Post, {
      as: 'post',
      foreignKey: 'postId'
    });
    this.belongsTo(ReactionType, {
      as: 'reactionType',
      foreignKey: 'reactionTypeId',
    });
  }
}

Reaction.init({
  userId: {
    type: DataTypes.UUID,
    allowNull: false,
    primaryKey: true,
    validate: {
      notEmpty: true,
    },
    references: {
      model: 'USER',
      key: 'id',
    },
  },
  postId: {
    type: DataTypes.UUID,
    allowNull: false,
    primaryKey: true,
    validate: {
      notEmpty: true,
    },
    references: {
      model: 'POST',
      key: 'id',
    },
    onDelete: 'CASCADE',
    onUpdate: 'CASCADE',
  },
  reactionTypeId: {
    type: DataTypes.UUID,
    allowNull: false,
    validate: {
      notEmpty: true,
    },
    references: {
      model: 'ReactionType',
      key: 'id',
    },
    onDelete: 'CASCADE',
    onUpdate: 'CASCADE',
  },
}, {
  sequelize,
  modelName: 'REACTION',
  timestamps: false,
});

export default Reaction;

extension: ts


text:
// Copyright 2020 VMware, Inc.
// SPDX-License-Identifier: Apache-2.0

package cmd

import (
	"github.com/spf13/cobra"
)

type TarFlags struct {
	TarSrc string
	TarDst string
	Resume bool
}

func (t *TarFlags) Set(cmd *cobra.Command) {
	cmd.Flags().StringVar(&t.TarDst, "to-tar", "", "Location to write a tar file containing assets")
	cmd.Flags().StringVar(&t.TarSrc, "tar", "", "Path to tar file which contains assets to be copied to a registry")
	cmd.Flags().BoolVar(&t.Resume, "resume", false, "Resume the copy to tar. When set to true will try to read the tar and only download the missing blobs")
}

func (t TarFlags) IsSrc() bool { return t.TarSrc != "" }
func (t TarFlags) IsDst() bool { return t.TarDst != "" }

repository: seanly/imgpkg

repo_name: seanly/imgpkg

extension: go


text:
require dialog.inc
PR = "${INC_PR}.0"

SRC_URI[md5sum] = "3caebd641a9f337b980becb4444336c5"
SRC_URI[sha256sum] = "c5d49b39c5998bcecd124c05cc6f096d22ccdc378ad455214611ae41a2f4b7d9"

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD

extension: bb


text:
require ${PN}.inc

PR = "r1"

SRC_URI = "http://sources.openembedded.org/opie-1.2.4-split_noncore_games_solitaire.tar.bz2;name=split_noncore_games_solitaire \
           http://sources.openembedded.org/opie-1.2.4-split_pics.tar.bz2;name=split_pics \
           http://sources.openembedded.org/opie-1.2.4-split_apps.tar.bz2;name=split_apps"
SRC_URI[split_noncore_games_solitaire.md5sum] = "b97d398cef20f33255f81d78a4485a84"
SRC_URI[split_noncore_games_solitaire.sha256sum] = "394a04d7bc9c5952ebc3b3b8b3541a6ba3bb34c2af4d4f61811eb206294bb9d3"
SRC_URI[split_pics.md5sum] = "5499dc84b65395ab99bda6ed9d01ff0f"
SRC_URI[split_pics.sha256sum] = "f22781f36e84e12d51fff1eb68cc3fb98221c7d807a82226813b7e974a604109"
SRC_URI[split_apps.md5sum] = "67a43e8e4bcd9e63b884ea25deea5b34"
SRC_URI[split_apps.sha256sum] = "a33a55efb4ae4c15a8c2c5d6faba6d671a5652da8e216ce35088896fe597215b"


text:
DESCRIPTION = "Wayland EGL external platform library"
HOMEPAGE = "https://github.com/NVIDIA/egl-wayland"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=cfa5a0f49cb081823fc5d965566e8298"
DEPENDS = "eglexternalplatform virtual/egl wayland wayland-protocols wayland-native"

SRC_REPO = "github.com/NVIDIA/egl-wayland.git;protocol=https"
SRCBRANCH = "master"
SRC_URI = "git://${SRC_REPO};branch=${SRCBRANCH}"
# tag 1.1.9
SRCREV = "cd0d19aa2742b1318527cabbcf279fb651c45d30"

SRC_URI += " \
    file://0001-Fix-wayland-eglstream-protocols-pc-file.patch \
    file://nvidia_wayland.json \
"

REQUIRED_DISTRO_FEATURES = "opengl"

S = "${WORKDIR}/git"

inherit meson pkgconfig features_check

do_install:append() {
    install -d ${D}${datadir}/egl/egl_external_platform.d
    install -m 0644 ${WORKDIR}/nvidia_wayland.json ${D}${datadir}/egl/egl_external_platform.d/20_nvidia_wayland.json
}

FILES:${PN} += "${datadir}/egl"
FILES:${PN}-dev += "${datadir}/wayland-eglstream"

repository: SOL-Space-Operating-Linux/meta-tegra

repo_name: SOL-Space-Operating-Linux/meta-tegra

gha_license_id: MIT

gha_language: BitBake


text:
package function

import (
	"bytes"
	"encoding/hex"
	"encoding/json"
	"fmt"
	"io/ioutil"
	"log"
	"net/http"
	"os"
	"strings"

	"github.com/alexellis/hmac"
	"github.com/openfaas/openfaas-cloud/sdk"
)

const (
	PrivateRepo  = 00
	InternalRepo = 10
	PublicRepo   = 20
	Source       = "gitlab-push"
	SCM          = "gitlab"
)

var audit sdk.Audit

// Handle accepts push event from gitlab-event
// and transforms the payload into PushEvent struct
// which is then sent to git-tar for a function to be built
func Handle(req []byte) string {
	validateErr := validateRequest(req)
	if validateErr != nil {
		log.Fatal(validateErr)
	}

	if audit == nil {
		audit = sdk.AuditLogger{}
	}

	event := os.Getenv("Http_X_Gitlab_Event")

	if event != "System Hook" {
		auditEvent := sdk.AuditEvent{
			Message: "bad event: " + event,
			Source:  Source,
		}
		audit.Post(auditEvent)

		return fmt.Sprintf("%s cannot handle event: %s", Source, event)
	}

	gitlabPushEvent := sdk.GitLabPushEvent{}
	err := json.Unmarshal(req, &gitlabPushEvent)
	if err != nil {
		return fmt.Sprintf("error while unmarshaling gitlabPushEvent struct: %s", err.Error())
	}

	privateRepo := checkPublicRepo(gitlabPushEvent.GitLabProject.VisibilityLevel)

	pushEvent := sdk.PushEvent{
		SCM: SCM,
		Ref: gitlabPushEvent.Ref,
		Repository: sdk.PushEventRepository{
			Name:     gitlabPushEvent.GitLabProject.Name,
			FullName: gitlabPushEvent.GitLabProject.PathWithNamespace,
			CloneURL: gitlabPushEvent.GitLabRepository.CloneURL,
			Private:  privateRepo,
			Owner: sdk.Owner{
				Login: gitlabPushEvent.GitLabProject.Namespace,
				Email: gitlabPushEvent.UserEmail,
			},
			RepositoryURL: gitlabPushEvent.GitLabProject.WebURL,
		},
		AfterCommitID: gitlabPushEvent.AfterCommitID,
		Installation: sdk.PushEventInstallation{
			ID: gitlabPushEvent.GitLabProject.ID,
		},
	}

	eventInfo := sdk.BuildEventFromPushEvent(pushEvent)
	status := sdk.BuildStatus(eventInfo, sdk.EmptyAuthToken)

	branchErr := checkBranch(pushEvent.Ref)
	if branchErr != nil {
		branchErrorMessage := branchErr.Error()
		auditEvent := sdk.AuditEvent{
			Message: branchErrorMessage,
			Owner:   pushEvent.Repository.Owner.Login,
			Repo:    pushEvent.Repository.Name,
			Source:  Source,
		}

		audit.Post(auditEvent)

		status.AddStatus(sdk.StatusFailure, branchErrorMessage, sdk.StackContext)
		reportGitLabStatus(status)
		return branchErrorMessage
	}

	serviceValue := fmt.Sprintf("%s-%s", pushEvent.Repository.Owner.Login, pushEvent.Repository.Name)
	status.AddStatus(sdk.StatusPending, fmt.Sprintf("%s stack deploy is in progress", serviceValue), sdk.StackContext)
	reportGitLabStatus(status)

	statusCode, postErr := postEvent(pushEvent)
	if postErr != nil {
		status.AddStatus(sdk.StatusFailure, postErr.Error(), sdk.StackContext)
		reportGitLabStatus(status)
		return fmt.Sprintf("error while posting event to git-tar: %s", postErr.Error())
	}

	auditEvent := sdk.AuditEvent{
		Message: "Git-tar invoked",
		Owner:   pushEvent.Repository.Owner.Login,
		Repo:    pushEvent.Repository.Name,
		Source:  Source,
	}

	sdk.PostAudit(auditEvent)

	return fmt.Sprintf("Push - %v, git-tar status: %d", pushEvent, statusCode)
}

func postEvent(pushEvent sdk.PushEvent) (int, error) {
	suffix := os.Getenv("dns_suffix")
	gatewayURL := os.Getenv("gateway_url")
	gatewayURL = sdk.CreateServiceURL(gatewayURL, suffix)

	payloadSecret, err := sdk.ReadSecret("payload-secret")
	if err != nil {
		return http.StatusUnauthorized, err
	}

	body, bodyErr := json.Marshal(pushEvent)
	if bodyErr != nil {
		return http.StatusBadRequest, fmt.Errorf("error while marshalling event: %s", bodyErr.Error())
	}

	bodyReader := bytes.NewBuffer(body)
	httpReq, httpErr := http.NewRequest(http.MethodPost, gatewayURL+"async-function/git-tar", bodyReader)
	if httpErr != nil {
		return http.StatusBadRequest, fmt.Errorf("error while creating request to git-tar: %s", httpErr.Error())
	}
	digest := hmac.Sign(body, []byte(payloadSecret))
	httpReq.Header.Add("X-Cloud-Signature", "sha1="+hex.EncodeToString(digest))

	c := http.Client{}
	res, reqErr := c.Do(httpReq)
	if res.Body != nil {
		defer res.Body.Close()
	}
	if reqErr != nil {
		return http.StatusServiceUnavailable, fmt.Errorf("error while making request to git-tar: %s", reqErr.Error())
	}

	return res.StatusCode, nil
}

func readBool(key string) bool {
	if val, exists := os.LookupEnv(key); exists {
		return val == "true" || val == "1"
	}
	return false
}

func reportGitLabStatus(status *sdk.Status) {
	payloadSecret, secretErr := sdk.ReadSecret("payload-secret")
	if secretErr != nil {
		log.Printf("unexpected error while reading secret: %s", secretErr)
	}
	suffix := os.Getenv("dns_suffix")
	gatewayURL := os.Getenv("gateway_url")
	gatewayURL = sdk.CreateServiceURL(gatewayURL, suffix)
	statusBytes, marshalErr := json.Marshal(status)
	if marshalErr != nil {
		log.Printf("error while marshalling request: %s", marshalErr.Error())
	}

	statusReader := bytes.NewReader(statusBytes)
	req, reqErr := http.NewRequest(http.MethodPost, gatewayURL+"function/gitlab-status", statusReader)
	if reqErr != nil {
		log.Printf("error while making request to gitlab-status: `%s`", reqErr.Error())
	}
	digest := hmac.Sign(statusBytes, []byte(payloadSecret))
	req.Header.Add(sdk.CloudSignatureHeader, "sha1="+hex.EncodeToString(digest))

	client := http.Client{}
	res, resErr := client.Do(req)
	if resErr != nil {
		log.Printf("unexpected error while retrieving response: %s", resErr.Error())
	}
	if res.Body != nil {
		defer res.Body.Close()
	}
	if res.StatusCode != http.StatusOK {
		log.Printf("unexpected status code: %d", res.StatusCode)
	}

	_, bodyErr := ioutil.ReadAll(res.Body)
	if bodyErr != nil {
		log.Printf("unexpected error while reading response body: %s", bodyErr.Error())
	}
}

func checkPublicRepo(visibilityLevel int) bool {
	return visibilityLevel != PublicRepo
}

func validateRequest(req []byte) (err error) {
	payloadSecret, err := sdk.ReadSecret("payload-secret")

	if err != nil {
		return fmt.Errorf("couldn't get payload-secret: %t", err)
	}

	xCloudSignature := os.Getenv("Http_X_Cloud_Signature")

	err = hmac.Validate(req, xCloudSignature, payloadSecret)

	if err != nil {
		return err
	}

	return nil
}

func checkBranch(branchRef string) (branchErr error) {
	buildBranch := getBranch()
	branchFromRef := filterBranchRef(branchRef)
	if buildBranch != branchFromRef {
		msg := fmt.Sprintf("skipping build for: %s branch, the build branch is: %s",
			branchFromRef,
			buildBranch)
		branchErr = fmt.Errorf(msg)
	}
	return branchErr
}

func getBranch() string {
	buildBranch := "master"
	if environmentBranch, exists := os.LookupEnv("build_branch"); exists {
		buildBranch = strings.TrimSpace(environmentBranch)
	}
	return buildBranch
}

func filterBranchRef(branchRef string) string {
	stringParts := strings.Split(branchRef, "/")
	branch := "master"
	if len(stringParts) != 0 {
		branch = stringParts[len(stringParts)-1]
	}
	return branch
}

repository: openfaas/openfaas-cloud

repo_name: openfaas/openfaas-cloud

gha_language: Go


text:
# WARNING : if some paths are changed in the following variables, think to change it also in CMakeLists.txt
if(NOT DEFINED glm_DIR)
    set(glm_sub_DIR lib/cmake/glm/ CACHE INTERNAL "")
    set(glm_DIR ${CMAKE_INSTALL_PREFIX}/${glm_sub_DIR})
endif()

if(NOT DEFINED glbinding_DIR)
    set(glbinding_sub_DIR share/glbinding/ CACHE INTERNAL "")
    set(glbinding_DIR ${CMAKE_INSTALL_PREFIX}/${glbinding_sub_DIR})
endif()

if(NOT DEFINED globjects_DIR)
    set(globjects_sub_DIR share/globjects/ CACHE INTERNAL "")
    set(globjects_DIR ${CMAKE_INSTALL_PREFIX}/${globjects_sub_DIR})
endif()

if (NOT DEFINED Eigen3_DIR)
    set(Eigen3_sub_DIR share/eigen3/cmake/ CACHE INTERNAL "")
    set(Eigen3_DIR ${CMAKE_INSTALL_PREFIX}/${Eigen3_sub_DIR})
endif ()

repository: benardp/Radium-Engine

repo_name: benardp/Radium-Engine

extension: cmake


text:
#include(ExternalProject)
find_package(Git REQUIRED)

if (NOT Git_FOUND)
	message(FATAL_ERROR "Git not found!")
endif ()

function(csys_setup_include_what_you_use CLANG_VERSION)

    if(NOT EXISTS "${PROJECT_SOURCE_DIR}/thirdparty/include-what-you-use")
        # Info.
        message(STATUS "include-what-you-use clang setup version: ${CLANG_VERSION}")

        # Cloning IWYU.
        message(STATUS "Cloning include-what-you-use")
        execute_process(COMMAND ${GIT_EXECUTABLE} clone https://github.com/include-what-you-use/include-what-you-use.git
                WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/thirdparty/
                RESULT_VARIABLE GIT_RESULT)

        # Failed cloning.
        if(NOT EXISTS "${PROJECT_SOURCE_DIR}/thirdparty/include-what-you-use")
            message(FATAL_ERROR "git clone update https://github.com/include-what-you-use/include-what-you-use.git failed with ${GIT_RESULT}, delete library folder an try again.")
        endif()

        # Checkout clang_${CLANG_VERSION}.0 branch
        execute_process(COMMAND ${GIT_EXECUTABLE} checkout clang_${CLANG_VERSION}.0
                WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/thirdparty/include-what-you-use"
                RESULT_VARIABLE GIT_RESULT)

        # Start building IWYU
        message(STATUS "Building include-what-you-use")
        execute_process(COMMAND mkdir build
                        WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/thirdparty/include-what-you-use)
        execute_process(COMMAND cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=/usr/lib/llvm-${CLANG_VERSION} ..
                        WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/thirdparty/include-what-you-use/build)
        execute_process(COMMAND make
                WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/thirdparty/include-what-you-use/build)
    endif()
endfunction()


text:
// Code generated by go-swagger; DO NOT EDIT.

package call_tracing

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
	"fmt"
	"io"

	"github.com/go-openapi/runtime"

	strfmt "github.com/go-openapi/strfmt"

	models "magma/orc8r/cloud/api/v1/go/models"
)

// PostNetworksNetworkIDTracingReader is a Reader for the PostNetworksNetworkIDTracing structure.
type PostNetworksNetworkIDTracingReader struct {
	formats strfmt.Registry
}

// ReadResponse reads a server response into the received o.
func (o *PostNetworksNetworkIDTracingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 201:
		result := NewPostNetworksNetworkIDTracingCreated()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	default:
		result := NewPostNetworksNetworkIDTracingDefault(response.Code())
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		if response.Code()/100 == 2 {
			return result, nil
		}
		return nil, result
	}
}

// NewPostNetworksNetworkIDTracingCreated creates a PostNetworksNetworkIDTracingCreated with default headers values
func NewPostNetworksNetworkIDTracingCreated() *PostNetworksNetworkIDTracingCreated {
	return &PostNetworksNetworkIDTracingCreated{}
}

/*PostNetworksNetworkIDTracingCreated handles this case with default header values.

ID of created call trace
*/
type PostNetworksNetworkIDTracingCreated struct {
	Payload string
}

func (o *PostNetworksNetworkIDTracingCreated) Error() string {
	return fmt.Sprintf("[POST /networks/{network_id}/tracing][%d] postNetworksNetworkIdTracingCreated  %+v", 201, o.Payload)
}

func (o *PostNetworksNetworkIDTracingCreated) GetPayload() string {
	return o.Payload
}

func (o *PostNetworksNetworkIDTracingCreated) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {

	// response payload
	if err := consumer.Consume(response.Body(), &o.Payload); err != nil && err != io.EOF {
		return err
	}

	return nil
}

// NewPostNetworksNetworkIDTracingDefault creates a PostNetworksNetworkIDTracingDefault with default headers values
func NewPostNetworksNetworkIDTracingDefault(code int) *PostNetworksNetworkIDTracingDefault {
	return &PostNetworksNetworkIDTracingDefault{
		_statusCode: code,
	}
}

/*PostNetworksNetworkIDTracingDefault handles this case with default header values.

Unexpected Error
*/
type PostNetworksNetworkIDTracingDefault struct {
	_statusCode int

	Payload *models.Error
}

// Code gets the status code for the post networks network ID tracing default response
func (o *PostNetworksNetworkIDTracingDefault) Code() int {
	return o._statusCode
}

func (o *PostNetworksNetworkIDTracingDefault) Error() string {
	return fmt.Sprintf("[POST /networks/{network_id}/tracing][%d] PostNetworksNetworkIDTracing default  %+v", o._statusCode, o.Payload)
}

func (o *PostNetworksNetworkIDTracingDefault) GetPayload() *models.Error {
	return o.Payload
}

func (o *PostNetworksNetworkIDTracingDefault) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {

	o.Payload = new(models.Error)

	// response payload
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}

	return nil
}

repository: magma/magma

repo_name: magma/magma

gha_license_id: NOASSERTION