If you just think of it as digital logic than you could use a programmable logic device. Like a GAL chip or a FPGA where you don't worry about the gates so to speak but just come up with the logic expression using truth table, K-map, or whatever method you prefer. I think in this case this is...