Hi All, I have several truth tables like the following I/P1 I/P2 I/P3 I/P4 => O/P1, I/P1 I/P2 I/P3 => O/P1 O/P2, I/P1 I/P2 I/P3 => O/P1 O/P2 O/P3 etc. I need to implement this as C code. What is the best way to implement this. I know SOP/POS will help me to simplify the truth tables.Is there any alternative way to solve this. Any generic/optimized way to solve this? Is there any lookup ideas to help me, so that I can say "N" Inputs and "Y" outputs... Regards Shibu