{
"version": 1,
"author": "ave",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-gnd", "id": "gnd1", "top": 86.4, "left": 258.6, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc1", "top": -66.44, "left": 297.6, "attrs": {} },
{
"type": "wokwi-clock-generator",
"id": "clk1",
"top": -124.8,
"left": 201.6,
"attrs": { "frequency": "1 kHz" }
},
{ "type": "chip-fpga", "id": "chip1", "top": -114.18, "left": 283.2, "attrs": {} },
{
"type": "wokwi-resistor",
"id": "r9",
"top": 33.6,
"left": 239.45,
"rotate": 90,
"attrs": { "value": "10000" }
},
{
"type": "chip-scope",
"id": "scope1",
"top": -114.18,
"left": 436.8,
"attrs": {
"sampleTimeUs": "10",
"sampleTimeMs": "0",
"triggerChannel": "0",
"triggerMode": "1",
"crtColor": "0",
"trace0Color": "12",
"trace1Color": "14",
"trace2Color": "9",
"trace3Color": "9"
}
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": -32.2,
"left": 326.4,
"attrs": { "color": "green" }
}
],
"connections": [
[ "chip1:LEDR[0]", "scope1:D0", "green", [ "h0" ] ],
[ "chip1:LEDR[1]", "scope1:D1", "green", [ "v0" ] ],
[ "chip1:LEDR0", "scope1:D0", "green", [ "h0" ] ],
[ "chip1:LEDR1", "scope1:D1", "green", [ "v0" ] ],
[ "chip1:O1", "scope1:D1", "#8f4814", [ "h232.21", "v-182.4" ] ],
[ "chip1:O2", "scope1:D2", "red", [ "h241.81", "v-182.4" ] ],
[ "chip1:O3", "scope1:D3", "orange", [ "h251.41", "v-182.4" ] ],
[ "gnd1:GND", "r9:2", "black", [ "v0" ] ],
[ "chip1:O0", "scope1:D0", "green", [ "v0", "h69.01" ] ],
[ "r9:1", "chip1:I0", "green", [ "h0" ] ],
[ "r9:1", "chip1:IN", "green", [ "v-9.6", "h28.8" ] ],
[ "chip1:OUT", "scope1:D0", "green", [ "v0" ] ],
[ "chip1:IN", "btn1:2.r", "green", [ "v0" ] ],
[ "chip1:IN1", "clk1:CLK", "blue", [ "h0" ] ],
[ "r9:1", "btn1:2.l", "orange", [ "h0", "v-9.6" ] ],
[ "chip1:IN2", "btn1:2.l", "orange", [ "h-19.2", "v96" ] ],
[ "btn1:1.l", "vcc1:VCC", "red", [ "h0" ] ],
[ "chip1:OUT2", "scope1:D1", "orange", [ "v0" ] ],
[ "chip1:OUT1", "scope1:D0", "blue", [ "h0" ] ]
],
"dependencies": { "chip-scope": "github:Dlloydev/Wokwi-Chip-Scope@1.0.7" }
}
gnd1:GND
vcc1:VCC
clk1:CLK
chip1:IN1
chip1:IN2
chip1:OUT2
chip1:OUT1
r9:1
r9:2
scope1:D0
scope1:D1
scope1:D2
scope1:D3
scope1:A3
scope1:A2
scope1:A1
scope1:A0
btn1:1.l
btn1:2.l
btn1:1.r
btn1:2.r