Forum Discussion
Altera_Forum
Honored Contributor
10 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
10 years agoWhat exactly are you struggling with, the question is very vague. Do you have some code you already have that isnt working?
Your counting problem is pretty straight forward - ask a better question with some code you've already written and the problems you're having with it.