(kicad_sch (version 20230819) (generator eeschema)
  (paper "A4")
  (lib_symbols
    (symbol "74xx:74LS138" (pin_names (offset 1.016)) (exclude_from_sim no) (in_bom yes) (on_board yes)
      (property "Reference" "U" (at -7.62 11.43 0))
      (property "Value" "74LS138" (at -7.62 -13.97 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS138" (at 0 0 0))
      (property "Description" "Decoder 3 to 8 active low outputs" (at 0 0 0))
      (property "ki_locked" "" (at 0 0 0))
      (property "ki_keywords" "TTL DECOD DECOD8" (at 0 0 0))
      (property "ki_fp_filters" "DIP?16*" (at 0 0 0))
      (symbol "74LS138_1_0"
        (pin input line (at -12.7 7.62 0) (length 5.08)
          (name "A0")
          (number "1")
        )
        (pin output output_low (at 12.7 -5.08 180) (length 5.08)
          (name "O5")
          (number "10")
        )
        (pin output output_low (at 12.7 -2.54 180) (length 5.08)
          (name "O4")
          (number "11")
        )
        (pin output output_low (at 12.7 0 180) (length 5.08)
          (name "O3")
          (number "12")
        )
        (pin output output_low (at 12.7 2.54 180) (length 5.08)
          (name "O2")
          (number "13")
        )
        (pin output output_low (at 12.7 5.08 180) (length 5.08)
          (name "O1")
          (number "14")
        )
        (pin output output_low (at 12.7 7.62 180) (length 5.08)
          (name "O0")
          (number "15")
        )
        (pin power_in line (at 0 15.24 270) (length 5.08)
          (name "VCC")
          (number "16")
        )
        (pin input line (at -12.7 5.08 0) (length 5.08)
          (name "A1")
          (number "2")
        )
        (pin input line (at -12.7 2.54 0) (length 5.08)
          (name "A2")
          (number "3")
        )
        (pin input input_low (at -12.7 -10.16 0) (length 5.08)
          (name "E1")
          (number "4")
        )
        (pin input input_low (at -12.7 -7.62 0) (length 5.08)
          (name "E2")
          (number "5")
        )
        (pin input line (at -12.7 -5.08 0) (length 5.08)
          (name "E3")
          (number "6")
        )
        (pin output output_low (at 12.7 -10.16 180) (length 5.08)
          (name "O7")
          (number "7")
        )
        (pin power_in line (at 0 -17.78 90) (length 5.08)
          (name "GND")
          (number "8")
        )
        (pin output output_low (at 12.7 -7.62 180) (length 5.08)
          (name "O6")
          (number "9")
        )
      )
      (symbol "74LS138_1_1"
        (rectangle (start -7.62 10.16) (end 7.62 -12.7)
          (fill (type background))
        )
      )
    )
    (symbol "power:GND" (power) (pin_names (offset 0)) (exclude_from_sim no) (in_bom yes) (on_board yes)
      (property "Reference" "#PWR" (at 0 -6.35 0))
      (property "Value" "GND" (at 0 -3.81 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "" (at 0 0 0))
      (property "Description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0))
      (property "ki_keywords" "global power" (at 0 0 0))
      (symbol "GND_0_1"
        (polyline
          (pts
            (xy 0 0)
            (xy 0 -1.27)
            (xy 1.27 -1.27)
            (xy 0 -2.54)
            (xy -1.27 -1.27)
            (xy 0 -1.27)
          )
          (fill (type none))
        )
      )
      (symbol "GND_1_1"
        (pin power_in line (at 0 0 270) (length 0) hide
          (name "GND")
          (number "1")
        )
      )
    )
    (symbol "power:PWR_FLAG" (power) (pin_numbers hide) (pin_names (offset 0) hide) (exclude_from_sim no) (in_bom yes) (on_board yes)
      (property "Reference" "#FLG" (at 0 1.905 0))
      (property "Value" "PWR_FLAG" (at 0 3.81 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "~" (at 0 0 0))
      (property "Description" "Special symbol for telling ERC where power comes from" (at 0 0 0))
      (property "ki_keywords" "flag power" (at 0 0 0))
      (symbol "PWR_FLAG_0_0"
        (pin power_out line (at 0 0 90) (length 0)
          (name "pwr")
          (number "1")
        )
      )
      (symbol "PWR_FLAG_0_1"
        (polyline
          (pts
            (xy 0 0)
            (xy 0 1.27)
            (xy -1.016 1.905)
            (xy 0 2.54)
            (xy 1.016 1.905)
            (xy 0 1.27)
          )
          (fill (type none))
        )
      )
    )
    (symbol "power:VCC" (power) (pin_names (offset 0)) (exclude_from_sim no) (in_bom yes) (on_board yes)
      (property "Reference" "#PWR" (at 0 -3.81 0))
      (property "Value" "VCC" (at 0 3.81 0))
      (property "Footprint" "" (at 0 0 0))
      (property "Datasheet" "" (at 0 0 0))
      (property "Description" "Power symbol creates a global label with name \"VCC\"" (at 0 0 0))
      (property "ki_keywords" "global power" (at 0 0 0))
      (symbol "VCC_0_1"
        (polyline
          (pts
            (xy -0.762 1.27)
            (xy 0 2.54)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0 0)
            (xy 0 2.54)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0 2.54)
            (xy 0.762 1.27)
          )
          (fill (type none))
        )
      )
      (symbol "VCC_1_1"
        (pin power_in line (at 0 0 90) (length 0) hide
          (name "VCC")
          (number "1")
        )
      )
    )
  )
  (junction (at 133.35 106.68) (diameter 0) (color 0 0 0 0))
  (junction (at 146.05 116.84) (diameter 0) (color 0 0 0 0))
  (junction (at 133.35 109.22) (diameter 0) (color 0 0 0 0))
  (no_connect (at 158.75 106.68))
  (no_connect (at 158.75 109.22))
  (no_connect (at 158.75 99.06))
  (no_connect (at 158.75 96.52))
  (no_connect (at 158.75 101.6))
  (no_connect (at 158.75 93.98))
  (no_connect (at 158.75 91.44))
  (no_connect (at 158.75 104.14))
  (bus_entry (at 116.84 88.9) (size 2.54 2.54))
  (bus_entry (at 116.84 93.98) (size 2.54 2.54))
  (bus_entry (at 116.84 91.44) (size 2.54 2.54))
  (wire (pts (xy 133.35 109.22) (xy 133.35 116.84)))
  (bus (pts (xy 86.36 64.77) (xy 116.84 64.77)))
  (bus (pts (xy 116.84 91.44) (xy 116.84 93.98)))
  (bus (pts (xy 116.84 88.9) (xy 116.84 91.44)))
  (wire (pts (xy 146.05 116.84) (xy 175.26 116.84)))
  (wire (pts (xy 175.26 116.84) (xy 175.26 115.57)))
  (wire (pts (xy 133.35 116.84) (xy 146.05 116.84)))
  (wire (pts (xy 119.38 93.98) (xy 133.35 93.98)))
  (wire (pts (xy 133.35 106.68) (xy 133.35 109.22)))
  (bus (pts (xy 116.84 64.77) (xy 116.84 88.9)))
  (wire (pts (xy 119.38 91.44) (xy 133.35 91.44)))
  (wire (pts (xy 119.38 96.52) (xy 133.35 96.52)))
  (wire (pts (xy 133.35 104.14) (xy 133.35 106.68)))
  (label "A1" (at 133.35 93.98 0) (fields_autoplaced))
  (label "A[0..2]" (at 93.98 64.77 0) (fields_autoplaced))
  (label "A2" (at 133.35 96.52 0) (fields_autoplaced))
  (label "A0" (at 133.35 91.44 0) (fields_autoplaced))
  (hierarchical_label "A[0..2]" (shape input) (at 86.36 64.77 180) (fields_autoplaced))
  (symbol (lib_id "power:PWR_FLAG") (at 175.26 115.57 0) (unit 1)
    (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#FLG02" (at 175.26 113.665 0))
    (property "Value" "PWR_FLAG" (at 175.26 110.49 0))
    (property "Footprint" "" (at 175.26 115.57 0))
    (property "Datasheet" "~" (at 175.26 115.57 0))
    (property "Description" "Special symbol for telling ERC where power comes from" (at 175.26 115.57 0))
    (pin "1")
    (instances
      (project "issue12814"
        (path
          (reference "#FLG02") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:VCC") (at 146.05 83.82 0) (unit 1)
    (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR05" (at 146.05 87.63 0))
    (property "Value" "VCC" (at 146.05 78.74 0))
    (property "Footprint" "" (at 146.05 83.82 0))
    (property "Datasheet" "" (at 146.05 83.82 0))
    (property "Description" "Power symbol creates a global label with name \"VCC\"" (at 146.05 83.82 0))
    (pin "1")
    (instances
      (project "issue12814"
        (path
          (reference "#PWR05") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "power:GND") (at 146.05 116.84 0) (unit 1)
    (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "#PWR06" (at 146.05 123.19 0))
    (property "Value" "GND" (at 146.05 121.92 0))
    (property "Footprint" "" (at 146.05 116.84 0))
    (property "Datasheet" "" (at 146.05 116.84 0))
    (property "Description" "Power symbol creates a global label with name \"GND\" , ground" (at 146.05 116.84 0))
    (pin "1")
    (instances
      (project "issue12814"
        (path
          (reference "#PWR06") (unit 1)
        )
      )
    )
  )
  (symbol (lib_id "74xx:74LS138") (at 146.05 99.06 0) (unit 1)
    (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
    (property "Reference" "U2" (at 148.2441 83.82 0))
    (property "Value" "74LS138" (at 148.2441 86.36 0))
    (property "Footprint" "" (at 146.05 99.06 0))
    (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS138" (at 146.05 99.06 0))
    (property "Description" "Decoder 3 to 8 active low outputs" (at 146.05 99.06 0))
    (pin "4")
    (pin "10")
    (pin "13")
    (pin "12")
    (pin "11")
    (pin "5")
    (pin "3")
    (pin "8")
    (pin "2")
    (pin "9")
    (pin "6")
    (pin "15")
    (pin "16")
    (pin "7")
    (pin "1")
    (pin "14")
    (instances
      (project "issue12814"
        (path
          (reference "U2") (unit 1)
        )
      )
    )
  )
)
