S
systolic
Guest
I am doing compression algorithm using VHDL. I need to output different
length of codes according to different intermediate computation results.
In this way, I compress the original information.
For example, if intermediate computation result is less than certain
threshold, I will output 5 bits, but if it is greater than the
threshold, I only need to output 3 bits.
How could I handle the definition of the output signal?
I thougth about using 2 'Z's to concatenate with 3 bits. It didn't work,
turned my output to "ZX". Sad
Any suggestions or hints? TIA
length of codes according to different intermediate computation results.
In this way, I compress the original information.
For example, if intermediate computation result is less than certain
threshold, I will output 5 bits, but if it is greater than the
threshold, I only need to output 3 bits.
How could I handle the definition of the output signal?
I thougth about using 2 'Z's to concatenate with 3 bits. It didn't work,
turned my output to "ZX". Sad
Any suggestions or hints? TIA