Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21345 Discussions

image compression architecture for haar filter

Altera_Forum
Honored Contributor II
1,670 Views

Hello everyone.. 

 

Iam new with QuartusII software..i need help from you all..:confused: 

I was design architecture for image compression using Haar filter and using pipelined technique. 

As we know, Haar filter consist of 2 algorithm which are averaging and differencing. 

 

My question is how suppose i start to write the VHDL code for the architecture? I have problem to evaluate the algorithm into VHDL code because of the - and / operations. 

 

I appreciate your helps..
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
525 Views

there is not problems doing subtraction in FPGAs. Divide functions you'll have to instantiate a divide megafunction - quartus cannot pipeline a divide function from infered code yet. 

 

So what problems are you having?
0 Kudos
Altera_Forum
Honored Contributor II
525 Views

My problem is i dont have any idea to write the VHDL code. 

What type of architecture i need to write?..Iam very new with VHDL code.. 

Thanks for reply..
0 Kudos
Altera_Forum
Honored Contributor II
525 Views

Building filters is probably not a great way to start with VHDL. How good are you with digital logic design?

0 Kudos
Altera_Forum
Honored Contributor II
525 Views

I learn digital logic design during my degree and know i do my master focus in digital design. 

 

I understand to design using gate based on the equation.But know, i need to write VHDL code based on architecture.Hope you understand what i mean. 

Thank for reply..
0 Kudos
Altera_Forum
Honored Contributor II
525 Views

then it is quite simple to do arithmatic in VHDL, it is as simple as: 

 

c <= a + b; 

c <= a - b; 

c <= a * b; 

 

etc.
0 Kudos
Altera_Forum
Honored Contributor II
525 Views

Thanks for your respond..i get more clear know. 

 

Thanks for reply
0 Kudos
Reply