{
  "elements" : [
    {
      "content" : {
        "component" : {
          "_0" : {
            "bubbles" : [

            ],
            "expandedPorts" : [

            ],
            "isClock" : false,
            "kind" : "vhdlBlock",
            "label" : {
              "isHidden" : true,
              "offset" : [
                0,
                0
              ],
              "run" : {
                "alignment" : "center",
                "color" : {
                  "ink" : {

                  }
                },
                "overline" : false,
                "overlines" : [

                ],
                "size" : 22.75,
                "text" : "U1",
                "weight" : "regular"
              },
              "side" : "above"
            },
            "orientation" : {
              "mirrored" : false,
              "quarter" : 0
            },
            "pinLabels" : {

            },
            "showsClock" : true,
            "vhdlInterface" : {
              "name" : "SUBTRACTOR",
              "ports" : [
                {
                  "direction" : "input",
                  "name" : "A",
                  "range" : {
                    "high" : 7,
                    "low" : 0
                  }
                },
                {
                  "direction" : "input",
                  "name" : "B",
                  "range" : {
                    "high" : 7,
                    "low" : 0
                  }
                },
                {
                  "direction" : "output",
                  "name" : "D",
                  "range" : {
                    "high" : 7,
                    "low" : 0
                  }
                },
                {
                  "direction" : "output",
                  "name" : "O"
                }
              ]
            },
            "vhdlSource" : "entity SUBTRACTOR is\n  port (\n    A : in  std_logic_vector(7 downto 0);\n    B : in  std_logic_vector(7 downto 0);\n    D : out std_logic_vector(7 downto 0);\n    O: out std_logic\n    );\nend entity SUBTRACTOR;\n\narchitecture rtl of SUBTRACTOR is\n    signal s_A: signed(7 downto 0);\n    signal s_B: signed(7 downto 0);\n    signal diff : signed(8 downto 0);\nbegin\n    s_A <= signed(A);\n    s_B <= signed(B);\n\n    D <= std_logic_vector (s_A - s_B);\n    \n    O <= (s_A(7) \/= s_B(7) and D(7) \/= s_A(7));  \nend architecture rtl;"
          }
        }
      },
      "frame" : [
        [
          417.6666666666667,
          -36.5
        ],
        [
          212.33333333333334,
          182
        ]
      ],
      "id" : "4FB18074-7C9A-4BCB-8DDA-9A99FD8A03DB",
      "junctionAnchors" : [

      ],
      "style" : {
        "dash" : [

        ],
        "endCap" : "none",
        "fill" : {
          "rgba" : {
            "a" : 1,
            "b" : 0.76,
            "g" : 0.4681600000000001,
            "r" : 0.2128
          }
        },
        "lineWidth" : 1.5,
        "startCap" : "none",
        "textColor" : {
          "paper" : {

          }
        }
      },
      "zIndex" : 1
    },
    {
      "content" : {
        "component" : {
          "_0" : {
            "bubbles" : [

            ],
            "expandedPorts" : [

            ],
            "isClock" : false,
            "kind" : "outputTerminal",
            "label" : {
              "isHidden" : false,
              "offset" : [
                0,
                0
              ],
              "run" : {
                "alignment" : "center",
                "color" : {
                  "ink" : {

                  }
                },
                "overline" : false,
                "overlines" : [

                ],
                "size" : 15,
                "text" : "S",
                "weight" : "regular"
              },
              "side" : "above"
            },
            "orientation" : {
              "mirrored" : false,
              "quarter" : 0
            },
            "pinLabels" : {

            },
            "showsClock" : true,
            "vhdlSource" : ""
          }
        }
      },
      "frame" : [
        [
          690,
          42.5
        ],
        [
          80,
          24
        ]
      ],
      "id" : "8444E379-02C0-470C-857B-DC5F41D04307",
      "junctionAnchors" : [

      ],
      "style" : {
        "dash" : [

        ],
        "endCap" : "none",
        "lineWidth" : 1.5,
        "startCap" : "none",
        "stroke" : {
          "ink" : {

          }
        }
      },
      "zIndex" : 2
    },
    {
      "busWidth" : 8,
      "content" : {
        "polyline" : {
          "end" : {
            "anchor" : {
              "x" : 0,
              "y" : 0.5
            },
            "element" : "8444E379-02C0-470C-857B-DC5F41D04307"
          },
          "points" : [
            [
              630,
              54.5
            ],
            [
              690,
              54.5
            ]
          ],
          "start" : {
            "anchor" : {
              "x" : 0.9999999999999999,
              "y" : 0.5
            },
            "element" : "4FB18074-7C9A-4BCB-8DDA-9A99FD8A03DB"
          }
        }
      },
      "frame" : [
        [
          630,
          54.5
        ],
        [
          60,
          0
        ]
      ],
      "id" : "3FC1E68D-74ED-4A46-B97B-51406CFA7C2F",
      "junctionAnchors" : [

      ],
      "notation" : "decimalSigned",
      "style" : {
        "dash" : [

        ],
        "endCap" : "none",
        "lineWidth" : 1.5,
        "startCap" : "none",
        "stroke" : {
          "ink" : {

          }
        }
      },
      "zIndex" : 3
    },
    {
      "content" : {
        "component" : {
          "_0" : {
            "bubbles" : [

            ],
            "expandedPorts" : [

            ],
            "isClock" : false,
            "kind" : "inputTerminal",
            "label" : {
              "isHidden" : false,
              "offset" : [
                0,
                0
              ],
              "run" : {
                "alignment" : "center",
                "color" : {
                  "ink" : {

                  }
                },
                "overline" : false,
                "overlines" : [

                ],
                "size" : 15,
                "text" : "A",
                "weight" : "regular"
              },
              "side" : "above"
            },
            "orientation" : {
              "mirrored" : false,
              "quarter" : 0
            },
            "pinLabels" : {

            },
            "showsClock" : true,
            "vhdlSource" : ""
          }
        }
      },
      "frame" : [
        [
          277.6666666666667,
          42.5
        ],
        [
          80,
          24
        ]
      ],
      "id" : "68690D14-818E-4533-83CF-68116BF520F3",
      "junctionAnchors" : [

      ],
      "style" : {
        "dash" : [

        ],
        "endCap" : "none",
        "lineWidth" : 1.5,
        "startCap" : "none",
        "stroke" : {
          "ink" : {

          }
        }
      },
      "zIndex" : 6
    },
    {
      "busWidth" : 8,
      "content" : {
        "polyline" : {
          "end" : {
            "anchor" : {
              "x" : 1,
              "y" : 0.5
            },
            "element" : "68690D14-818E-4533-83CF-68116BF520F3"
          },
          "points" : [
            [
              417.6666666666667,
              54.5
            ],
            [
              387.6666666666667,
              54.5
            ],
            [
              387.6666666666667,
              54.5
            ],
            [
              357.6666666666667,
              54.5
            ]
          ],
          "start" : {
            "anchor" : {
              "x" : 0,
              "y" : 0.5
            },
            "element" : "4FB18074-7C9A-4BCB-8DDA-9A99FD8A03DB"
          }
        }
      },
      "frame" : [
        [
          357.6666666666667,
          54.5
        ],
        [
          60,
          0
        ]
      ],
      "id" : "72374987-2DE1-41EB-9B97-91B213FB483D",
      "junctionAnchors" : [

      ],
      "notation" : "decimalSigned",
      "style" : {
        "dash" : [

        ],
        "endCap" : "none",
        "lineWidth" : 1.5,
        "startCap" : "none",
        "stroke" : {
          "ink" : {

          }
        }
      },
      "zIndex" : 7
    },
    {
      "content" : {
        "component" : {
          "_0" : {
            "bubbles" : [

            ],
            "expandedPorts" : [

            ],
            "isClock" : false,
            "kind" : "inputTerminal",
            "label" : {
              "isHidden" : false,
              "offset" : [
                0,
                0
              ],
              "run" : {
                "alignment" : "center",
                "color" : {
                  "ink" : {

                  }
                },
                "overline" : false,
                "overlines" : [

                ],
                "size" : 15,
                "text" : "B",
                "weight" : "regular"
              },
              "side" : "above"
            },
            "orientation" : {
              "mirrored" : false,
              "quarter" : 0
            },
            "pinLabels" : {

            },
            "showsClock" : true,
            "vhdlSource" : ""
          }
        }
      },
      "frame" : [
        [
          277.6666666666667,
          88
        ],
        [
          80,
          24
        ]
      ],
      "id" : "ED9FB536-32E0-42BC-8659-AE4EF89AD00E",
      "junctionAnchors" : [

      ],
      "style" : {
        "dash" : [

        ],
        "endCap" : "none",
        "lineWidth" : 1.5,
        "startCap" : "none",
        "stroke" : {
          "ink" : {

          }
        }
      },
      "zIndex" : 8
    },
    {
      "busWidth" : 8,
      "content" : {
        "polyline" : {
          "end" : {
            "anchor" : {
              "x" : 1,
              "y" : 0.5
            },
            "element" : "ED9FB536-32E0-42BC-8659-AE4EF89AD00E"
          },
          "points" : [
            [
              417.6666666666667,
              100
            ],
            [
              387.6666666666667,
              100
            ],
            [
              387.6666666666667,
              100
            ],
            [
              357.6666666666667,
              100
            ]
          ],
          "start" : {
            "anchor" : {
              "x" : 0,
              "y" : 0.75
            },
            "element" : "4FB18074-7C9A-4BCB-8DDA-9A99FD8A03DB"
          }
        }
      },
      "frame" : [
        [
          357.6666666666667,
          100
        ],
        [
          60,
          0
        ]
      ],
      "id" : "E2C35DC1-6191-48FA-91A0-4EAF341F1352",
      "junctionAnchors" : [

      ],
      "notation" : "decimalSigned",
      "style" : {
        "dash" : [

        ],
        "endCap" : "none",
        "lineWidth" : 1.5,
        "startCap" : "none",
        "stroke" : {
          "ink" : {

          }
        }
      },
      "zIndex" : 9
    },
    {
      "content" : {
        "component" : {
          "_0" : {
            "bubbles" : [

            ],
            "expandedPorts" : [

            ],
            "isClock" : false,
            "kind" : "outputTerminal",
            "label" : {
              "isHidden" : false,
              "offset" : [
                0,
                0
              ],
              "run" : {
                "alignment" : "center",
                "color" : {
                  "ink" : {

                  }
                },
                "overline" : false,
                "overlines" : [

                ],
                "size" : 15,
                "text" : "O",
                "weight" : "regular"
              },
              "side" : "above"
            },
            "orientation" : {
              "mirrored" : false,
              "quarter" : 0
            },
            "pinLabels" : {

            },
            "showsClock" : true,
            "vhdlSource" : ""
          }
        }
      },
      "frame" : [
        [
          690,
          88
        ],
        [
          80,
          24
        ]
      ],
      "id" : "24037ECA-8D79-4C46-BE23-09D9F02AD0DA",
      "junctionAnchors" : [

      ],
      "style" : {
        "dash" : [

        ],
        "endCap" : "none",
        "lineWidth" : 1.5,
        "startCap" : "none",
        "stroke" : {
          "ink" : {

          }
        }
      },
      "zIndex" : 10
    },
    {
      "content" : {
        "polyline" : {
          "end" : {
            "anchor" : {
              "x" : 0,
              "y" : 0.5
            },
            "element" : "24037ECA-8D79-4C46-BE23-09D9F02AD0DA"
          },
          "points" : [
            [
              630,
              100
            ],
            [
              690,
              100
            ]
          ],
          "start" : {
            "anchor" : {
              "x" : 0.9999999999999999,
              "y" : 0.75
            },
            "element" : "4FB18074-7C9A-4BCB-8DDA-9A99FD8A03DB"
          }
        }
      },
      "frame" : [
        [
          630,
          100
        ],
        [
          60,
          0
        ]
      ],
      "id" : "8027C19B-86F3-4727-AA94-1E6C853D553F",
      "junctionAnchors" : [

      ],
      "style" : {
        "dash" : [

        ],
        "endCap" : "none",
        "lineWidth" : 1.5,
        "startCap" : "none",
        "stroke" : {
          "ink" : {

          }
        }
      },
      "zIndex" : 11
    },
    {
      "content" : {
        "timing" : {
          "_0" : {
            "nameAlignment" : "trailing",
            "nameWidth" : 84,
            "relations" : [

            ],
            "showsClockGrid" : true,
            "showsTimeAxis" : false,
            "signals" : [
              {
                "breaks" : [

                ],
                "delay" : 0,
                "edgeDelays" : {

                },
                "id" : "D293D619-1858-4268-9761-B84393EC25E6",
                "levels" : [
                  {
                    "bus" : {
                      "_0" : "12"
                    }
                  },
                  {
                    "bus" : {
                      "_0" : "-23"
                    }
                  },
                  {
                    "bus" : {
                      "_0" : "34"
                    }
                  },
                  {
                    "bus" : {
                      "_0" : "120"
                    }
                  }
                ],
                "name" : {
                  "alignment" : "trailing",
                  "color" : {
                    "ink" : {

                    }
                  },
                  "overline" : false,
                  "overlines" : [

                  ],
                  "size" : 13,
                  "text" : "A",
                  "weight" : "regular"
                },
                "valueOverline" : false
              },
              {
                "breaks" : [

                ],
                "delay" : 0,
                "edgeDelays" : {

                },
                "id" : "1DB7A356-1979-4FD6-ACFF-7FAE7CE29BAC",
                "levels" : [
                  {
                    "bus" : {
                      "_0" : "4"
                    }
                  },
                  {
                    "bus" : {
                      "_0" : "4"
                    }
                  },
                  {
                    "bus" : {
                      "_0" : "-14"
                    }
                  },
                  {
                    "bus" : {
                      "_0" : "-120"
                    }
                  }
                ],
                "name" : {
                  "alignment" : "trailing",
                  "color" : {
                    "ink" : {

                    }
                  },
                  "overline" : false,
                  "overlines" : [

                  ],
                  "size" : 13,
                  "text" : "B",
                  "weight" : "regular"
                },
                "valueOverline" : false
              },
              {
                "breaks" : [

                ],
                "delay" : 0,
                "edgeDelays" : {

                },
                "id" : "BF339F21-7D56-437F-9B82-4D9A8BFBEE7A",
                "levels" : [
                  {
                    "bus" : {
                      "_0" : "8"
                    }
                  },
                  {
                    "bus" : {
                      "_0" : "-27"
                    }
                  },
                  {
                    "bus" : {
                      "_0" : "48"
                    }
                  },
                  {
                    "bus" : {
                      "_0" : "-16"
                    }
                  }
                ],
                "name" : {
                  "alignment" : "trailing",
                  "color" : {
                    "ink" : {

                    }
                  },
                  "overline" : false,
                  "overlines" : [

                  ],
                  "size" : 13,
                  "text" : "S",
                  "weight" : "regular"
                },
                "valueOverline" : false
              },
              {
                "breaks" : [

                ],
                "delay" : 0,
                "edgeDelays" : {

                },
                "id" : "DDBB3F27-BFA5-4532-9A74-951842C7449E",
                "levels" : [
                  {
                    "low" : {

                    }
                  },
                  {
                    "low" : {

                    }
                  },
                  {
                    "low" : {

                    }
                  },
                  {
                    "high" : {

                    }
                  }
                ],
                "name" : {
                  "alignment" : "trailing",
                  "color" : {
                    "ink" : {

                    }
                  },
                  "overline" : false,
                  "overlines" : [

                  ],
                  "size" : 13,
                  "text" : "O",
                  "weight" : "regular"
                },
                "valueOverline" : false
              }
            ],
            "slope" : 0.14041940789473684,
            "tickCount" : 4
          }
        }
      },
      "frame" : [
        [
          308.8333333333333,
          250
        ],
        [
          430,
          144.06779661016947
        ]
      ],
      "id" : "9128ADBE-13E2-461A-84CD-C678B857123D",
      "junctionAnchors" : [

      ],
      "style" : {
        "dash" : [

        ],
        "endCap" : "none",
        "lineWidth" : 1.5,
        "startCap" : "none",
        "stroke" : {
          "ink" : {

          }
        }
      },
      "zIndex" : 12
    }
  ],
  "schemaVersion" : 1
}