Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Electronic Equipment > VHDL > Re: Gamma Corre...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 6124 of 6418
Post > Topic >>

Re: Gamma Correction VHDL Core

by KJ <kkjennings@[EMAIL PROTECTED] > Jun 30, 2008 at 01:32 PM

On Jun 30, 3:43=A0pm, "Maarten" <no_one@[EMAIL PROTECTED]
> wrote:
> Hi,
> Alternatively =A0you could consider to program a piece-wise-linear
transfe=
r
> function; By limiting the numberof gain factors (i.e. degreeof freedom
in
> choice for steepness) =A0to a set say {4*,2*, 1* , 1.125*, 1.25*, 1.5*}
yo=
u
> can replace multipliers by a number of ****ft-and-add functions, which
> results in a compact and fast (since its most probably video, you should

I think you're missing my point that all of the calculation stuff can
be done in a function that produces a constant.  That constant is a
lookup table array.  No multipliers, log/exp functions, etc. would be
synthesized.

Functionally, and from a synthesis perspective, it's absolutely no
different than if you were to use Excel to compute the lookup table
values and copy/paste them into your code.  The difference is in the
maintainability of the design.

If you go the copy/paste route though your HDL design contains an
array of 'magic' numbers for the lookup table entries that (hopefully)
have some reference back to the Excel spreadsheet that generated
them...and hopefully nobody accidentally changes any of the values
when doing a search/replace operation.

If you go the route of having your HDL compute the lookup table
entries directly then the HDL has a fairly short, easy to read
function that (should) look very close to the true source equations
that define the mapping.

Functions to compute constants are not shackled with the same
constraints that apply to signals.

Kevin Jennings
 




 5 Posts in Topic:
Gamma Correction VHDL Core
Martin Sauer <msau@[EM  2008-06-30 15:33:45 
Re: Gamma Correction VHDL Core
KJ <kkjennings@[EMAIL   2008-06-30 08:21:30 
Re: Gamma Correction VHDL Core
"Maarten" <n  2008-06-30 21:43:58 
Re: Gamma Correction VHDL Core
KJ <kkjennings@[EMAIL   2008-06-30 13:32:37 
Re: Gamma Correction VHDL Core
"Maarten" <n  2008-07-03 18:42:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 23:22:54 CST 2008.