Hi,
I am new to VHDL and am having difficulty with this part of my project.
I am trying to take a 9 bit vector and check to see if it has 5 or more 0s. If it does I am assigning a second signal a 0, but if it doesn't I am assigning that signal to a 1.
Is there a way to read a vector to determine the amount of 0s or 1s in it? Thanks for any and all help.
-Connor
I am new to VHDL and am having difficulty with this part of my project.
I am trying to take a 9 bit vector and check to see if it has 5 or more 0s. If it does I am assigning a second signal a 0, but if it doesn't I am assigning that signal to a 1.
Is there a way to read a vector to determine the amount of 0s or 1s in it? Thanks for any and all help.
-Connor