SIMPLIS Parts

Digital Lookup Table with Don't Care Input Definitions

The Digital Lookup Table with Don't Care Input Definitions models combinatorial logic defined with a truth table. The truth table maps logical combinations of input states to output states. Unlike the Digital Lookup Table, this device allows the input space to include don't care inputs. A default output state determines the output if the input state is not defined in the table.

The digital lookup table with don't care input definitions is even more powerful than the digital lookup table, especially for defining state machines or complex logic. Using the lookup table with don't care input definitions, you can easily implement, test, and revise extremely complex logic, all without changing the schematic view of the design.

If you do not require input definitions which include don't care states, see Digital Lookup Table. The points definition of the digital lookup table is more flexible and it is slightly easier to configure.

In this Topic Hide

Model Name:

Digital Lookup Table with Don't Care Input Definitions

Simulator:

This device is compatible with the SIMPLIS simulator.

Parts Selector
Menu Location:

Digital Functions | Functions

Symbol Library:

None - the symbol is automatically generated when placed or edited.

Model File:

None - the device model is generated before simulation.

Subcircuit Name:

  • SIMPLIS_DIGI1_D_LOOKUP_TABLE_DONTCARE_N: Without Ground Reference
  • SIMPLIS_DIGI1_D_LOOKUP_TABLE_DONTCARE_Y: With Ground Reference

Symbol:

Multiple Selections:

Only one device at a time can be edited.

Editing the Digital Lookup Table with Don't Care Input Definitions

To configure the digital lookup table with don't care input definitions, follow these steps:

  1. Double click the symbol on the schematic to open the editing dialog to the Parameters tab.
  2. Make the appropriate changes to the fields described in the table below the image.
Label Parameter Description

Output Delay

Delay from when the input state changes until the output changes

Number of Input Bits

Number of input bits for the digital lookup table

Number of Output Bits

Number of output bits for the digital lookup table

Redefine Table?

Determines whether the lookup table is to be redefined after the dialog is closed.

  • Checked: The lookup table will be redefined after the dialog is closed.
  • Unchecked: The lookup table definition remains unchanged after the dialog is closed.

Default Value

Default value of lookup table output if the input value is not found in the lookup table.

Initial Condition

Initial condition of the lookup table output in decimal

Ground Ref

Determines whether or not a device has a ground reference pin.

Any digital component that has an input or output pin connected to an analog circuit node must have its Ground Ref pin connected to an analog node. This is usually ground on the schematic. For more information on the use of Ground Ref for digital components, see When is Ground Ref Required?

To define the parameters for the interface between this digital component and each analog component connected directly to an input or output pin, follow these steps from the Edit Digital Lookup Table with Don't Care Input Definitions dialog box:

  1. Click on the   Interface   tab.
  2. Make the appropriate changes to the fields described in the table below the image.
Label Parameter Description

Input Resistance

Input resistance of each input pin

Threshold

Hysteresis

The Threshold (T) and Hysteresis (H) of the Schmitt trigger input buffer on each Lookup Table input. To determine the low-to-high threshold (TH) and the high-to-low threshold (TL), substitute Threshold (T) and Hysteresis (H) in each of the following formulas :
Input Logic Transition Actual Threshold
0 ➞ 1 TH = Threshold + 0.5 * Hysteresis
1 ➞ 0 TL = Threshold - 0.5 * Hysteresis
 

Output Resistance

Output resistance of the lookup table output pin(s)

Output High Voltage

Output high voltage for the lookup table output pin(s)

Output Low Voltage

Output low voltage for the lookup table output pin(s)

Table Definition

You define the digital lookup table with don't care input definitions with an ASCII text file. Unlike the Digital Lookup Table, this device requires a single column to define each input and output bit. The points definition file is otherwise similar to the definition of a regular digital lookup table.

The input file is whitespace delimited, with spaces or tabs, or a combination of the two. Each line in the definition file defines the input states which correspond to a set of output states. The delimited line has three components - the input definitions, the delimiter (space or tab) which separates the input definitions from the output definitions, and the output definitions.

A points definition file example can be downloaded here: state_machine_lookup_table. This file is also included in the following zip archive: simplis_042_lut_dont_care_example.zip.

Input Definitions

Each line starts with the input definitions, starting with the most significant bit (MSB). Each bit in the input space is defined with one of three characters: