Description
In this experiment, you will implement a circuit design of a solution to a problem.
0.1.2 Problems
A toy car with remote control has an interesting warning light (y) on its remote. We know that the state of this light (1: on, 0: off) is controlled by three factors: x0: Battery-low signal of the toy car (1: Low, 0: High). x1: Distance of the car to the remote (1: Far, 0: Near). x2: Autopilot (1: Activated, 0: Deactivated).
You will create and implement the circuit design of the warning light y in terms of its inputs x0, x1, and x2. Following observations were recorded to guide you in this process:
- If the autopilot is deactivated, the toy car is far from the remote, and the battery is high, then the warning light is on.
- Else if the autopilot is activated and the battery is high, then the warning light is off.
- Else if the car is far from the remote, then the warning light is on.
- Else if the battery is low, then the warning light is on.
- Otherwise, the warning light is off.
You have only 2xAND, 2xOR, and 4xNOT gates at your disposal. The AND and OR gates are binary, i.e. they take exactly two inputs. You are expected to design the circuit which uses the fewest number of gates as possible. Designs with the fewest number of gates will get the highest grades.
During Verilog implementation, you have to use the template source codes we provide.



