Problem
Write a function called numActiveOddBits() that will accept an 8-bit std_logic_vector as an input and returns the number of odd bits containing a value of '1'. Odd bits are bits number 1, 3, 5, and 7. The function returns an integer value. As examples, "11111000" would return 3, "10101111" would return 4, and "01010101" would return 0.