Design a circuit that controls a heating-cooling system. The system has two sensors that indicate when the temperature is too high (hot=1) or too cold (cold=1). The sensors will never be at 1 simultaneously.
If the temperature is too hot, the cooler must be activated (cooler=1). If the temperautre is too cold, the heater must be activated (heater=1).
Specification
module heater_cooler (hot, cold, heater, cooler); input hot, cold; output heater, cooler;
Input
Output