Forum Discussion
Altera_Forum
Honored Contributor
14 years agoJust noticed you are adding 3 to ones yet the code adds 3 to all in bits.
Shouldn't you say: if in(8:5) > 4 out(8:5) = out(8:5)+3; as the tensJust noticed you are adding 3 to ones yet the code adds 3 to all in bits.
Shouldn't you say: if in(8:5) > 4 out(8:5) = out(8:5)+3; as the tens