Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

state machine

i have a array of signed 16 integer data(8,7,-1,1,5,6,2---),i want to design a state machine in vhdl with three state,in first state i need to calculate the number of ones,in 2nd state number of zero...