{
    "version": 1,
    "author": "Bimini Road",
    "tags": [
        "Logic"
    ],
    "description": "The comparator outputs a 1 if input A is greater than input B.",
    "patch": {
        "id": "38023480-4c0e-44eb-b02d-2e1c8f4ca7f6",
        "pan": {
            "x": 31.67090606689453,
            "y": -183.89837646484376
        },
        "zoom": 4.835821151733398,
        "nodes": [
            {
                "type": "Patch",
                "id": "0871dd58-3c4f-4c61-8047-f374fdba9725",
                "position": {
                    "x": -41.67090606689453,
                    "y": 83.39839935302735
                },
                "subPatch": {
                    "id": "65a8d622-398c-40ca-a122-f6832b7d110b",
                    "pan": {
                        "x": -68.68238830566406,
                        "y": -153.21926879882813
                    },
                    "zoom": 2.994581937789917,
                    "nodes": [
                        {
                            "type": "Text",
                            "id": "a2b1652f-6f64-4b1c-9457-a00b409a5a44",
                            "position": {
                                "x": 34.639747619628909,
                                "y": 233.2379913330078
                            },
                            "exposedPosition": {
                                "x": -20.0,
                                "y": 185.0
                            },
                            "text": "Comparator",
                            "width": 256.0
                        },
                        {
                            "type": "Expr",
                            "id": "09339db8-fa80-437b-9e2f-da995371ce0e",
                            "position": {
                                "x": 10.386520385742188,
                                "y": 64.60630798339844
                            },
                            "expr": "a>b"
                        },
                        {
                            "type": "Text",
                            "id": "7f48d162-2f70-406c-b7ff-b5933487be5b",
                            "position": {
                                "x": 40.73994445800781,
                                "y": 193.55152893066407
                            },
                            "text": "1 if A>B",
                            "width": 256.0
                        },
                        {
                            "type": "Text",
                            "id": "2ffffe9b-f01d-4278-9511-02a1d92b003e",
                            "position": {
                                "x": 40.479393005371097,
                                "y": 158.71533203125
                            },
                            "text": "0 if A<=B",
                            "width": 256.0
                        },
                        {
                            "type": "Input",
                            "id": "ba91a016-f080-409b-a452-6c97f6beb4b9",
                            "position": {
                                "x": -85.19551849365235,
                                "y": 100.71981048583985
                            },
                            "name": "B",
                            "exposedPosition": {
                                "x": -25.0,
                                "y": 20.0
                            }
                        },
                        {
                            "type": "Input",
                            "id": "a8787ec5-44f3-4f08-a17d-9ea072b20947",
                            "position": {
                                "x": -84.33340454101563,
                                "y": 57.20056915283203
                            },
                            "name": "A",
                            "exposedPosition": {
                                "x": -25.0,
                                "y": 45.0
                            }
                        },
                        {
                            "type": "Output",
                            "id": "edaaf782-587c-49d6-960d-c70762280ef1",
                            "position": {
                                "x": 142.2352752685547,
                                "y": 79.99307250976563
                            },
                            "name": "Out",
                            "exposedPosition": {
                                "x": 45.0,
                                "y": 20.0
                            }
                        },
                        {
                            "type": "Light",
                            "id": "901418a7-1511-4216-b112-17d5756e0cc5",
                            "position": {
                                "x": 142.56033325195313,
                                "y": 124.5458984375
                            },
                            "exposedPosition": {
                                "x": 45.0,
                                "y": 40.0
                            }
                        }
                    ],
                    "wires": [
                        {
                            "from": "a8787ec5-44f3-4f08-a17d-9ea072b20947",
                            "output": 0,
                            "to": "09339db8-fa80-437b-9e2f-da995371ce0e",
                            "input": 0
                        },
                        {
                            "from": "ba91a016-f080-409b-a452-6c97f6beb4b9",
                            "output": 0,
                            "to": "09339db8-fa80-437b-9e2f-da995371ce0e",
                            "input": 1
                        },
                        {
                            "from": "09339db8-fa80-437b-9e2f-da995371ce0e",
                            "output": 0,
                            "to": "edaaf782-587c-49d6-960d-c70762280ef1",
                            "input": 0
                        },
                        {
                            "from": "09339db8-fa80-437b-9e2f-da995371ce0e",
                            "output": 0,
                            "to": "901418a7-1511-4216-b112-17d5756e0cc5",
                            "input": 0
                        }
                    ]
                }
            }
        ],
        "wires": []
    },
    "history": {
        "states": [
            {
                "id": "d776d672-7028-48a0-b27d-9315e9a2700e"
            }
        ],
        "current": "d776d672-7028-48a0-b27d-9315e9a2700e"
    },
    "undoStack": {
        "stack": [
            "d776d672-7028-48a0-b27d-9315e9a2700e"
        ],
        "current": 0
    }
}