Simple combinatorial PAL/GAL reader

Yes. If you want to reverse the order, use 'outPin[7-i]' or just fill in the outPin array in the right order.