Building a Dynamic Lookup Table

Because all the values defining a Lookup Table must be constants, the definition of the table cannot change dynamically.

In some situations, however, you may need to change the definition of the table as a function of time.  There are two ways to build dynamic lookup table logic:

   You can define multiple Lookup Table elements, and use if,then logic to switch between the different tables as a function of time; or

   You can use a vector to define a lookup table.  GoldSim provides several array functions that allow you to interpolate into the entries in a vector.  Since vector entries can change with time, this allows you to use this functionality to create a dynamic lookup table.

Related Topics…

Learn more about: