feature: finished ALU v1.0.0 (may need updates to convert microcode to instructions)

This commit is contained in:
rigor 2026-06-29 22:14:37 -05:00
parent b5d05e6a46
commit f64c6357b4
5 changed files with 1351 additions and 189 deletions

View File

@ -1,179 +0,0 @@
<circuit version="1.1.0-SR2" rev="260411" stepSize="1000000" stepsPS="1000000" NLsteps="100000" reaStep="1000000" animate="1" >
<item itemtype="Subcircuit" CircId="CPU_ALU_1Bit_v1.0.0-4" mainComp="false" Show_id="false" Show_Val="false" Pos="-704,-720" rotation="0" hflip="1" vflip="1" label="CPU_ALU_1Bit_v1.0.0-4" idLabPos="-21.028,-35.8472" labelrot="0" valLabPos="-16,20" valLabRot="0" />
<item itemtype="Subcircuit" CircId="CPU_ALU_1Bit_v1.0.0-5" mainComp="false" Show_id="false" Show_Val="false" Pos="-704,-624" rotation="0" hflip="1" vflip="1" label="CPU_ALU_1Bit_v1.0.0-5" idLabPos="-21.028,-35.8472" labelrot="0" valLabPos="-16,20" valLabRot="0" />
<item itemtype="Subcircuit" CircId="CPU_ALU_1Bit_v1.0.0-6" mainComp="false" Show_id="false" Show_Val="false" Pos="-704,-528" rotation="0" hflip="1" vflip="1" label="CPU_ALU_1Bit_v1.0.0-6" idLabPos="0,-20" labelrot="0" valLabPos="-16,20" valLabRot="0" />
<item itemtype="Tunnel" CircId="Tunnel-7" mainComp="false" Show_id="false" Show_Val="false" Pos="-1460,-1148" rotation="90" hflip="1" vflip="1" label="A0" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="A0" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-8" mainComp="false" Show_id="false" Show_Val="false" Pos="-1468,-1148" rotation="90" hflip="1" vflip="1" label="A1" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="A1" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-9" mainComp="false" Show_id="false" Show_Val="false" Pos="-1476,-1148" rotation="90" hflip="1" vflip="1" label="A2" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="A2" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-10" mainComp="false" Show_id="false" Show_Val="false" Pos="-1484,-1148" rotation="90" hflip="1" vflip="1" label="A3" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="A3" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-11" mainComp="false" Show_id="false" Show_Val="false" Pos="-1500,-1148" rotation="90" hflip="1" vflip="1" label="A5" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="A5" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-12" mainComp="false" Show_id="false" Show_Val="false" Pos="-1492,-1148" rotation="90" hflip="1" vflip="1" label="A4" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="A4" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-13" mainComp="false" Show_id="false" Show_Val="false" Pos="-1508,-1148" rotation="90" hflip="1" vflip="1" label="A6" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="A6" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-14" mainComp="false" Show_id="false" Show_Val="false" Pos="-1524,-1148" rotation="90" hflip="1" vflip="1" label="A8" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="A8" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-15" mainComp="false" Show_id="false" Show_Val="false" Pos="-1516,-1148" rotation="90" hflip="1" vflip="1" label="A7" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="A7" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-16" mainComp="false" Show_id="false" Show_Val="false" Pos="-1532,-1148" rotation="90" hflip="1" vflip="1" label="A9" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="A9" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-17" mainComp="false" Show_id="false" Show_Val="false" Pos="-1508,-1004" rotation="90" hflip="1" vflip="1" label="Tunnel-17" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="B6" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-18" mainComp="false" Show_id="false" Show_Val="false" Pos="-1492,-1004" rotation="90" hflip="1" vflip="1" label="Tunnel-18" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="B4" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-19" mainComp="false" Show_id="false" Show_Val="false" Pos="-1532,-1004" rotation="90" hflip="1" vflip="1" label="Tunnel-19" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="B9" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-20" mainComp="false" Show_id="false" Show_Val="false" Pos="-1460,-1004" rotation="90" hflip="1" vflip="1" label="Tunnel-20" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="B0" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-21" mainComp="false" Show_id="false" Show_Val="false" Pos="-1476,-1004" rotation="90" hflip="1" vflip="1" label="Tunnel-21" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="B2" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-22" mainComp="false" Show_id="false" Show_Val="false" Pos="-1500,-1004" rotation="90" hflip="1" vflip="1" label="Tunnel-22" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="B5" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-23" mainComp="false" Show_id="false" Show_Val="false" Pos="-1468,-1004" rotation="90" hflip="1" vflip="1" label="Tunnel-23" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="B1" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-24" mainComp="false" Show_id="false" Show_Val="false" Pos="-1484,-1004" rotation="90" hflip="1" vflip="1" label="Tunnel-24" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="B3" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-25" mainComp="false" Show_id="false" Show_Val="false" Pos="-1516,-1004" rotation="90" hflip="1" vflip="1" label="Tunnel-25" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="B7" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-26" mainComp="false" Show_id="false" Show_Val="false" Pos="-1524,-1004" rotation="90" hflip="1" vflip="1" label="Tunnel-26" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="B8" IsBus="false" />
<item itemtype="Subcircuit" CircId="CPU_ALU_1Bit_v1.0.0-27" mainComp="false" Show_id="false" Show_Val="false" Pos="-704,-432" rotation="0" hflip="1" vflip="1" label="CPU_ALU_1Bit_v1.0.0-27" idLabPos="0,-20" labelrot="0" valLabPos="-16,20" valLabRot="0" />
<item itemtype="Subcircuit" CircId="CPU_ALU_1Bit_v1.0.0-28" mainComp="false" Show_id="false" Show_Val="false" Pos="-704,-144" rotation="0" hflip="1" vflip="1" label="CPU_ALU_1Bit_v1.0.0-28" idLabPos="0,-20" labelrot="0" valLabPos="-16,20" valLabRot="0" />
<item itemtype="Subcircuit" CircId="CPU_ALU_1Bit_v1.0.0-29" mainComp="false" Show_id="false" Show_Val="false" Pos="-704,-48" rotation="0" hflip="1" vflip="1" label="CPU_ALU_1Bit_v1.0.0-29" idLabPos="0,-20" labelrot="0" valLabPos="-16,20" valLabRot="0" />
<item itemtype="Subcircuit" CircId="CPU_ALU_1Bit_v1.0.0-30" mainComp="false" Show_id="false" Show_Val="false" Pos="-704,-336" rotation="0" hflip="1" vflip="1" label="CPU_ALU_1Bit_v1.0.0-30" idLabPos="-21.028,-35.8472" labelrot="0" valLabPos="-16,20" valLabRot="0" />
<item itemtype="Subcircuit" CircId="CPU_ALU_1Bit_v1.0.0-31" mainComp="false" Show_id="false" Show_Val="false" Pos="-704,-240" rotation="0" hflip="1" vflip="1" label="CPU_ALU_1Bit_v1.0.0-31" idLabPos="-21.028,-35.8472" labelrot="0" valLabPos="-16,20" valLabRot="0" />
<item itemtype="Subcircuit" CircId="CPU_ALU_1Bit_v1.0.0-32" mainComp="false" Show_id="false" Show_Val="false" Pos="-704,-912" rotation="0" hflip="1" vflip="1" label="CPU_ALU_1Bit_v1.0.0-32" idLabPos="-21.028,-35.8472" labelrot="0" valLabPos="-16,20" valLabRot="0" />
<item itemtype="Subcircuit" CircId="CPU_ALU_1Bit_v1.0.0-33" mainComp="false" Show_id="false" Show_Val="false" Pos="-704,-816" rotation="0" hflip="1" vflip="1" label="CPU_ALU_1Bit_v1.0.0-33" idLabPos="-21.028,-35.8472" labelrot="0" valLabPos="-16,20" valLabRot="0" />
<item itemtype="Tunnel" CircId="Tunnel-34" mainComp="false" Show_id="false" Show_Val="false" Pos="972,-940" rotation="90" hflip="1" vflip="1" label="Tunnel-34" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="OUT9" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-35" mainComp="false" Show_id="false" Show_Val="false" Pos="1036,-940" rotation="90" hflip="1" vflip="1" label="Tunnel-35" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="OUT1" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-36" mainComp="false" Show_id="false" Show_Val="false" Pos="1020,-940" rotation="90" hflip="1" vflip="1" label="Tunnel-36" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="OUT3" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-37" mainComp="false" Show_id="false" Show_Val="false" Pos="980,-940" rotation="90" hflip="1" vflip="1" label="Tunnel-37" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="OUT8" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-38" mainComp="false" Show_id="false" Show_Val="false" Pos="1028,-940" rotation="90" hflip="1" vflip="1" label="Tunnel-38" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="OUT2" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-39" mainComp="false" Show_id="false" Show_Val="false" Pos="996,-940" rotation="90" hflip="1" vflip="1" label="Tunnel-39" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="OUT6" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-40" mainComp="false" Show_id="false" Show_Val="false" Pos="1004,-940" rotation="90" hflip="1" vflip="1" label="Tunnel-40" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="OUT5" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-41" mainComp="false" Show_id="false" Show_Val="false" Pos="1012,-940" rotation="90" hflip="1" vflip="1" label="Tunnel-41" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="OUT4" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-42" mainComp="false" Show_id="false" Show_Val="false" Pos="988,-940" rotation="90" hflip="1" vflip="1" label="Tunnel-42" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="OUT7" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-43" mainComp="false" Show_id="false" Show_Val="false" Pos="1044,-940" rotation="90" hflip="1" vflip="1" label="Tunnel-43" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="OUT0" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-53" mainComp="false" Show_id="false" Show_Val="false" Pos="-1524,-504" rotation="0" hflip="1" vflip="1" label="Tunnel-53" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="ADD" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-54" mainComp="false" Show_id="false" Show_Val="false" Pos="-1524,-496" rotation="0" hflip="1" vflip="1" label="Tunnel-54" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="OR" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-55" mainComp="false" Show_id="false" Show_Val="false" Pos="-1524,-488" rotation="0" hflip="1" vflip="1" label="Tunnel-55" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="NAND" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-56" mainComp="false" Show_id="false" Show_Val="false" Pos="-1524,-480" rotation="0" hflip="1" vflip="1" label="Tunnel-56" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="XOR" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-57" mainComp="false" Show_id="false" Show_Val="false" Pos="-1524,-472" rotation="0" hflip="1" vflip="1" label="Tunnel-57" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="NOT" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-58" mainComp="false" Show_id="false" Show_Val="false" Pos="-1524,-464" rotation="0" hflip="1" vflip="1" label="Tunnel-58" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="INC" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-59" mainComp="false" Show_id="false" Show_Val="false" Pos="-1524,-676" rotation="0" hflip="1" vflip="1" label="Tunnel-59" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="SL" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-60" mainComp="false" Show_id="false" Show_Val="false" Pos="-1524,-668" rotation="0" hflip="1" vflip="1" label="Tunnel-60" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="SR" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-61" mainComp="false" Show_id="false" Show_Val="false" Pos="-1524,-660" rotation="0" hflip="1" vflip="1" label="Tunnel-61" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="CARRY" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-62" mainComp="false" Show_id="false" Show_Val="false" Pos="-1524,-652" rotation="0" hflip="1" vflip="1" label="Tunnel-62" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="WRAP" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-63" mainComp="false" Show_id="false" Show_Val="false" Pos="-1524,-644" rotation="0" hflip="1" vflip="1" label="Tunnel-63" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="MATH" IsBus="false" />
<item itemtype="Tunnel" CircId="Tunnel-64" mainComp="false" Show_id="false" Show_Val="false" Pos="956,-940" rotation="90" hflip="1" vflip="1" label="Tunnel-64" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="Cout" IsBus="false" />
<item itemtype="Ground" CircId="Ground-69" mainComp="false" Show_id="false" Show_Val="false" Pos="308,-820" rotation="0" hflip="1" vflip="1" label="Ground-69" idLabPos="-16,8" labelrot="0" valLabPos="-16,20" valLabRot="0" />
<item itemtype="Resistor" CircId="Resistor-70" mainComp="false" ShowProp="Resistance" Show_id="false" Show_Val="true" Pos="308,-860" rotation="90" hflip="1" vflip="1" label="Resistor-70" idLabPos="-16,-24" labelrot="0" valLabPos="-16,6" valLabRot="0" Resistance="10000 Ω" />
<item itemtype="Rail" CircId="Rail-71" mainComp="false" ShowProp="Voltage" Show_id="false" Show_Val="true" Pos="308,-948" rotation="90" hflip="1" vflip="1" label="Rail-71" idLabPos="-5,-10" labelrot="-90" valLabPos="-12,6" valLabRot="-90" Voltage="5 V" />
<item itemtype="Diode" CircId="Diode-100" mainComp="false" Show_id="false" Show_Val="false" Pos="-1476,-716" rotation="270" hflip="1" vflip="1" label="Diode-100" idLabPos="-16,-24" labelrot="0" valLabPos="-16,6" valLabRot="0" Model="Diode Default" Threshold="0.634767 V" MaxCurrent="1 A" Resistance="0.05 Ω" BrkDownV="0 V" SatCurrent="171.435 nA" EmCoef="2" />
<item itemtype="Diode" CircId="Diode-102" mainComp="false" Show_id="false" Show_Val="false" Pos="-1444,-716" rotation="270" hflip="1" vflip="1" label="Diode-102" idLabPos="-16,-24" labelrot="0" valLabPos="-16,6" valLabRot="0" Model="Diode Default" Threshold="0.634767 V" MaxCurrent="1 A" Resistance="0.05 Ω" BrkDownV="0 V" SatCurrent="171.435 nA" EmCoef="2" />
<item itemtype="Mosfet" CircId="Mosfet-143" mainComp="false" Show_id="false" Show_Val="false" Pos="300,-908" rotation="0" hflip="1" vflip="-1" label="Mosfet-143" idLabPos="18,0" labelrot="0" valLabPos="-16,20" valLabRot="0" P_Channel="true" Depletion="false" RDSon="1 Ω" Threshold="3 V" />
<item itemtype="Subcircuit" CircId="General_Buffer_10Bit_v1.0.0-144" mainComp="false" Show_id="true" Show_Val="false" Pos="-1308,-900" rotation="0" hflip="1" vflip="1" label="General_Buffer_10Bit_v1.0.0-144" idLabPos="0,-20" labelrot="0" valLabPos="-16,20" valLabRot="0" />
<item itemtype="Node" CircId="Node-149" mainComp="false" Pos="-1460,-732" />
<item itemtype="Connector" uid="Connector-8" startpinid="Resistor-70-rPin" endpinid="Ground-69-Gnd" pointList="308,-844,308,-836" />
<item itemtype="Connector" uid="Connector-39" startpinid="Tunnel-60-pin" endpinid="Diode-102-lPin" pointList="-1524,-668,-1444,-668,-1444,-700" />
<item itemtype="Connector" uid="Connector-102" startpinid="Tunnel-59-pin" endpinid="Diode-100-lPin" pointList="-1524,-676,-1476,-676,-1476,-700" />
<item itemtype="Connector" uid="Connector-159" startpinid="Rail-71-outnod" endpinid="Mosfet-143-Sour" pointList="308,-932,308,-924" />
<item itemtype="Connector" uid="Connector-160" startpinid="Mosfet-143-Dren" endpinid="Resistor-70-lPin" pointList="308,-892,308,-876" />
<item itemtype="Connector" uid="Connector-179" startpinid="Tunnel-20-pin" endpinid="General_Buffer_10Bit_v1.0.0-144-IN0" pointList="-1460,-1004,-1460,-820,-1316,-820" />
<item itemtype="Connector" uid="Connector-180" startpinid="Tunnel-23-pin" endpinid="General_Buffer_10Bit_v1.0.0-144-IN1" pointList="-1468,-1004,-1468,-828,-1316,-828" />
<item itemtype="Connector" uid="Connector-181" startpinid="General_Buffer_10Bit_v1.0.0-144-IN2" endpinid="Tunnel-21-pin" pointList="-1316,-836,-1476,-836,-1476,-1004" />
<item itemtype="Connector" uid="Connector-182" startpinid="Tunnel-24-pin" endpinid="General_Buffer_10Bit_v1.0.0-144-IN3" pointList="-1484,-1004,-1484,-844,-1316,-844" />
<item itemtype="Connector" uid="Connector-183" startpinid="General_Buffer_10Bit_v1.0.0-144-IN4" endpinid="Tunnel-18-pin" pointList="-1316,-852,-1492,-852,-1492,-1004" />
<item itemtype="Connector" uid="Connector-184" startpinid="Tunnel-22-pin" endpinid="General_Buffer_10Bit_v1.0.0-144-IN5" pointList="-1500,-1004,-1500,-860,-1316,-860" />
<item itemtype="Connector" uid="Connector-185" startpinid="General_Buffer_10Bit_v1.0.0-144-IN6" endpinid="Tunnel-17-pin" pointList="-1316,-868,-1508,-868,-1508,-1004" />
<item itemtype="Connector" uid="Connector-186" startpinid="Tunnel-25-pin" endpinid="General_Buffer_10Bit_v1.0.0-144-IN7" pointList="-1516,-1004,-1516,-876,-1316,-876" />
<item itemtype="Connector" uid="Connector-187" startpinid="General_Buffer_10Bit_v1.0.0-144-IN8" endpinid="Tunnel-26-pin" pointList="-1316,-884,-1524,-884,-1524,-1004" />
<item itemtype="Connector" uid="Connector-188" startpinid="Tunnel-19-pin" endpinid="General_Buffer_10Bit_v1.0.0-144-IN9" pointList="-1532,-1004,-1532,-892,-1316,-892" />
<item itemtype="Connector" uid="Connector-189" startpinid="Node-149-1" endpinid="General_Buffer_10Bit_v1.0.0-144-ENABLE" pointList="-1460,-732,-1460,-780,-1316,-780" />
<item itemtype="Connector" uid="Connector-190" startpinid="Diode-100-rPin" endpinid="Node-149-0" pointList="-1476,-732,-1460,-732" />
<item itemtype="Connector" uid="Connector-191" startpinid="Node-149-2" endpinid="Diode-102-rPin" pointList="-1460,-732,-1444,-732" />
<item itemtype="Connector" uid="Connector-196" startpinid="General_Buffer_10Bit_v1.0.0-144-Id" endpinid="CPU_ALU_1Bit_v1.0.0-29-B" pointList="-1236,-820,-1228,-820,-1228,4,-712,4" />
<item itemtype="Connector" uid="Connector-197" startpinid="CPU_ALU_1Bit_v1.0.0-28-B" endpinid="General_Buffer_10Bit_v1.0.0-144-Id" pointList="-712,-92,-1220,-92,-1220,-828,-1236,-828" />
<item itemtype="Connector" uid="Connector-198" startpinid="General_Buffer_10Bit_v1.0.0-144-Id" endpinid="CPU_ALU_1Bit_v1.0.0-31-B" pointList="-1236,-836,-1212,-836,-1212,-188,-712,-188" />
<item itemtype="Connector" uid="Connector-199" startpinid="CPU_ALU_1Bit_v1.0.0-30-B" endpinid="General_Buffer_10Bit_v1.0.0-144-Id" pointList="-712,-284,-1204,-284,-1204,-844,-1236,-844" />
<item itemtype="Connector" uid="Connector-200" startpinid="General_Buffer_10Bit_v1.0.0-144-Id" endpinid="CPU_ALU_1Bit_v1.0.0-27-B" pointList="-1236,-852,-1196,-852,-1196,-380,-712,-380" />
<item itemtype="Connector" uid="Connector-201" startpinid="CPU_ALU_1Bit_v1.0.0-6-B" endpinid="General_Buffer_10Bit_v1.0.0-144-Id" pointList="-712,-476,-1188,-476,-1188,-860,-1236,-860" />
<item itemtype="Connector" uid="Connector-202" startpinid="General_Buffer_10Bit_v1.0.0-144-Id" endpinid="CPU_ALU_1Bit_v1.0.0-5-B" pointList="-1236,-868,-1180,-868,-1180,-572,-712,-572" />
<item itemtype="Connector" uid="Connector-203" startpinid="CPU_ALU_1Bit_v1.0.0-4-B" endpinid="General_Buffer_10Bit_v1.0.0-144-Id" pointList="-712,-668,-1172,-668,-1172,-876,-1236,-876" />
<item itemtype="Connector" uid="Connector-204" startpinid="General_Buffer_10Bit_v1.0.0-144-Id" endpinid="CPU_ALU_1Bit_v1.0.0-33-B" pointList="-1236,-884,-1164,-884,-1164,-764,-712,-764" />
<item itemtype="Connector" uid="Connector-206" startpinid="CPU_ALU_1Bit_v1.0.0-32-A" endpinid="General_Buffer_10Bit_v1.0.0-144-OUT9" pointList="-712,-868,-1156,-868,-1156,-892,-1236,-892" />
</circuit>

View File

@ -0,0 +1,49 @@
<!DOCTYPE SimulIDE>
<!-- This file was generated by SimulIDE -->
<packageB name="Package" width="14" height="22" background="" type="None" >
<pin type="" xpos="-8" ypos="8" angle="180" length="8" space="0" id="A9" label="A9" />
<pin type="" xpos="-8" ypos="16" angle="180" length="8" space="0" id="A8" label="A8" />
<pin type="" xpos="-8" ypos="24" angle="180" length="8" space="0" id="A7" label="A7" />
<pin type="" xpos="-8" ypos="32" angle="180" length="8" space="0" id="A6" label="A6" />
<pin type="" xpos="-8" ypos="40" angle="180" length="8" space="0" id="A5" label="A5" />
<pin type="" xpos="-8" ypos="48" angle="180" length="8" space="0" id="A4" label="A4" />
<pin type="" xpos="-8" ypos="56" angle="180" length="8" space="0" id="A3" label="A3" />
<pin type="" xpos="-8" ypos="64" angle="180" length="8" space="0" id="A2" label="A2" />
<pin type="" xpos="-8" ypos="72" angle="180" length="8" space="0" id="A1" label="A1" />
<pin type="" xpos="-8" ypos="80" angle="180" length="8" space="0" id="A0" label="A0" />
<pin type="" xpos="-8" ypos="96" angle="180" length="8" space="0" id="B9" label="B9" />
<pin type="" xpos="-8" ypos="104" angle="180" length="8" space="0" id="B8" label="B8" />
<pin type="" xpos="-8" ypos="112" angle="180" length="8" space="0" id="B7" label="B7" />
<pin type="" xpos="-8" ypos="120" angle="180" length="8" space="0" id="B6" label="B6" />
<pin type="" xpos="-8" ypos="128" angle="180" length="8" space="0" id="B5" label="B5" />
<pin type="" xpos="-8" ypos="136" angle="180" length="8" space="0" id="B4" label="B4" />
<pin type="" xpos="-8" ypos="144" angle="180" length="8" space="0" id="B3" label="B3" />
<pin type="" xpos="-8" ypos="152" angle="180" length="8" space="0" id="B2" label="B2" />
<pin type="" xpos="-8" ypos="160" angle="180" length="8" space="0" id="B1" label="B1" />
<pin type="" xpos="-8" ypos="168" angle="180" length="8" space="0" id="B0" label="B0" />
<pin type="" xpos="16" ypos="184" angle="270" length="8" space="0" id="SL" label="SL" />
<pin type="" xpos="24" ypos="184" angle="270" length="8" space="0" id="SR" label="SR" />
<pin type="inv" xpos="32" ypos="184" angle="270" length="8" space="0" id="WRAP" label="WRAP"/>
<pin type="inv" xpos="40" ypos="184" angle="270" length="8" space="0" id="MATH" label="MATH"/>
<pin type="inv" xpos="56" ypos="184" angle="270" length="8" space="0" id="ADD" label="ADD" />
<pin type="inv" xpos="64" ypos="184" angle="270" length="8" space="0" id="OR" label="OR" />
<pin type="inv" xpos="72" ypos="184" angle="270" length="8" space="0" id="NAND" label="NAND"/>
<pin type="inv" xpos="80" ypos="184" angle="270" length="8" space="0" id="XOR" label="XOR" />
<pin type="inv" xpos="88" ypos="184" angle="270" length="8" space="0" id="NOT" label="NOT" />
<pin type="" xpos="96" ypos="184" angle="270" length="8" space="0" id="INC" label="INC" />
<pin type="" xpos="120" ypos="8" angle="0" length="8" space="0" id="Cout" label="Cout"/>
<pin type="" xpos="120" ypos="24" angle="0" length="8" space="0" id="OUT9" label="OUT9"/>
<pin type="" xpos="120" ypos="32" angle="0" length="8" space="0" id="OUT8" label="OUT8"/>
<pin type="" xpos="120" ypos="40" angle="0" length="8" space="0" id="OUT7" label="OUT7"/>
<pin type="" xpos="120" ypos="48" angle="0" length="8" space="0" id="OUT6" label="OUT6"/>
<pin type="" xpos="120" ypos="56" angle="0" length="8" space="0" id="OUT5" label="OUT5"/>
<pin type="" xpos="120" ypos="64" angle="0" length="8" space="0" id="OUT4" label="OUT4"/>
<pin type="" xpos="120" ypos="72" angle="0" length="8" space="0" id="OUT3" label="OUT3"/>
<pin type="" xpos="120" ypos="80" angle="0" length="8" space="0" id="OUT2" label="OUT2"/>
<pin type="" xpos="120" ypos="88" angle="0" length="8" space="0" id="OUT1" label="OUT1"/>
<pin type="" xpos="120" ypos="96" angle="0" length="8" space="0" id="OUT0" label="OUT0"/>
</packageB>

File diff suppressed because it is too large Load Diff

View File

@ -16,14 +16,14 @@
<pin type="" xpos="-8" ypos="80" angle="180" length="8" space="0" id="IN0" label="IN0" />
<pin type="inv" xpos="-8" ypos="120" angle="180" length="8" space="0" id="ENABLE" label="ENABLE"/>
<pin type="" xpos="72" ypos="8" angle="0" length="8" space="0" id="OUT9" label="OUT9"/>
<pin type="" xpos="72" ypos="16" angle="0" length="8" space="0" id="Id" label="OUT8"/>
<pin type="" xpos="72" ypos="24" angle="0" length="8" space="0" id="Id" label="OUT7"/>
<pin type="" xpos="72" ypos="32" angle="0" length="8" space="0" id="Id" label="OUT6"/>
<pin type="" xpos="72" ypos="40" angle="0" length="8" space="0" id="Id" label="OUT5"/>
<pin type="" xpos="72" ypos="48" angle="0" length="8" space="0" id="Id" label="OUT4"/>
<pin type="" xpos="72" ypos="56" angle="0" length="8" space="0" id="Id" label="OUT3"/>
<pin type="" xpos="72" ypos="64" angle="0" length="8" space="0" id="Id" label="OUT2"/>
<pin type="" xpos="72" ypos="72" angle="0" length="8" space="0" id="Id" label="OUT1"/>
<pin type="" xpos="72" ypos="80" angle="0" length="8" space="0" id="Id" label="OUT0"/>
<pin type="" xpos="72" ypos="16" angle="0" length="8" space="0" id="OUT8" label="OUT8"/>
<pin type="" xpos="72" ypos="24" angle="0" length="8" space="0" id="OUT7" label="OUT7"/>
<pin type="" xpos="72" ypos="32" angle="0" length="8" space="0" id="OUT6" label="OUT6"/>
<pin type="" xpos="72" ypos="40" angle="0" length="8" space="0" id="OUT5" label="OUT5"/>
<pin type="" xpos="72" ypos="48" angle="0" length="8" space="0" id="OUT4" label="OUT4"/>
<pin type="" xpos="72" ypos="56" angle="0" length="8" space="0" id="OUT3" label="OUT3"/>
<pin type="" xpos="72" ypos="64" angle="0" length="8" space="0" id="OUT2" label="OUT2"/>
<pin type="" xpos="72" ypos="72" angle="0" length="8" space="0" id="OUT1" label="OUT1"/>
<pin type="" xpos="72" ypos="80" angle="0" length="8" space="0" id="OUT0" label="OUT0"/>
</packageB>

View File

@ -4,6 +4,7 @@
<itemset category="ORGComp" type="Subcircuit" folder="../components" icon="subc2.png" >
<item name="CPU_ALU_10Bit_v1.0.0" info="An ALU that is 10 bits wide." />
<item name="CPU_ALU_1Bit_v1.0.0" info="A modular ALU component that can be used." />
<item name="General_Buffer_10Bit_v1.0.0" info="A buffer with 10 bits. Purely for ease of testing, not actually a separate component" />