@@ -55,90 +55,128 @@ This file is intended to be loaded by Logisim (http://www.cburch.com/logisim/).
<a name =" clabelfont" val =" SansSerif plain 12" />
<wire from =" (170,650)" to =" (170,660)" />
<wire from =" (380,740)" to =" (430,740)" />
<wire from =" (300,220)" to =" (350,220)" />
<wire from =" (440,540)" to =" (440,550)" />
<wire from =" (440,500)" to =" (440,510)" />
<wire from =" (510,410)" to =" (510,420)" />
<wire from =" (450,550)" to =" (450,560)" />
<wire from =" (320,260)" to =" (320,270)" />
<wire from =" (400,240)" to =" (450,240)" />
<wire from =" (280,240)" to =" (330,240)" />
<wire from =" (450,210)" to =" (450,220)" />
<wire from =" (500,700)" to =" (500,710)" />
<wire from =" (520,470)" to =" (520,540)" />
<wire from =" (270,230)" to =" (270,250)" />
<wire from =" (370,590)" to =" (370,610)" />
<wire from =" (480,540)" to =" (480,560)" />
<wire from =" (220,420)" to =" (460,420)" />
<wire from =" (280,120)" to =" (280,130)" />
<wire from =" (280,160)" to =" (280,180)" />
<wire from =" (90,650)" to =" (90,670)" />
<wire from =" (200,260)" to =" (200,280)" />
<wire from =" (120,670)" to =" (160,670)" />
<wire from =" (160,410)" to =" (200,410)" />
<wire from =" (200,380)" to =" (200,410)" />
<wire from =" (100,680)" to =" (100,710)" />
<wire from =" (260,100)" to =" (260,120)" />
<wire from =" (430,270)" to =" (430,300)" />
<wire from =" (410,170)" to =" (410,200)" />
<wire from =" (290,570)" to =" (290,600)" />
<wire from =" (190,430)" to =" (190,460)" />
<wire from =" (450,220)" to =" (490,220)" />
<wire from =" (90,670)" to =" (120,670)" />
<wire from =" (410,570)" to =" (440,570)" />
<wire from =" (400,720)" to =" (430,720)" />
<wire from =" (490,120)" to =" (490,220)" />
<wire from =" (120,670)" to =" (120,770)" />
<wire from =" (180,200)" to =" (180,240)" />
<wire from =" (260,600)" to =" (290,600)" />
<wire from =" (290,360)" to =" (310,360)" />
<wire from =" (440,510)" to =" (460,510)" />
<wire from =" (220,380)" to =" (220,420)" />
<wire from =" (290,230)" to =" (290,270)" />
<wire from =" (290,530)" to =" (290,570)" />
<wire from =" (80,710)" to =" (100,710)" />
<wire from =" (230,360)" to =" (250,360)" />
<wire from =" (250,340)" to =" (270,340)" />
<wire from =" (430,670)" to =" (440,670)" />
<wire from =" (430,270)" to =" (440,270)" />
<wire from =" (480,560)" to =" (490,560)" />
<wire from =" (180,240)" to =" (190,240)" />
<wire from =" (220,240)" to =" (230,240)" />
<wire from =" (230,370)" to =" (240,370)" />
<wire from =" (50,230)" to =" (60,230)" />
<wire from =" (100,680)" to =" (160,680)" />
<wire from =" (130,250)" to =" (190,250)" />
<wire from =" (460,410)" to =" (510,410)" />
<wire from =" (70,260)" to =" (70,270)" />
<wire from =" (60,230)" to =" (60,240)" />
<wire from =" (400,710)" to =" (400,720)" />
<wire from =" (230,430)" to =" (230,480)" />
<wire from =" (300,460)" to =" (310,460)" />
<wire from =" (350,230)" to =" (360,230)" />
<wire from =" (260,260)" to =" (260,320)" />
<wire from =" (180,290)" to =" (250,290)" />
<wire from =" (290,100)" to =" (480,100)" />
<wire from =" (500,510)" to =" (500,520)" />
<wire from =" (500,470)" to =" (500,480)" />
<wire from =" (460,410)" to =" (460,420)" />
<wire from =" (240,670)" to =" (290,670)" />
<wire from =" (390,160)" to =" (390,170)" />
<wire from =" (120,770)" to =" (360,770)" />
<wire from =" (290,570)" to =" (400,570)" />
<wire from =" (250,340)" to =" (250,360)" />
<wire from =" (240,650)" to =" (240,670)" />
<wire from =" (380,710)" to =" (380,740)" />
<wire from =" (240,280)" to =" (240,370)" />
<wire from =" (340,710)" to =" (340,740)" />
<wire from =" (270,250)" to =" (310,250)" />
<wire from =" (250,260)" to =" (250,290)" />
<wire from =" (410,200)" to =" (440,200)" />
<wire from =" (350,220)" to =" (380,220)" />
<wire from =" (500,540)" to =" (500,650)" />
<wire from =" (360,240)" to =" (380,240)" />
<wire from =" (100,710)" to =" (100,750)" />
<wire from =" (280,240)" to =" (280,350)" />
<wire from =" (500,540)" to =" (520,540)" />
<wire from =" (470,520)" to =" (470,560)" />
<wire from =" (240,160)" to =" (260,160)" />
<wire from =" (220,190)" to =" (220,240)" />
<wire from =" (270,240)" to =" (280,240)" />
<wire from =" (460,510)" to =" (460,560)" />
<wire from =" (230,480)" to =" (240,480)" />
<wire from =" (220,190)" to =" (230,190)" />
<wire from =" (170,650)" to =" (240,650)" />
<wire from =" (440,610)" to =" (440,670)" />
<wire from =" (510,360)" to =" (510,420)" />
<wire from =" (310,360)" to =" (510,360)" />
<wire from =" (370,610)" to =" (440,610)" />
<wire from =" (60,390)" to =" (120,390)" />
<wire from =" (210,460)" to =" (270,460)" />
<wire from =" (400,220)" to =" (450,220)" />
<wire from =" (440,540)" to =" (440,550)" />
<wire from =" (440,500)" to =" (440,510)" />
<wire from =" (390,250)" to =" (390,260)" />
<wire from =" (390,290)" to =" (390,300)" />
<wire from =" (450,550)" to =" (450,560)" />
<wire from =" (280,380)" to =" (280,390)" />
<wire from =" (390,170)" to =" (390,180)" />
<wire from =" (370,590)" to =" (370,610)" />
<wire from =" (480,540)" to =" (480,560)" />
<wire from =" (230,130)" to =" (230,150)" />
<wire from =" (230,170)" to =" (230,190)" />
<wire from =" (120,670)" to =" (160,670)" />
<wire from =" (210,430)" to =" (210,460)" />
<wire from =" (390,300)" to =" (430,300)" />
<wire from =" (290,100)" to =" (290,190)" />
<wire from =" (100,680)" to =" (100,710)" />
<wire from =" (310,360)" to =" (310,460)" />
<wire from =" (280,390)" to =" (370,390)" />
<wire from =" (70,750)" to =" (100,750)" />
<wire from =" (410,570)" to =" (440,570)" />
<wire from =" (400,720)" to =" (430,720)" />
<wire from =" (260,390)" to =" (280,390)" />
<wire from =" (260,120)" to =" (260,160)" />
<wire from =" (500,520)" to =" (510,520)" />
<wire from =" (100,680)" to =" (160,680)" />
<wire from =" (510,520)" to =" (510,650)" />
<wire from =" (450,240)" to =" (500,240)" />
<wire from =" (400,710)" to =" (400,720)" />
<wire from =" (390,300)" to =" (390,310)" />
<wire from =" (240,670)" to =" (290,670)" />
<wire from =" (360,230)" to =" (360,240)" />
<wire from =" (170,430)" to =" (170,510)" />
<wire from =" (450,280)" to =" (450,300)" />
<wire from =" (450,240)" to =" (450,260)" />
<wire from =" (450,160)" to =" (450,190)" />
<wire from =" (230,190)" to =" (270,190)" />
<wire from =" (250,530)" to =" (290,530)" />
<wire from =" (340,740)" to =" (380,740)" />
<wire from =" (480,540)" to =" (520,540)" />
<wire from =" (470,520)" to =" (500,520)" />
<wire from =" (260,220)" to =" (280,220)" />
<wire from =" (330,250)" to =" (350,250)" />
<wire from =" (260,120)" to =" (280,120)" />
<wire from =" (370,590)" to =" (390,590)" />
<wire from =" (230,240)" to =" (230,280)" />
<wire from =" (50,270)" to =" (70,270)" />
<wire from =" (60,240)" to =" (80,240)" />
<wire from =" (160,360)" to =" (180,360)" />
<wire from =" (180,280)" to =" (200,280)" />
<wire from =" (470,520)" to =" (470,560)" />
<wire from =" (390,170)" to =" (410,170)" />
<wire from =" (480,540)" to =" (500,540)" />
<wire from =" (220,240)" to =" (240,240)" />
<wire from =" (440,550)" to =" (450,550)" />
<wire from =" (210,380)" to =" (210,430)" />
<wire from =" (260,230)" to =" (270,230)" />
<wire from =" (230,240)" to =" (240,240)" />
<wire from =" (230,280)" to =" (240,280)" />
<wire from =" (460,510)" to =" (460,560)" />
<wire from =" (160,510)" to =" (170,510)" />
<wire from =" (250,320)" to =" (260,320)" />
<wire from =" (80,670)" to =" (90,670)" />
<wire from =" (70,260)" to =" (80,260)" />
<wire from =" (170,650)" to =" (240,650)" />
<wire from =" (360,710)" to =" (360,770)" />
<wire from =" (440,610)" to =" (440,670)" />
<wire from =" (190,380)" to =" (190,440)" />
<wire from =" (370,610)" to =" (440,610)" />
<wire from =" (500,120)" to =" (500,240)" />
<comp loc =" (170,660)" name =" Instruksjons Peker" />
<comp lib =" 0" loc =" (160,360)" name =" Tunnel" >
<a name =" facing" val =" east" />
<comp lib =" 1" loc =" (280,380)" name =" Controlled Inverter" >
<a name =" facing" val =" south" />
<a name =" width" val =" 8" />
<a name =" control" val =" left" />
</comp >
<comp lib =" 0" loc =" (450,160)" name =" Tunnel" >
<a name =" facing" val =" south" />
<a name =" width" val =" 4" />
<a name =" label" val =" Adresse " />
<a name =" label" val =" Data " />
</comp >
<comp lib =" 0" loc =" (390,590)" name =" Splitter" >
<a name =" facing" val =" north" />
@@ -152,20 +190,20 @@ This file is intended to be loaded by Logisim (http://www.cburch.com/logisim/).
<a name =" bit6" val =" 0" />
<a name =" bit7" val =" 0" />
</comp >
<comp lib =" 1" loc =" (330,250)" name =" Controlled Buffer" >
<a name =" width" val =" 4" />
</comp >
<comp lib =" 0" loc =" (250,530)" name =" Tunnel" >
<a name =" facing" val =" east" />
<a name =" width" val =" 4" />
<a name =" label" val =" Adresse" />
</comp >
<comp lib =" 0" loc =" (50,230 )" name =" Tunnel" >
<comp lib =" 0" loc =" (260,600 )" name =" Tunnel" >
<a name =" facing" val =" east" />
<a name =" label" val =" I2" />
<a name =" width" val =" 4" />
<a name =" label" val =" Data" />
</comp >
<comp lib =" 0" loc =" (350,220)" name =" Probe" >
<a name =" facing" val =" west" />
<comp lib =" 0" loc =" (230,130)" name =" Tunnel" >
<a name =" facing" val =" south" />
<a name =" width" val =" 8" />
<a name =" label" val =" O" />
</comp >
<comp lib =" 0" loc =" (80,670)" name =" Clock" >
<a name =" label" val =" Clock" />
@@ -174,94 +212,155 @@ This file is intended to be loaded by Logisim (http://www.cburch.com/logisim/).
<a name =" facing" val =" south" />
<a name =" label" val =" Clk" />
</comp >
<comp lib =" 0" loc =" (70,750)" name =" Tunnel" >
<a name =" facing" val =" east" />
<a name =" label" val =" RESET" />
</comp >
<comp lib =" 0" loc =" (440,500)" name =" Tunnel" >
<a name =" facing" val =" south" />
<a name =" label" val =" I2" />
</comp >
<comp lib =" 1" loc =" (500,700)" name =" OR Gate" >
<a name =" facing" val =" south" />
</comp >
<comp lib =" 4" loc =" (430,670)" name =" RAM" >
<a name =" addrWidth" val =" 4" />
</comp >
<comp lib =" 1" loc =" (400,220)" name =" Controlled Buffer" >
<a name =" width" val =" 4" />
<a name =" control" val =" left" />
</comp >
<comp lib =" 0" loc =" (60,390)" name =" Tunnel" >
<a name =" facing" val =" east" />
<a name =" width" val =" 4" />
<a name =" label" val =" Adresse" />
</comp >
<comp lib =" 1" loc =" (390,260)" name =" NOT Gate" >
<a name =" facing" val =" north" />
</comp >
<comp loc =" (450,560)" name =" Instruction Decoder" />
<comp lib =" 1" loc =" (130,250)" name =" OR Gate" />
<comp lib =" 0" loc =" (180,200)" name =" Tunnel" >
<comp lib =" 0" loc =" (250,320)" name =" Tunnel" >
<a name =" facing" val =" east" />
<a name =" label" val =" RESET" />
</comp >
<comp lib =" 1" loc =" (450,210)" name =" Controlled Buffer" >
<a name =" facing" val =" south" />
<a name =" width" val =" 4" />
</comp >
<comp lib =" 1" loc =" (230,170)" name =" Controlled Buffer" >
<a name =" facing" val =" south" />
<a name =" width" val =" 8" />
<a name =" label " val =" O " />
<a name =" control " val =" left " />
</comp >
<comp lib =" 0" loc =" (210,430 )" name =" Constant " >
<comp lib =" 0" loc =" (450,300 )" name =" Tunnel " >
<a name =" facing" val =" north" />
<a name =" value" val =" 0x0" />
<a name =" width" val =" 4" />
<a name =" label" val =" Data" />
</comp >
<comp lib =" 0" loc =" (240,240)" name =" Splitter" >
<a name =" incoming" val =" 8" />
<a name =" bit1" val =" 0" />
<a name =" bit2" val =" 0" />
<a name =" bit3" val =" 0" />
<a name =" bit4" val =" 1" />
<a name =" bit5" val =" 1" />
<a name =" bit6" val =" 1" />
<a name =" bit7" val =" 1" />
<comp lib =" 4" loc =" (270,240)" name =" Register" >
<a name =" label" val =" R" />
</comp >
<comp lib =" 0" loc =" (290,270)" name =" Tunnel" >
<a name =" facing" val =" north" />
<a name =" label" val =" I1" />
<comp lib =" 1" loc =" (280,160)" name =" NOT Gate" >
<a name =" facing" val =" south" />
</comp >
<comp lib =" 1" loc =" (300,220)" name =" Controlled Buffer" >
<comp lib =" 0" loc =" (160,510)" name =" Tunnel" >
<a name =" facing" val =" east" />
<a name =" label" val =" Disable" />
</comp >
<comp lib =" 1" loc =" (270,460)" name =" NOT Gate" >
<a name =" facing" val =" west" />
</comp >
<comp lib =" 1" loc =" (400,240)" name =" Controlled Buffer" >
<a name =" width" val =" 4" />
</comp >
<comp lib =" 0" loc =" (180,280)" name =" Tunnel" >
<a name =" facing" val =" east" />
<a name =" label" val =" Clk" />
<comp lib =" 0" loc =" (390,160)" name =" Tunnel" >
<a name =" facing" val =" south" />
<a name =" label" val =" I1" />
</comp >
<comp lib =" 0" loc =" (240,480)" name =" Tunnel" >
<a name =" label" val =" RESET" />
</comp >
<comp lib =" 0" loc =" (80,710)" name =" Pin" >
<a name =" tristate" val =" false" />
<a name =" label" val =" Reset Btn" />
</comp >
<comp lib =" 0" loc =" (370,390)" name =" Tunnel" >
<a name =" width" val =" 8" />
<a name =" label" val =" O" />
</comp >
<comp lib =" 0" loc =" (500,710)" name =" Tunnel" >
<a name =" facing" val =" north" />
<a name =" label" val =" Disable" />
</comp >
<comp lib =" 1" loc =" (270,190)" name =" Controlled Buffer" >
<a name =" facing" val =" west" />
<a name =" width" val =" 8" />
</comp >
<comp lib =" 0" loc =" (440,540)" name =" Tunnel" >
<a name =" facing" val =" south" />
<a name =" label" val =" I1" />
</comp >
<comp lib =" 0" loc =" (50,270)" name =" Tunnel" >
<a name =" facing" val =" east" />
<a name =" label" val =" I1" />
<comp lib =" 0" loc =" (480,100)" name =" Splitter" >
<a name =" facing" val =" south" />
<a name =" incoming" val =" 8" />
<a name =" bit0" val =" 1" />
<a name =" bit2" val =" 1" />
<a name =" bit3" val =" 1" />
<a name =" bit4" val =" 0" />
<a name =" bit5" val =" 0" />
<a name =" bit6" val =" 0" />
<a name =" bit7" val =" 0" />
</comp >
<comp lib =" 0" loc =" (190,440 )" name =" Constant " >
<comp lib =" 0" loc =" (390,310 )" name =" Tunnel " >
<a name =" facing" val =" north" />
<a name =" label" val =" I2" />
</comp >
<comp lib =" 0" loc =" (160,410 )" name =" Tunnel" >
<a name =" facing" val =" east " />
<comp lib =" 0" loc =" (190,460 )" name =" Tunnel" >
<a name =" facing" val =" north " />
<a name =" label" val =" Clk" />
</comp >
<comp lib =" 1" loc =" (390,210)" name =" NOT Gate" >
<a name =" facing" val =" south" />
</comp >
<comp lib =" 0" loc =" (430,740)" name =" Constant" >
<a name =" facing" val =" west" />
</comp >
<comp lib =" 0" loc =" (270,340)" name =" Tunnel" >
<a name =" width" val =" 8" />
<a name =" label" val =" O" />
</comp >
<comp lib =" 1" loc =" (510,420)" name =" AND Gate" >
<a name =" facing" val =" north" />
</comp >
<comp lib =" 0" loc =" (350,250)" name =" Probe" >
<a name =" facing" val =" west" />
</comp >
<comp lib =" 1" loc =" (500,480)" name =" NOT Gate" >
<a name =" facing" val =" north" />
</comp >
<comp lib =" 4" loc =" (220,240)" name =" Register" >
<a name =" label" val =" R" />
<comp lib =" 0" loc =" (180,290)" name =" Tunnel" >
<a name =" facing" val =" east" />
<a name =" label" val =" Clk" />
</comp >
<comp lib =" 0" loc =" (320,270)" name =" Tunnel" >
<a name =" facing" val =" north" />
<a name =" label" val =" I2" />
<comp lib =" 0" loc =" (330,240)" name =" Splitter" >
<a name =" incoming" val =" 8" />
<a name =" bit1" val =" 0" />
<a name =" bit2" val =" 0" />
<a name =" bit3" val =" 0" />
<a name =" bit4" val =" 1" />
<a name =" bit5" val =" 1" />
<a name =" bit6" val =" 1" />
<a name =" bit7" val =" 1" />
</comp >
<comp loc =" (230,360)" name =" RAM" >
<a name =" label" val =" Dataminne" />
<comp lib =" 0" loc =" (260,100)" name =" Tunnel" >
<a name =" facing" val =" south" />
<a name =" label" val =" Disable" />
</comp >
<comp lib =" 4" loc =" (260,390)" name =" RAM" >
<a name =" addrWidth" val =" 4" />
</comp >
<comp lib =" 0" loc =" (430,720)" name =" Constant" >
<a name =" facing" val =" west" />
<a name =" value" val =" 0x0" />
</comp >
<comp lib =" 1" loc =" (450,260)" name =" Controlled Buffer" >
<a name =" facing" val =" north" />
<a name =" width" val =" 4" />
<a name =" control" val =" left" />
</comp >
</circuit >
<circuit name =" RAM" >
<a name =" circuit" val =" RAM" />