I'm to write an algorithm called "Quine-McKlusky" algorithm that minimizes logic function for digital hardware synthesis.
I need to minimize codeword, that's in binary....
for example, if I have
1001 (in binary string)
1011 (in binary sting)
------------
10_1 (? )
only the difference of 1 bit is detected and result should be 10_1. '_' indicating where the bit difference is located.
which route should I go to achieve this?
thinking I sould use array, since I my have hundreds of those to compare each other and store the result somewhere.
thanks in advance.