3 to 8 decoder using nand gates diagram. .