Requirements Analysis, Specification and Test Planning

7 Segment Led Input Table

Inputs: a b c d e f g
0 0 0 0 1 1 1 1 0 1 1
0 0 0 1 1 1 1 1 1 1 1
0 0 1 0 1 1 1 0 0 0 0
0 0 1 1 1 0 1 1 1 1 1
0 1 0 0 1 0 1 1 0 1 1
0 1 0 1 0 1 1 0 0 1 1
0 1 1 0 1 1 1 1 0 0 1
0 1 1 1 1 1 0 1 1 0 1
1 0 0 0 0 1 1 0 0 0 0
1 0 0 1 1 1 1 1 1 1 0

Equations

  1. Equation a
  2. Equation b
  3. Equation c
  4. Equation d
  5. Equation e
  6. Equation f
  7. Equation g

Circuit

Diagram of Countdown Circuit

Extended Truth Table

  A B C D E F G H I J K L M N O P Q R S T U V W X
9 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 0 1 1
8 0 0 0 1 1 1 1 0 0 0 0 0 0 0 1 0 0 1 1 1 1 1 1 1
7 0 0 1 0 1 1 0 1 0 0 0 0 0 1 0 0 0 1 1 1 0 0 0 0
6 0 0 1 1 1 1 0 0 0 0 1 0 0 0 0 0 0 1 0 1 1 1 1 1
5 0 1 0 0 1 0 1 1 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 1
4 0 1 0 1 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0 1 1
3 0 1 1 0 1 0 0 1 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 1
2 0 1 1 1 1 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1
1 1 0 0 0 0 1 1 1 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0
0 1 0 0 1 0 1 1 0 0 0 0 0 0 0 0 1 0 1 1 1 1 1 1 0

Evaluation

The circuit counts down from 9 to 0 perfectly on the third attempt at creating the circuit. Pervious attempts had failed because of errors in the working out stages leading to incorrect equations. Once the circuit was completed all the gates have been labelled from E to X (the bit generators are labelled from A to D).

Comments are closed.