Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to improve efficiency in VHDL ?

Status
Not open for further replies.

Anuja Diggikar

Junior Member level 1
Joined
Oct 21, 2010
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,395
I developed adaptive filter for acoustic noise cancellation in VHDL which needs 3 multipliers. final output i got is errored sound. I want it error free. I think it is because i forward only MSB data of multiplier (as multiplier doubles data width ) . so some data get lost. is there any another solution instead of taking only msb data?
pl. help ?
Thank you in adv.
Diggikar
 
Last edited:

what is your requirement,......... first learn to post the requirement in complete details ,, so that it avoids our guess work and save both people time............
 

Actually data posted was incomplete by mistake. I modified it. pl. go through it and help.
Thank you for quick reply
 

It sounds like a problem of not thinking about number ranges in signal processing with integer arithmetic. It's not particularly related to VHDL, I think. You should be able to reproduce the issue using pencil and paper or with a pocket calculator as well.

To discuss the VHDL related part, you should post the VHDL code including signal definitions.

P.S.: Did you consider, that the internal signals of a filter (and possibly the output as well) may need a larger numeric range than the input signal, depending on the filter transfer function? So designing suitable numeric ranges for all signals involved with a filter is strongly suggested. If an overflow can't be avoided in some cases, you possibly would want to add saturation logic to the arithmetic rather than accept a signal polarity reversal.
 
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top