{
"version": 1,
"author": "Uri Shaked",
"editor": "wokwi",
"parts": [
{
"type": "wokwi-dip-switch-8",
"id": "sw1",
"top": -176.5,
"left": -94.5,
"rotate": 90,
"attrs": {}
},
{ "type": "wokwi-gate-not", "id": "not1", "top": -201.6, "left": 163.2, "attrs": {} },
{ "type": "wokwi-gate-not", "id": "not2", "top": -192, "left": 163.2, "attrs": {} },
{ "type": "wokwi-gate-not", "id": "not3", "top": -182.4, "left": 163.2, "attrs": {} },
{ "type": "wokwi-gate-not", "id": "not4", "top": -172.8, "left": 163.2, "attrs": {} },
{
"type": "wokwi-clock-generator",
"id": "clock1",
"top": -355.2,
"left": -115.2,
"attrs": { "frequency": "10000" }
},
{ "type": "wokwi-gnd", "id": "pwr2", "top": -76.8, "left": 565.8, "attrs": {} },
{ "type": "wokwi-vcc", "id": "pwr1", "top": -229.64, "left": -115.2, "attrs": {} },
{
"type": "wokwi-7segment",
"id": "sevseg1",
"top": -183.24,
"left": 552.28,
"attrs": { "common": "cathode" }
},
{
"type": "wokwi-slide-switch",
"id": "sw2",
"top": -370,
"left": -35.3,
"attrs": { "value": "1" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": -349,
"left": 19.2,
"attrs": { "color": "grey", "label": "Step", "bounce": "0", "key": "s" }
},
{ "type": "wokwi-vcc", "id": "pwr3", "top": -373.64, "left": 105.6, "attrs": {} },
{
"type": "board-tt-block-input",
"id": "ttin",
"top": -228.13,
"left": 4.8,
"attrs": { "verilogRole": "input" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": -301,
"left": -134.4,
"attrs": { "color": "grey", "label": "RESET", "bounce": "0", "key": "r" }
},
{ "type": "wokwi-gnd", "id": "gnd1", "top": -259.2, "left": -163.8, "attrs": {} },
{
"type": "board-tt-block-output",
"id": "ttout",
"top": -208.93,
"left": 360,
"attrs": { "verilogRole": "output" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": -293.65,
"left": -211.2,
"attrs": { "value": "1000" }
},
{ "type": "wokwi-vcc", "id": "pwr5", "top": -325.64, "left": -230.4, "attrs": {} }
],
"connections": [
[ "pwr1:VCC", "sw1:8a", "red", [ "v0" ] ],
[ "pwr1:VCC", "sw1:7a", "red", [ "v0" ] ],
[ "pwr1:VCC", "sw1:6a", "red", [ "v0" ] ],
[ "pwr1:VCC", "sw1:5a", "red", [ "v0" ] ],
[ "pwr1:VCC", "sw1:4a", "red", [ "v0" ] ],
[ "pwr1:VCC", "sw1:1a", "red", [ "v0" ] ],
[ "pwr1:VCC", "sw1:2a", "red", [ "v0" ] ],
[ "pwr1:VCC", "sw1:3a", "red", [ "v0" ] ],
[ "not2:OUT", "ttout:OUT1", "green", [ "v0" ] ],
[ "not3:OUT", "ttout:OUT2", "green", [ "v0" ] ],
[ "ttout:OUT3", "not4:OUT", "green", [ "h0" ] ],
[ "ttout:EXTOUT0", "sevseg1:A", "green", [ "h21.01", "v-28.8", "h96" ] ],
[ "ttout:EXTOUT1", "sevseg1:B", "green", [ "h11.41", "v-48", "h122.99", "v41.34" ] ],
[
"ttout:EXTOUT2",
"sevseg1:C",
"green",
[ "h30.61", "v-38.4", "h115.2", "v105.6", "h-28.8" ]
],
[ "ttout:EXTOUT3", "sevseg1:D", "green", [ "h57.6", "v57.6", "h48" ] ],
[ "sevseg1:E", "ttout:EXTOUT4", "green", [ "v9.6", "h-48", "v-38.4" ] ],
[ "ttout:EXTOUT5", "sevseg1:F", "green", [ "h69.01", "v-57.6", "h28.8" ] ],
[ "ttout:EXTOUT6", "sevseg1:G", "green", [ "h78.61", "v-57.6" ] ],
[ "ttout:EXTOUT7", "sevseg1:DP", "green", [ "v28.8", "h136.21" ] ],
[ "pwr2:GND", "sevseg1:COM.1", "black", [ "v0" ] ],
[ "sw2:1", "clock1:CLK", "blue", [ "h-19.2", "v-57.6" ] ],
[ "sw1:1b", "ttin:EXTIN0", "green", [ "h0" ] ],
[ "sw1:2b", "ttin:EXTIN1", "green", [ "h0" ] ],
[ "ttin:EXTIN2", "sw1:3b", "green", [ "h0" ] ],
[ "ttin:EXTIN3", "sw1:4b", "green", [ "h0" ] ],
[ "sw1:5b", "ttin:EXTIN4", "green", [ "h0" ] ],
[ "ttin:EXTIN5", "sw1:6b", "green", [ "h0" ] ],
[ "sw1:7b", "ttin:EXTIN6", "green", [ "h0" ] ],
[ "sw1:8b", "ttin:EXTIN7", "green", [ "v0" ] ],
[ "sw2:2", "ttin:EXTCLK", "blue", [ "v0" ] ],
[ "ttin:IN0", "not1:IN", "green", [ "h0" ] ],
[ "not2:IN", "ttin:IN1", "green", [ "v0" ] ],
[ "not3:IN", "ttin:IN2", "green", [ "v0" ] ],
[ "not4:IN", "ttin:IN3", "green", [ "v0" ] ],
[ "ttin:IN4", "ttout:OUT4", "green", [ "h0" ] ],
[ "ttout:OUT5", "ttin:IN5", "green", [ "h0" ] ],
[ "ttin:IN6", "ttout:OUT6", "green", [ "h0" ] ],
[ "btn1:1.l", "sw2:3", "blue", [ "h0" ] ],
[ "pwr3:VCC", "btn1:2.r", "red", [ "v0" ] ],
[ "btn2:2.l", "gnd1:GND", "black", [ "h0" ] ],
[ "ttin:EXTRST_N", "btn2:1.r", "orange", [ "h-38.4", "v-96" ] ],
[ "btn2:1.l", "r2:2", "green", [ "h0" ] ],
[ "pwr5:VCC", "r2:1", "red", [ "v0" ] ],
[ "not1:OUT", "ttout:OUT0", "green", [ "v0" ] ]
],
"dependencies": {}
}