Voting Logic Encoder Eight Inputs Three Outputs Majorityout Warning Failure Majorityout Hi Q43867097
I have solved this question myself thanks
A voting logic encoder has eight inputs and three outputs Majority_Out, Warning and Failure. Majority_Out should be high if the number of logic high inputs exceed the number of logic low inputs. The Warning output should go high if at least one of the inputs is different from the others, while the Failure output should be activated if the number of logic high inputs is equal to the number of logic low inputs. (i) Write down VHDL code in order to implement this encoder, (ii) Write down VHDL code for a test bench suitable for testing this implementation, and hence also write down the code for the top-level entity. Show transcribed image text A voting logic encoder has eight inputs and three outputs Majority_Out, Warning and Failure. Majority_Out should be high if the number of logic high inputs exceed the number of logic low inputs. The Warning output should go high if at least one of the inputs is different from the others, while the Failure output should be activated if the number of logic high inputs is equal to the number of logic low inputs. (i) Write down VHDL code in order to implement this encoder, (ii) Write down VHDL code for a test bench suitable for testing this implementation, and hence also write down the code for the top-level entity.
Expert Answer
Answer to A voting logic encoder has eight inputs and three outputs Majority_Out, Warning and Failure. Majority_Out should be high…
OR