Question: 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

 I have solved this question myself thanks A voting logic encoder

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. 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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!