Forum Discussion
Altera_Forum
Honored Contributor
9 years agoRepresenting only a set of bits in a binary number
Hello, I need a clarification regarding this topic. I have a binary number, say "00000011111111100......" and I need to write a VHDL code such that it calculates the number of 0s and 1s for a...
Altera_Forum
Honored Contributor
9 years agoSo you are asking for a counter to count the zeros, and counter to count the 1s? why not have a go yourself and come back with your attempt when you're having problems. We're not here to do your work for you..