3 input nand gate layout site:electronics.stackexchange.com - Search