Use of if-else
ARCHITECTURE ifelse of majority is
if (((A = '1') and (B = '1')) or
((A = '1') and (C = '1')) or
((B = '1') and (C = '1')) ) then
Process is anonymous (no name)
Used an 'else' clause to specify what the output should be if the if condition test was not true.
CAREFUL! The boolean operators (OR, AND) do not have any precedence so must use parenthesis to define precedence order