There are 15 messages in this thread.
You are currently looking at messages 0 to 10.
Hi all, I am working on text Huffman Encoder and Decoder to be implemented onFPGA. and here are things which are not clear for me. 1.Will the binary tree be constructed by software and then the coded databe taken and VHDL coded OR can I construct the Binary tree using VHDL? andI need some hint. kude --------------------------------------- Posted through http://www.FPGARelated.com______________________________
On 24/08/2010 13:39, kude wrote: > Hi all, > I am working on text Huffman Encoder and Decoder to be implemented on > FPGA. > and here are things which are not clear for me. > 1.Will the binary tree be constructed by software and then the coded data > be taken and VHDL coded OR can I construct the Binary tree using VHDL? and > I need some hint. > That's up to you. If you construct the tree in software and generate the VHDL from a fixed tree, the hardware will be a lot easier. But then you have a fixed tree - it will only be efficient for encoding data that matches that tree.
Very old hat... http://www.xilinx.com/support/documentation/application_notes/xapp616.pdf --------------------------------------- Posted through http://www.FPGARelated.com______________________________
>On 24/08/2010 13:39, kude wrote: >> Hi all, >> I am working on text Huffman Encoder and Decoder to be implemented on >> FPGA. >> and here are things which are not clear for me. >> 1.Will the binary tree be constructed by software and then the codeddata >> be taken and VHDL coded OR can I construct the Binary tree using VHDL?and >> I need some hint. >> > >That's up to you. If you construct the tree in software and generate >the VHDL from a fixed tree, the hardware will be a lot easier. But then >you have a fixed tree - it will only be efficient for encoding data that >matches that tree. > @David Brown,ok but what if I want to construct the tree using theVHDL,where shall I start? And what logic units will I need ? thanks --------------------------------------- Posted through http://www.FPGARelated.com______________________________
>On 24/08/2010 13:39, kude wrote: >> Hi all, >> I am working on text Huffman Encoder and Decoder to be implemented on >> FPGA. >> and here are things which are not clear for me. >> 1.Will the binary tree be constructed by software and then the codeddata >> be taken and VHDL coded OR can I construct the Binary tree using VHDL?and >> I need some hint. >> > >That's up to you. If you construct the tree in software and generate >the VHDL from a fixed tree, the hardware will be a lot easier. But then >you have a fixed tree - it will only be efficient for encoding data that >matches that tree. > @David Brown,ok but what if I want to construct the tree using theVHDL,where shall I start? And what logic units will I need ? thanks --------------------------------------- Posted through http://www.FPGARelated.com
>On 24/08/2010 13:39, kude wrote: >> Hi all, >> I am working on text Huffman Encoder and Decoder to be implemented on >> FPGA. >> and here are things which are not clear for me. >> 1.Will the binary tree be constructed by software and then the codeddata >> be taken and VHDL coded OR can I construct the Binary tree using VHDL?and >> I need some hint. >> > >That's up to you. If you construct the tree in software and generate >the VHDL from a fixed tree, the hardware will be a lot easier. But then >you have a fixed tree - it will only be efficient for encoding data that >matches that tree. > @David Brown,ok but what if I want to construct the tree using theVHDL,where shall I start? And what logic units will I need ? thanks --------------------------------------- Posted through http://www.FPGARelated.com______________________________
>On 24/08/2010 13:39, kude wrote: >> Hi all, >> I am working on text Huffman Encoder and Decoder to be implemented on >> FPGA. >> and here are things which are not clear for me. >> 1.Will the binary tree be constructed by software and then the codeddata >> be taken and VHDL coded OR can I construct the Binary tree using VHDL?and >> I need some hint. >> > >That's up to you. If you construct the tree in software and generate >the VHDL from a fixed tree, the hardware will be a lot easier. But then >you have a fixed tree - it will only be efficient for encoding data that >matches that tree. > @David Brown,ok but what if I want to construct the tree using theVHDL,where shall I start? And what logic units will I need ? thanks --------------------------------------- Posted through http://www.FPGARelated.com
On 08/24/2010 09:03 AM, kude wrote: >> On 24/08/2010 13:39, kude wrote: >>> Hi all, >>> I am working on text Huffman Encoder and Decoder to be implemented on >>> FPGA. >>> and here are things which are not clear for me. >>> 1.Will the binary tree be constructed by software and then the coded > data >>> be taken and VHDL coded OR can I construct the Binary tree using VHDL? > and >>> I need some hint. >>> >> >> That's up to you. If you construct the tree in software and generate >> the VHDL from a fixed tree, the hardware will be a lot easier. But then >> you have a fixed tree - it will only be efficient for encoding data that >> matches that tree. >> > > @David Brown,ok but what if I want to construct the tree using the > VHDL,where shall I start? http://www.altavista.com/web/results?fr=altavista&itag=ody&q=Huffman+Encoding& kgs=0&kls=0 > And what logic units will I need ? Who knows? Finish your project and you can tell us. If you're lucky there's a book out there on implementing data compression in logic; I suspect, however, that what there is are a lot of very specific, narrowly focused materials on specific methods (i.e. "Implementing Video Compression in Digital Hardware"). And that's if you're lucky -- if you're not lucky then there are 10 companies out there that have each learned how to do it, and no one wants to tell anyone else how it's done. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com Do you need to implement control loops in software? "Applied Control Theory for Embedded Systems" was written for you. See details at http://www.wescottdesign.com/actfes/actfes.html
>On 24/08/2010 13:39, kude wrote: >> Hi all, >> I am working on text Huffman Encoder and Decoder to be implemented on >> FPGA. >> and here are things which are not clear for me. >> 1.Will the binary tree be constructed by software and then the codeddata >> be taken and VHDL coded OR can I construct the Binary tree using VHDL?and >> I need some hint. >> > >That's up to you. If you construct the tree in software and generate >the VHDL from a fixed tree, the hardware will be a lot easier. But then >you have a fixed tree - it will only be efficient for encoding data that >matches that tree. > @David Brown,ok but what if I want to construct the tree using theVHDL,where shall I start? And what logic units will I need ? thanks --------------------------------------- Posted through http://www.FPGARelated.com______________________________
kude <tadmas09@n_o_s_p_a_m.gmail.com> wrote: > I am working on text Huffman Encoder and Decoder to be > implemented on FPGA. I recommend looking at the literature on systolic arrays. I am not so sure, but I believe that works well for many compression algorithms. Remember that you are building hardware, and the size must be specified before synthesis. You can't do dynamic allocation as in many programming languages. -- glen______________________________