{
  "version": 1,
  "author": "Anonymous maker",
  "editor": "wokwi",
  "parts": [
    { "type": "wokwi-flip-flop-dsr", "id": "flop1", "top": 280.2, "left": 375.2, "attrs": {} },
    { "type": "wokwi-vcc", "id": "vcc1", "top": 213.84, "left": 387.8, "attrs": {} },
    {
      "type": "wokwi-led",
      "id": "led1",
      "top": 256.69,
      "left": 465.53,
      "attrs": { "color": "red", "flip": "1" }
    },
    {
      "type": "wokwi-pushbutton",
      "id": "btn1",
      "top": 233.22,
      "left": 328.65,
      "attrs": { "color": "green" }
    },
    {
      "type": "wokwi-vcc",
      "id": "vcc2",
      "top": 406.58,
      "left": 420.19,
      "rotate": 180,
      "attrs": {}
    },
    {
      "type": "wokwi-pushbutton",
      "id": "btn2",
      "top": 355.98,
      "left": 361.31,
      "attrs": { "color": "green" }
    },
    {
      "type": "wokwi-vcc",
      "id": "vcc3",
      "top": 281.9,
      "left": 346.72,
      "rotate": 270,
      "attrs": {}
    },
    { "type": "wokwi-gnd", "id": "gnd1", "top": 300.17, "left": 482.24, "attrs": {} },
    { "type": "wokwi-clock-generator", "id": "logo1", "top": 307.03, "left": 295.17, "attrs": {"frequency": ""} }
  ],
  "connections": [
    [ "led1:A", "flop1:Q", "green", [ "v0" ] ],
    [ "vcc1:VCC", "btn1:1.r", "red", [ "v0" ] ],
    [ "btn1:2.r", "flop1:S", "green", [ "h0" ] ],
    [ "btn2:2.r", "vcc2:VCC", "green", [ "h0" ] ],
    [ "btn2:1.r", "flop1:R", "green", [ "v0" ] ],
    [ "vcc3:VCC", "flop1:D", "red", [ "v0" ] ],
    [ "gnd1:GND", "led1:C", "black", [ "v0" ] ],
    [ "logo1:CLK", "flop1:CLK", "green", [ "v0" ] ]
  ],
  "dependencies": {}
}
SR
10k

ERC Warnings

flop1:CLK: Clock driven by combinatorial logic