Skip to main content
. 2019 Aug 15;21(8):800. doi: 10.3390/e21080800

Figure 26.

Figure 26

Construction of a circuit that can give any Boolean function. The idea is to construct one specific Boolean function for each number 0a2n that gives the output 1 on a inputs by using a comparator. Then produce the other functions by using a permutation of the input states. The comparator is built through two chains of MAJ and MAJ gates as in Figure 25.