Example – Basics of Digital Logic
Develop a system diagram and truth table for two gates that ensure only one fish leaves the
Outer Door at any one time. Below is the physical diagram of the system:
Aquarium
Inner Door Outer Door
Holding Area
• Holding Area has a sensor with 2 bit output
( 00: empty, 01:one fish, 10 & 11: more than one fish)