Forum Discussion
Altera_Forum
Honored Contributor
9 years agoOnes counter using numeric_std inside process
I had an error while working on ones counter inside the process. I use numeric_std library. Here is the key part of the code. signal one_buf:unsigned(7downto0); signal out_buf:std...
Altera_Forum
Honored Contributor
9 years agoout_buf1(i) is a single bit. You need to make it into an array. something like:
one_buf1 := one_buf1 + ("" & out_buf(i));