Logic Design

Design a simplified logic circuit to control the traffic light. There should be two outputs, NS and EW, which go HIGH (1) when the corresponding light is to be green.

The question from the book gave the specifications for setting up the lab as follows......
A 4 lane intersection has vehicle sensors on each of the North West South and East roads. (see diagram) each labeled A, B, C, D.

1) The East West light will be green whenever both lanes C and D are occupied.
2) The East West light will be green whenever either C or D is occupied but lanes A and B are not both occupied.
3) The North South light will be green whenever both lanes A and B are occupied but C and D and not both occupied.
4) The North South light will be green when either A or B is occupied while C and D are both vacant.
5) The East West light will be green when no vehicles are present.

REQUIRED:

1)Define the truth-tables for the problem.
2)Simplify the SOP of the truth table using K-maps
3)Draw the circuit diagram for the problems using standard circuit symbols. Label all pin numbers, inputs, outputs, and intermediate values on all your drawings.