{
  "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" : 29.722229003906254,
                "text" : "U1",
                "weight" : "regular"
              },
              "side" : "above"
            },
            "orientation" : {
              "mirrored" : false,
              "quarter" : 0
            },
            "pinLabels" : {

            },
            "showsClock" : true,
            "vhdlInterface" : {
              "name" : "MUX",
              "ports" : [
                {
                  "direction" : "input",
                  "name" : "A"
                },
                {
                  "direction" : "input",
                  "name" : "B"
                },
                {
                  "direction" : "input",
                  "name" : "S"
                },
                {
                  "direction" : "output",
                  "name" : "Y"
                }
              ]
            },
            "vhdlSource" : "entity MUX is\n  port (\n    A : in std_logic; \n    B : in std_logic; \n    S : in std_logic;\n    Y : out std_logic\n  );\nend entity MUX;\n\n-- Attenzione se si dimentica l'else si crea un latch\narchitecture rtl of MUX is\nbegin\n    process (A, B)\n    begin\n        if (S = '0') then\n            Y <= A;\n       -- else\n       --     Y <= B;\n        end if;\n    end process;\nend architecture rtl;"
          }
        }
      },
      "frame" : [
        [
          20.976356737213663,
          -218.5185546875
        ],
        [
          250.90983535369773,
          158.5185546875
        ]
      ],
      "id" : "85C7FA7B-D14D-4835-958C-897847183B6E",
      "junctionAnchors" : [

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

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

          }
        }
      },
      "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" : "Q",
                "weight" : "regular"
              },
              "side" : "above"
            },
            "orientation" : {
              "mirrored" : false,
              "quarter" : 0
            },
            "pinLabels" : {

            },
            "showsClock" : true,
            "vhdlSource" : ""
          }
        }
      },
      "frame" : [
        [
          320,
          -135.407421875
        ],
        [
          80,
          24
        ]
      ],
      "id" : "E5B44430-542E-46F5-88E4-726E634F81B7",
      "junctionAnchors" : [

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

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

          }
        }
      },
      "zIndex" : 2
    },
    {
      "content" : {
        "polyline" : {
          "end" : {
            "anchor" : {
              "x" : 0,
              "y" : 0.5
            },
            "element" : "E5B44430-542E-46F5-88E4-726E634F81B7"
          },
          "points" : [
            [
              271.8861920909114,
              -123.407421875
            ],
            [
              295.9430960454557,
              -123.407421875
            ],
            [
              295.9430960454557,
              -123.40742187500001
            ],
            [
              320,
              -123.40742187500001
            ]
          ],
          "start" : {
            "anchor" : {
              "x" : 0.9999999999999999,
              "y" : 0.6
            },
            "element" : "85C7FA7B-D14D-4835-958C-897847183B6E"
          }
        }
      },
      "frame" : [
        [
          271.8861920909114,
          -123.40742187500001
        ],
        [
          48.11380790908862,
          1.4210854715202004e-14
        ]
      ],
      "id" : "DDABCD95-E7CA-4AF5-8655-ACFFD5115A59",
      "junctionAnchors" : [

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

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

          }
        }
      },
      "zIndex" : 8
    },
    {
      "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" : [
        [
          -119.02364326278634,
          -167.1111328125
        ],
        [
          80,
          24
        ]
      ],
      "id" : "301A247A-8437-47A6-B9FD-1F9D575C78BA",
      "junctionAnchors" : [

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

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

          }
        }
      },
      "zIndex" : 9
    },
    {
      "content" : {
        "polyline" : {
          "end" : {
            "anchor" : {
              "x" : 1,
              "y" : 0.5
            },
            "element" : "301A247A-8437-47A6-B9FD-1F9D575C78BA"
          },
          "points" : [
            [
              20.976356737213663,
              -155.1111328125
            ],
            [
              -9.023643262786337,
              -155.1111328125
            ],
            [
              -9.023643262786337,
              -155.1111328125
            ],
            [
              -39.02364326278634,
              -155.1111328125
            ]
          ],
          "start" : {
            "anchor" : {
              "x" : 0,
              "y" : 0.4
            },
            "element" : "85C7FA7B-D14D-4835-958C-897847183B6E"
          }
        }
      },
      "frame" : [
        [
          -39.02364326278634,
          -155.1111328125
        ],
        [
          60,
          0
        ]
      ],
      "id" : "36378833-A06A-42BB-BF46-AD7DDD846081",
      "junctionAnchors" : [

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

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

          }
        }
      },
      "zIndex" : 10
    },
    {
      "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" : [
        [
          -119.02364326278634,
          -135.407421875
        ],
        [
          80,
          24
        ]
      ],
      "id" : "4B765E56-0ECF-4563-89F6-2270DC006077",
      "junctionAnchors" : [

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

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

          }
        }
      },
      "zIndex" : 11
    },
    {
      "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" : "S",
                "weight" : "regular"
              },
              "side" : "above"
            },
            "orientation" : {
              "mirrored" : false,
              "quarter" : 0
            },
            "pinLabels" : {

            },
            "showsClock" : true,
            "vhdlSource" : ""
          }
        }
      },
      "frame" : [
        [
          -119.02364326278634,
          -103.70371093749999
        ],
        [
          80,
          24
        ]
      ],
      "id" : "2CC3650F-71FA-4EF1-AFD0-70A9B8A5C8CF",
      "junctionAnchors" : [

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

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

          }
        }
      },
      "zIndex" : 13
    },
    {
      "content" : {
        "polyline" : {
          "end" : {
            "anchor" : {
              "x" : 1,
              "y" : 0.5
            },
            "element" : "2CC3650F-71FA-4EF1-AFD0-70A9B8A5C8CF"
          },
          "points" : [
            [
              20.976356737213663,
              -91.70371093749999
            ],
            [
              -9.023643262786337,
              -91.70371093749999
            ],
            [
              -9.023643262786337,
              -91.70371093749999
            ],
            [
              -39.02364326278634,
              -91.70371093749999
            ]
          ],
          "start" : {
            "anchor" : {
              "x" : 0,
              "y" : 0.8
            },
            "element" : "85C7FA7B-D14D-4835-958C-897847183B6E"
          }
        }
      },
      "frame" : [
        [
          -39.02364326278634,
          -91.70371093749999
        ],
        [
          60,
          0
        ]
      ],
      "id" : "5AD247CE-A5E9-4428-A889-17A341F69BBB",
      "junctionAnchors" : [

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

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

          }
        }
      },
      "zIndex" : 14
    },
    {
      "content" : {
        "polyline" : {
          "end" : {
            "anchor" : {
              "x" : 1,
              "y" : 0.5
            },
            "element" : "4B765E56-0ECF-4563-89F6-2270DC006077"
          },
          "points" : [
            [
              20.976356737213663,
              -123.407421875
            ],
            [
              -39.02364326278634,
              -123.40742187500001
            ]
          ],
          "start" : {
            "anchor" : {
              "x" : 0,
              "y" : 0.6
            },
            "element" : "85C7FA7B-D14D-4835-958C-897847183B6E"
          }
        }
      },
      "frame" : [
        [
          -39.02364326278634,
          -123.40742187500001
        ],
        [
          60,
          1.4210854715202004e-14
        ]
      ],
      "id" : "7BCC0BE9-872C-483C-8310-920DF2D2A7EF",
      "junctionAnchors" : [

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

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

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