Difference between revisions of "Component: Lookup tables (Storage)"

From Flowcode Help
Jump to navigationJump to search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
+
{| style="width:50%"
 
 
{| width="50%"
 
 
|-
 
|-
| width="20%" style="color: gray;" | Author
+
| width="20%" style="color:gray;" | Author
 
| Matrix Ltd
 
| Matrix Ltd
 
|-
 
|-
| width="20%" style="color: gray;" | Version
+
| width="20%" style="color:gray;" | Version
| 1.5 (Release)
+
| 1.7
 
|-
 
|-
| width="20%" style="color: gray;" | Category
+
| width="20%" style="color:gray;" | Category
 
| Storage
 
| Storage
 
|}
 
|}
  
  
 
+
==Lookup tables component==
==[[File:Component Icon dfb4d07a_3d70_45d5_83ef_07e3c95d86ab.png|Image]] ==Lookup tables component==
 
 
A lookup-table component allowing an easy way to place arrays of static data into ROM memory. The LUT data is accessed directly allowing very low overhead when collecting the data.
 
A lookup-table component allowing an easy way to place arrays of static data into ROM memory. The LUT data is accessed directly allowing very low overhead when collecting the data.
  
Line 23: Line 20:
  
 
==Detailed description==
 
==Detailed description==
 +
 +
 +
 +
  
  
Line 35: Line 36:
  
 
==Examples==
 
==Examples==
 +
 +
 +
 +
 
A look up table component is useful when including data into a program which may not be linear and therefore hard to calculate.
 
A look up table component is useful when including data into a program which may not be linear and therefore hard to calculate.
  
Line 67: Line 72:
 
==Downloadable macro reference==
 
==Downloadable macro reference==
  
===<span style="font-weight: normal;"><u><tt>GetFloat</tt></u></span>===
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
Gets a float from the LUT
+
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetFloats'''
 +
|-
 +
| colspan="2" | Gets the float LUT&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
 +
| width="90%" | Dest
 +
|-
 +
| colspan="2" | &nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
'''Parameters'''
 
  
:[[Variable Types|UINT]] ''Index''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GenerateCache'''
 +
|-
 +
| colspan="2" | Generates the C code for the arrays so it does not need to be done at compile time&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
  
'''Return value'''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetIntCount'''
 +
|-
 +
| colspan="2" | Gets the number of int LUT entries &nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u16-icon.png]] - UINT
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
:[[Variable Types|FLOAT]]
 
  
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ClearInts'''
 +
|-
 +
| colspan="2" | Clear all int LUT values&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
===<span style="font-weight: normal;"><u><tt>GetInt</tt></u></span>===
 
Gets an integer from the LUT
 
  
'''Parameters'''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetFloatCount'''
 +
|-
 +
| colspan="2" | Gets the number of float LUT entries &nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u16-icon.png]] - UINT
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
:[[Variable Types|UINT]] ''Index''
 
  
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetIntBits'''
 +
|-
 +
| colspan="2" | Gets the number of bits-per-int in the LUT&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
'''Return value'''
 
  
:[[Variable Types|ULONG]]
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetIntBits'''
 +
|-
 +
| colspan="2" | Sets the size of an int LUT entry&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | Bits
 +
|-
 +
| colspan="2" | &nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
  
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetFloatBits'''
 +
|-
 +
| colspan="2" | Gets the number of bits-per-float in the LUT&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
==Simulation macro reference==
 
  
===<span style="font-weight: normal;"><u><tt>GetFloats</tt></u></span>===
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
Gets the float LUT
+
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ClearFloats'''
 +
|-
 +
| colspan="2" | Clear all float LUT values&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
'''Parameters'''
 
  
:[[Variable Types|FLOAT]] ''Dest''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetFloat'''
 +
|-
 +
| colspan="2" | Gets a float from the LUT&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" | Index
 +
|-
 +
| colspan="2" | &nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
  
'''Return value'''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetInts'''
 +
|-
 +
| colspan="2" | Gets the int LUT&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" | Dest
 +
|-
 +
| colspan="2" | &nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
:''This call does not return a value''
 
  
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetLUTCount'''
 +
|-
 +
| colspan="2" | Gets the number of individual data entries stored in the LUT.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u16-icon.png]] - UINT
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
===<span style="font-weight: normal;"><u><tt>GenerateCache</tt></u></span>===
 
Generates the C code for the arrays so it does not need to be done at compile time
 
  
'''Parameters'''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetInt'''
 +
|-
 +
| colspan="2" | Gets an integer from the LUT&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" | Index
 +
|-
 +
| colspan="2" | &nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
:''This macro has no parameters''
 
  
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetFloatBits'''
 +
|-
 +
| colspan="2" | Sets the size of a float LUT entry&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | Bits
 +
|-
 +
| colspan="2" | &nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
'''Return value'''
 
  
:''This call does not return a value''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AddInt'''
 +
|-
 +
| colspan="2" | Int to add to the int array &nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" | Value
 +
|-
 +
| colspan="2" | Int to add to the int array&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
  
===<span style="font-weight: normal;"><u><tt>GetIntCount</tt></u></span>===
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
Gets the number of int LUT entries
+
|-
 
+
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
'''Parameters'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AddFloat'''
 
+
|-
:''This macro has no parameters''
+
| colspan="2" | Add a float to the floating point LUT&nbsp;
 
+
|-
 
+
|-
'''Return value'''
+
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
 
+
| width="90%" | Value
:[[Variable Types|UINT]]
+
|-
 
+
| colspan="2" | Floating point values&nbsp;
 
+
|-
===<span style="font-weight: normal;"><u><tt>ClearInts</tt></u></span>===
+
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
Clear all int LUT values
+
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
+
|}
'''Parameters'''
 
 
 
:''This macro has no parameters''
 
 
 
 
 
'''Return value'''
 
 
 
:''This call does not return a value''
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>GetFloatCount</tt></u></span>===
 
Gets the number of float LUT entries
 
 
 
'''Parameters'''
 
 
 
:''This macro has no parameters''
 
 
 
 
 
'''Return value'''
 
 
 
:[[Variable Types|UINT]]
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>GetIntBits</tt></u></span>===
 
Gets the number of bits-per-int in the LUT
 
 
 
'''Parameters'''
 
 
 
:''This macro has no parameters''
 
 
 
 
 
'''Return value'''
 
 
 
:[[Variable Types|BYTE]]
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>SetIntBits</tt></u></span>===
 
Sets the size of an int LUT entry
 
 
 
'''Parameters'''
 
 
 
:[[Variable Types|BYTE]] ''Bits''
 
 
 
 
 
'''Return value'''
 
 
 
:''This call does not return a value''
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>GetFloatBits</tt></u></span>===
 
Gets the number of bits-per-float in the LUT
 
 
 
'''Parameters'''
 
 
 
:''This macro has no parameters''
 
 
 
 
 
'''Return value'''
 
 
 
:[[Variable Types|BYTE]]
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>ClearFloats</tt></u></span>===
 
Clear all float LUT values
 
 
 
'''Parameters'''
 
 
 
:''This macro has no parameters''
 
 
 
 
 
'''Return value'''
 
 
 
:''This call does not return a value''
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>GetInts</tt></u></span>===
 
Gets the int LUT
 
 
 
'''Parameters'''
 
 
 
:[[Variable Types|ULONG]] ''Dest''
 
 
 
 
 
'''Return value'''
 
 
 
:''This call does not return a value''
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>SetFloatBits</tt></u></span>===
 
Sets the size of a float LUT entry
 
 
 
'''Parameters'''
 
 
 
:[[Variable Types|BYTE]] ''Bits''
 
 
 
 
 
'''Return value'''
 
 
 
:''This call does not return a value''
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>AddInt</tt></u></span>===
 
Int to add to the int array
 
 
 
'''Parameters'''
 
 
 
:[[Variable Types|ULONG]] ''Value''
 
::Int to add to the int array
 
 
 
 
 
'''Return value'''
 
 
 
:''This call does not return a value''
 
 
 
 
 
===<span style="font-weight: normal;"><u><tt>AddFloat</tt></u></span>===
 
Add a float to the floating point LUT
 
 
 
'''Parameters'''
 
 
 
:[[Variable Types|FLOAT]] ''Value''
 
::Floating point values
 
 
 
 
 
'''Return value'''
 
 
 
:''This call does not return a value''
 
  
  
Line 270: Line 323:
  
 
==Property reference==
 
==Property reference==
<span style="font-weight: normal;"><u>Storage Type</u></span>
 
  
This property is of type ''Fixed list of ints'' and can be referenced with the variable name ''StorageType''.
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
+
|-
Controls the data type stored by the component.
+
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
 
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
<span style="font-weight: normal;"><u>Storage Sign</u></span>
+
|-
 
+
|-
This property is of type ''Fixed list of ints'' and can be referenced with the variable name ''Sign''.
+
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
 
+
| width="90%" | Storage Type
Controls if the integer numbers are allowed to be negative.
+
|-
 
+
| colspan="2" | Controls the data type stored by the component.&nbsp;
Unsigned = Numbers are positive only.
+
|-
 
+
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
Signed = Numbers can be positive and negative.
+
| width="90%" | Storage Sign
 
+
|-
<span style="font-weight: normal;"><u>Integers</u></span>
+
| colspan="2" | Controls if the integer numbers are allowed to be negative. Unsigned = Numbers are positive only. Signed = Numbers can be positive and negative.&nbsp;
 
+
|-
This property is of type ''Multiple lines of text'' and can be referenced with the variable name ''intfixed''.
+
| width="10%" align="center" | [[File:Fc9-type-11-icon.png]]
 
+
| width="90%" | Integers
Comma seperated integer data which is used to create the C code which is inserted into the ROM.
+
|-
 
+
| colspan="2" | Comma seperated integer data which is used to create the C code which is inserted into the ROM.&nbsp;
<span style="font-weight: normal;"><u>Embed Into C</u></span>
+
|-
 
+
| width="10%" align="center" | [[File:Fc9-type-21-icon.png]]
This property is of type ''True or false'' and can be referenced with the variable name ''EmbedIntoC''.
+
| width="90%" | Num Values
 
+
|-
Flag to decide if code should be generated to C or not
+
| colspan="2" | &nbsp;
 
+
|-
If this is false then the LUT is simulation only
+
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
 +
| width="90%" | Embed Into C
 +
|-
 +
| colspan="2" | Flag to decide if code should be generated to C or not If this is false then the LUT is simulation only &nbsp;
 +
|}

Latest revision as of 17:20, 9 November 2022

Author Matrix Ltd
Version 1.7
Category Storage


Lookup tables component

A lookup-table component allowing an easy way to place arrays of static data into ROM memory. The LUT data is accessed directly allowing very low overhead when collecting the data.

Component Pack

FREE

Detailed description

No detailed description exists yet for this component

Examples

A look up table component is useful when including data into a program which may not be linear and therefore hard to calculate.


One example of this is a sine wave or working out a temperature based on the resistance of a thermistor.


For a simple example lets say we want to store a sine wave on board the microcontroller.


First of all we use Excel to generate the data for a sine wave to do this we work out the angles in degrees we want to reproduce, then convert the degrees to radians and then generate the Sine wave for the angle. the angle returned will be between -1 and 1 so we need to convert this to fit into the microcontroller's memory. The most efficient way is to store the value as a byte which means scaling up the output to 0 - 255 and removing the real portion of the number to give integer values.

File:SineWaveLUT.xlsx


Then using the file -> Save as menu in Excel we can export the data as a raw .CSV file.

File:SineWaveLUT.csv


The line in the CSV file we are interested in is the Integer Offset Data. We can then copy and paste this data into the integer property of the look up table component.

LUT.jpg


In this example Flowcode file we display the LUT data onto a graphical LCD display FC6 Icon.png LUT Here is what you should expect to see on the glcd after running the simulation.

LUTdata.jpg

Downloadable macro reference

Fc9-comp-macro.png GetFloats
Gets the float LUT 
Fc9-f32-icon.png - FLOAT Dest
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GenerateCache
Generates the C code for the arrays so it does not need to be done at compile time 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetIntCount
Gets the number of int LUT entries  
Fc9-u16-icon.png - UINT Return


Fc9-comp-macro.png ClearInts
Clear all int LUT values 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetFloatCount
Gets the number of float LUT entries  
Fc9-u16-icon.png - UINT Return


Fc9-comp-macro.png GetIntBits
Gets the number of bits-per-int in the LUT 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png SetIntBits
Sets the size of an int LUT entry 
Fc9-u8-icon.png - BYTE Bits
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetFloatBits
Gets the number of bits-per-float in the LUT 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png ClearFloats
Clear all float LUT values 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetFloat
Gets a float from the LUT 
Fc9-u32-icon.png - ULONG Index
 
Fc9-f32-icon.png - FLOAT Return


Fc9-comp-macro.png GetInts
Gets the int LUT 
Fc9-u32-icon.png - ULONG Dest
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetLUTCount
Gets the number of individual data entries stored in the LUT. 
Fc9-u16-icon.png - UINT Return


Fc9-comp-macro.png GetInt
Gets an integer from the LUT 
Fc9-u32-icon.png - ULONG Index
 
Fc9-u32-icon.png - ULONG Return


Fc9-comp-macro.png SetFloatBits
Sets the size of a float LUT entry 
Fc9-u8-icon.png - BYTE Bits
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png AddInt
Int to add to the int array  
Fc9-u32-icon.png - ULONG Value
Int to add to the int array 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png AddFloat
Add a float to the floating point LUT 
Fc9-f32-icon.png - FLOAT Value
Floating point values 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Storage Type
Controls the data type stored by the component. 
Fc9-type-16-icon.png Storage Sign
Controls if the integer numbers are allowed to be negative. Unsigned = Numbers are positive only. Signed = Numbers can be positive and negative. 
Fc9-type-11-icon.png Integers
Comma seperated integer data which is used to create the C code which is inserted into the ROM. 
Fc9-type-21-icon.png Num Values
 
Fc9-type-7-icon.png Embed Into C
Flag to decide if code should be generated to C or not If this is false then the LUT is simulation only