Package which provides functions to create Look Up Tables for various functions The generated Look Up Table can be placed in a lookup_table entity.
- See also
- lookup_table
Package Body >> curves_pkg
§ create_gamma_lut()
array_pixel create_gamma_lut |
( |
|
size in , |
|
|
|
gamma in 1 . 0 , |
|
|
|
c in 1 . 0 |
|
) |
| |
|
Function |
Function to create Look up table for a gamma function The gamma function is
- Parameters
-
[in] | size | Number of elements to create |
[in] | gamma | Gamma factor |
[in] | c | Amplification factor
|
§ create_negated_lut()
Function to create Look up table for a negated line The negate function is
- Parameters
-
[in] | size | Number of elements to create
|
§ create_sigmoid_lut()
array_pixel create_sigmoid_lut |
( |
|
size in , |
|
|
|
c in 1 . 0 |
|
) |
| |
|
Function |
Function to create Look up table for a sigmoid function The sigmoid function is
- Parameters
-
[in] | size | Number of elements to create |
[in] | c | Amplification factor
|
§ create_sine_lut()
Function to create Look up table for a sine function The sine function is
- Parameters
-
[in] | size | Number of elements to create |
[in] | c | Order
|
§ create_straight_lut()
array_pixel create_straight_lut |
( |
|
size in , |
|
|
|
c in 1 . 0 |
|
) |
| |
|
Function |
Function to create Look up table for a straight line Used for testing purposes, creates a straight line. The straight function is
- Parameters
-
[in] | size | Number of elements to create |
[in] | c | Amplification factor
|
§ report_lut_value()
report_lut_value |
( |
variable |
value in , |
|
|
constant |
index in |
|
) |
| |
|
Procedure |
Procedure to pretty print out a LUT value
- Parameters
-
[in] | value | Value to be printed |
[in] | index | Index to print |
§ verify_valid_value()
verify_valid_value |
( |
variable |
value in , |
|
|
constant |
wordsize in |
|
) |
| |
|
Procedure |
Procedure to assert that value can be represented in bit range
- Parameters
-
[in] | value | Value to compare |
[in] | wordsize | Bit depth |
§ array_pixel
array of std_logic_vectors
§ ieee
§ math_real
§ numeric_std
§ std_logic_1164
§ wordsize
The documentation for this class was generated from the following file:
- /home/ben/Programming/VHDL/realtimestagram/src/common/src/curves_pkg.vhd