sagar_saga01
Newbie level 5
I have a typical problem for which i am not getting the idea.
I have written a code for adaptive huffman in verilog for data compression.I am converting the fixed size data 8 bit to variable one by assigning the code.Every thing works fine like reading the data from file, assigning code, but problem occurs when i have to write the assigned code for the charaters in the output file,because its a variable length fron 4bits to 12 bits.
so i thought to convert this parallel data to serial one and write to output but how to do that one,because my data will change for the next clock,and converting parellel data to serila will take more clock cycles.
Any idea are welcome please respond
Thanks
Sagar
I have written a code for adaptive huffman in verilog for data compression.I am converting the fixed size data 8 bit to variable one by assigning the code.Every thing works fine like reading the data from file, assigning code, but problem occurs when i have to write the assigned code for the charaters in the output file,because its a variable length fron 4bits to 12 bits.
so i thought to convert this parallel data to serial one and write to output but how to do that one,because my data will change for the next clock,and converting parellel data to serila will take more clock cycles.
Any idea are welcome please respond
Thanks
Sagar