Create a schematic for Priority encoder and latch circuit. 

libSymbols:
- 74xx:74LS148
- 74xx:74LS373
- Device:R
- Device:R_Network08
- power:GND
- power:VCC
schematicSymbols:
- libraryNickname: Device
  entryName: R_Network08
  position:
    x: 119.38
    y: 151.13
    angle: 0
  properties:
  - key: Reference
    value: RN2
    position:
      x: 129.2352
      y: 152.2984
      angle: 0
  - key: Value
    value: '4700'
    position:
      x: 129.2352
      y: 149.987
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 243.84
    y: 156.21
    angle: 0
  properties:
  - key: Reference
    value: '#PWR0137'
    position:
      x: 243.84
      y: 162.56
      angle: 0
  - key: Value
    value: GND
    position:
      x: 243.967
      y: 160.6042
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 148.59
    y: 154.94
    angle: 0
  properties:
  - key: Reference
    value: '#PWR0138'
    position:
      x: 148.59
      y: 161.29
      angle: 0
  - key: Value
    value: GND
    position:
      x: 148.717
      y: 159.3342
      angle: 0
- libraryNickname: power
  entryName: VCC
  position:
    x: 148.59
    y: 118.11
    angle: 0
  properties:
  - key: Reference
    value: '#PWR0139'
    position:
      x: 148.59
      y: 121.92
      angle: 0
  - key: Value
    value: VCC
    position:
      x: 148.971
      y: 113.7158
      angle: 0
- libraryNickname: power
  entryName: VCC
  position:
    x: 243.84
    y: 115.57
    angle: 0
  properties:
  - key: Reference
    value: '#PWR0140'
    position:
      x: 243.84
      y: 119.38
      angle: 0
  - key: Value
    value: VCC
    position:
      x: 244.221
      y: 111.1758
      angle: 0
- libraryNickname: 74xx
  entryName: 74LS373
  position:
    x: 243.84
    y: 135.89
    angle: 0
  properties:
  - key: Reference
    value: U16
    position:
      x: 243.84
      y: 106.68
      angle: 0
  - key: Value
    value: 74LS373
    position:
      x: 243.84
      y: 109.22
      angle: 0
- libraryNickname: 74xx
  entryName: 74LS148
  position:
    x: 148.59
    y: 135.89
    angle: 0
  properties:
  - key: Reference
    value: U15
    position:
      x: 148.59
      y: 109.22
      angle: 0
  - key: Value
    value: 74LS148
    position:
      x: 148.59
      y: 111.76
      angle: 0
- libraryNickname: power
  entryName: VCC
  position:
    x: 219.71
    y: 168.91
    angle: 0
  properties:
  - key: Reference
    value: '#PWR024'
    position:
      x: 219.71
      y: 172.72
      angle: 0
  - key: Value
    value: VCC
    position:
      x: 220.1418
      y: 164.5158
      angle: 0
- libraryNickname: Device
  entryName: R
  position:
    x: 219.71
    y: 172.72
    angle: 0
  properties:
  - key: Reference
    value: R7
    position:
      x: 221.488
      y: 171.5516
      angle: 0
  - key: Value
    value: '4700'
    position:
      x: 219.71
      y: 175.26
      angle: 90
junctions:
- position:
    x: 220.98
    y: 135.89
    angle: 0
- position:
    x: 127
    y: 125.73
    angle: 0
- position:
    x: 220.98
    y: 138.43
    angle: 0
- position:
    x: 121.92
    y: 130.81
    angle: 0
- position:
    x: 119.38
    y: 133.35
    angle: 0
- position:
    x: 114.3
    y: 138.43
    angle: 0
- position:
    x: 109.22
    y: 143.51
    angle: 0
- position:
    x: 220.98
    y: 133.35
    angle: 0
- position:
    x: 111.76
    y: 140.97
    angle: 0
- position:
    x: 116.84
    y: 135.89
    angle: 0
- position:
    x: 124.46
    y: 128.27
    angle: 0
noConnects:
- position:
    x: 161.29
    y: 140.97
    angle: null
busEntries: []
graphicalItems:
- type: wire
  points:
  - x: 256.54
    y: 135.89
  - x: 269.24
    y: 135.89
- type: wire
  points:
  - x: 220.98
    y: 135.89
  - x: 231.14
    y: 135.89
- type: wire
  points:
  - x: 106.68
    y: 125.73
  - x: 127
    y: 125.73
- type: wire
  points:
  - x: 220.98
    y: 133.35
  - x: 231.14
    y: 133.35
- type: wire
  points:
  - x: 231.14
    y: 123.19
  - x: 220.98
    y: 123.19
- type: wire
  points:
  - x: 220.98
    y: 138.43
  - x: 231.14
    y: 138.43
- type: wire
  points:
  - x: 119.38
    y: 133.35
  - x: 106.68
    y: 133.35
- type: wire
  points:
  - x: 220.98
    y: 146.05
  - x: 231.14
    y: 146.05
- type: wire
  points:
  - x: 127
    y: 146.05
  - x: 127
    y: 125.73
- type: wire
  points:
  - x: 226.06
    y: 148.59
  - x: 231.14
    y: 148.59
- type: wire
  points:
  - x: 220.98
    y: 138.43
  - x: 220.98
    y: 140.97
- type: wire
  points:
  - x: 220.98
    y: 133.35
  - x: 220.98
    y: 135.89
- type: wire
  points:
  - x: 109.22
    y: 157.48
  - x: 102.87
    y: 157.48
- type: wire
  points:
  - x: 119.38
    y: 146.05
  - x: 119.38
    y: 133.35
- type: wire
  points:
  - x: 220.98
    y: 135.89
  - x: 220.98
    y: 138.43
- type: wire
  points:
  - x: 218.44
    y: 128.27
  - x: 231.14
    y: 128.27
- type: wire
  points:
  - x: 256.54
    y: 138.43
  - x: 269.24
    y: 138.43
- type: wire
  points:
  - x: 114.3
    y: 146.05
  - x: 114.3
    y: 138.43
- type: wire
  points:
  - x: 256.54
    y: 123.19
  - x: 269.24
    y: 123.19
- type: wire
  points:
  - x: 256.54
    y: 128.27
  - x: 269.24
    y: 128.27
- type: wire
  points:
  - x: 218.44
    y: 130.81
  - x: 231.14
    y: 130.81
- type: wire
  points:
  - x: 220.98
    y: 123.19
  - x: 220.98
    y: 133.35
- type: wire
  points:
  - x: 116.84
    y: 135.89
  - x: 106.68
    y: 135.89
- type: wire
  points:
  - x: 135.89
    y: 135.89
  - x: 116.84
    y: 135.89
- type: wire
  points:
  - x: 135.89
    y: 138.43
  - x: 114.3
    y: 138.43
- type: wire
  points:
  - x: 114.3
    y: 138.43
  - x: 106.68
    y: 138.43
- type: wire
  points:
  - x: 121.92
    y: 130.81
  - x: 106.68
    y: 130.81
- type: wire
  points:
  - x: 106.68
    y: 128.27
  - x: 124.46
    y: 128.27
- type: wire
  points:
  - x: 218.44
    y: 125.73
  - x: 231.14
    y: 125.73
- type: wire
  points:
  - x: 135.89
    y: 140.97
  - x: 111.76
    y: 140.97
- type: wire
  points:
  - x: 121.92
    y: 146.05
  - x: 121.92
    y: 130.81
- type: wire
  points:
  - x: 109.22
    y: 146.05
  - x: 109.22
    y: 143.51
- type: wire
  points:
  - x: 148.59
    y: 153.67
  - x: 148.59
    y: 154.94
- type: wire
  points:
  - x: 127
    y: 125.73
  - x: 135.89
    y: 125.73
- type: wire
  points:
  - x: 124.46
    y: 128.27
  - x: 135.89
    y: 128.27
- type: wire
  points:
  - x: 256.54
    y: 125.73
  - x: 269.24
    y: 125.73
- type: wire
  points:
  - x: 219.71
    y: 176.53
  - x: 233.68
    y: 176.53
- type: wire
  points:
  - x: 161.29
    y: 138.43
  - x: 163.83
    y: 138.43
- type: wire
  points:
  - x: 220.98
    y: 140.97
  - x: 231.14
    y: 140.97
- type: wire
  points:
  - x: 116.84
    y: 146.05
  - x: 116.84
    y: 135.89
- type: wire
  points:
  - x: 109.22
    y: 143.51
  - x: 106.68
    y: 143.51
- type: wire
  points:
  - x: 111.76
    y: 146.05
  - x: 111.76
    y: 140.97
- type: wire
  points:
  - x: 111.76
    y: 140.97
  - x: 106.68
    y: 140.97
- type: wire
  points:
  - x: 124.46
    y: 146.05
  - x: 124.46
    y: 128.27
- type: wire
  points:
  - x: 135.89
    y: 143.51
  - x: 109.22
    y: 143.51
- type: wire
  points:
  - x: 256.54
    y: 130.81
  - x: 269.24
    y: 130.81
- type: wire
  points:
  - x: 135.89
    y: 130.81
  - x: 121.92
    y: 130.81
- type: wire
  points:
  - x: 135.89
    y: 133.35
  - x: 119.38
    y: 133.35
- type: wire
  points:
  - x: 109.22
    y: 156.21
  - x: 109.22
    y: 157.48
- type: wire
  points:
  - x: 256.54
    y: 133.35
  - x: 269.24
    y: 133.35
- type: wire
  points:
  - x: 256.54
    y: 140.97
  - x: 269.24
    y: 140.97
globalLabels:
- text: D3
  shape: output
  position:
    x: 269.24
    y: 130.81
    angle: 0
- text: ~{IM2-INT}
  shape: output
  position:
    x: 163.83
    y: 138.43
    angle: 0
- text: IM2-S1
  shape: input
  position:
    x: 218.44
    y: 128.27
    angle: 180
- text: D6
  shape: output
  position:
    x: 269.24
    y: 138.43
    angle: 0
- text: ~{EIRQ2}
  shape: input
  position:
    x: 106.68
    y: 138.43
    angle: 180
- text: ~{EIRQ3}
  shape: input
  position:
    x: 106.68
    y: 135.89
    angle: 180
- text: ZERO
  shape: input
  position:
    x: 135.89
    y: 146.05
    angle: 180
- text: D2
  shape: output
  position:
    x: 269.24
    y: 128.27
    angle: 0
- text: IM2-S0
  shape: input
  position:
    x: 218.44
    y: 125.73
    angle: 180
- text: ~{EIRQ6}
  shape: input
  position:
    x: 106.68
    y: 128.27
    angle: 180
- text: D5
  shape: output
  position:
    x: 269.24
    y: 135.89
    angle: 0
- text: ~{IM2-EN-OE}
  shape: input
  position:
    x: 226.06
    y: 148.59
    angle: 180
- text: IM2-S2
  shape: output
  position:
    x: 161.29
    y: 130.81
    angle: 0
- text: ~{EIRQ0}
  shape: input
  position:
    x: 106.68
    y: 143.51
    angle: 180
- text: D7
  shape: output
  position:
    x: 269.24
    y: 140.97
    angle: 0
- text: IM2-S2
  shape: input
  position:
    x: 218.44
    y: 130.81
    angle: 180
- text: D0
  shape: output
  position:
    x: 269.24
    y: 123.19
    angle: 0
- text: ZERO
  shape: input
  position:
    x: 220.98
    y: 140.97
    angle: 180
- text: ~{IM2-EN-OE}
  shape: output
  position:
    x: 233.68
    y: 176.53
    angle: 0
- text: IM2-S0
  shape: output
  position:
    x: 161.29
    y: 125.73
    angle: 0
- text: ~{EIRQ7}
  shape: input
  position:
    x: 106.68
    y: 125.73
    angle: 180
- text: D4
  shape: output
  position:
    x: 269.24
    y: 133.35
    angle: 0
- text: ~{EIRQ1}
  shape: input
  position:
    x: 106.68
    y: 140.97
    angle: 180
- text: ~{CPU-M1}
  shape: input
  position:
    x: 220.98
    y: 146.05
    angle: 180
- text: D1
  shape: output
  position:
    x: 269.24
    y: 125.73
    angle: 0
- text: ~{EIRQ5}
  shape: input
  position:
    x: 106.68
    y: 130.81
    angle: 180
- text: IM2-S1
  shape: output
  position:
    x: 161.29
    y: 128.27
    angle: 0
- text: ~{EIRQ4}
  shape: input
  position:
    x: 106.68
    y: 133.35
    angle: 180
sheetInstances: []
