The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Nov 27th, 2020, 6:04pm
Pages: 1
Send Topic Print
A-Weighting VerilogA Model (Read 7874 times)
keplin
New Member
*
Offline



Posts: 8
SF Bay Area
A-Weighting VerilogA Model
Nov 20th, 2009, 12:38pm
 
Does anyone out there have an A-Weighting filter model in VerilogA?
Back to top
 
 
View Profile keplin keplinjohansen   IP Logged
pancho_hideboo
Senior Fellow
******
Offline



Posts: 1424
Real Homeless
Re: A-Weighting VerilogA Model
Reply #1 - Nov 20th, 2009, 11:58pm
 
keplin wrote on Nov 20th, 2009, 12:38pm:
Does anyone out there have an A-Weighting filter model in VerilogA?
What do you mean by "A-Weighting filter" ?
Is it "Moving Average Filter" ?
Back to top
 
 
View Profile WWW Top+Secret Top+Secret   IP Logged
sheldon
Community Fellow
*****
Offline



Posts: 751

Re: A-Weighting VerilogA Model
Reply #2 - Nov 21st, 2009, 8:10am
 
Pancho,

  A-weighting is a spectral mask for sound pressure from the IEC.
Basically, the limitations of human sensitivity to sound can be used
in calculation of a audio converters "goodness", for example, SINAD.

Keplin,

  Do you need a Verilog-A model? I thought that A-weighting could
be treated like filtering, that is, just multiplying the frequency
domain response. So the A-weighting can just be done during
post-processing, in Calculator.

                                                         Best Regards,

                                                             Sheldon
Back to top
 
 
View Profile   IP Logged
pancho_hideboo
Senior Fellow
******
Offline



Posts: 1424
Real Homeless
Re: A-Weighting VerilogA Model
Reply #3 - Nov 21st, 2009, 8:40am
 
sheldon wrote on Nov 21st, 2009, 8:10am:
A-weighting is a spectral mask for sound pressure from the IEC.
Sheldon, thanks for information.

Expression as s-domain transfer function of A-weighting filter is described in the following.
So you can easily implement it as Verilog-A module.
http://en.wikipedia.org/wiki/A-weighting
Back to top
 
 
View Profile WWW Top+Secret Top+Secret   IP Logged
keplin
New Member
*
Offline



Posts: 8
SF Bay Area
Re: A-Weighting VerilogA Model
Reply #4 - Nov 24th, 2009, 4:19pm
 
Sheldon,

  Yes I could do it in the calculator, but I would rather simulate with a Verilog-A model so that I can analyze the simulation output directly.

  I am not very savvy at Verilog-A and am just trying to save time converting the s-domain model to a time domain model for Verilog-A by seeing if anyone out there has something already implemented.

  Thanks,

  Keplin
Back to top
 
 
View Profile keplin keplinjohansen   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1737
Bracknell, UK
Re: A-Weighting VerilogA Model
Reply #5 - Jan 5th, 2010, 12:22pm
 
It should be relatively easy to take the s-domain transfer function on the wikipedia page that Pancho referenced, multiply out the denominator and then use the laplace_nd function in VerilogA to represent it.

I'll leave that as an exercise for you (assuming you've not already done it!)

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2020 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.