Editing the truth table

On opening the Combinational Analysis window, you will see that it consists of four tabs.

This page describes the first two tabs, Inputs & Outputs, and Table. The next page of the guide describes the last two tabs, Expression and Minimized.

The Inputs & Outputs tabs

#########

The Inputs & Outputs tab allows you to display and edit lists of inputs and/or outputs and to specify the width of their data.

To add items to the list, simply select the line with Up Arrow or Down Arrow or click on "Click to..." and enter the desired name. You can see above the line "c_out" inserted in the list of outputs. Then you can define the data width of this line (on the right) with the mouse. The Enter or Tab key will end the input.

If you want to rename one of the existing lines, a double click on the text will allow you to modify it.

To delete a line, select it as before with the mouse or the Up Arrow or Down Arrow and then use the Delete key.

To rearrange the order of the rows, select it as above, then use the Ctrl+Up Arrow or Ctrl+Down Arrow combination to move it up or down in the list.

All actions affect the truth table immediately.

The Table tab

In the Table tab you will find a series of buttons and the current truth table., diagrammed in the conventional order, with inputs constituting the columns on the left and outputs constituting the columns on the right.

#########

You can edit the current values appearing in the output columns by clicking on the value of interest. You can change the current values in the output columns by clicking on the value you are interested in and using the keyboard keys 0,1 and - (representing an undefined value) or in the top the buttons - , 1 , 0 . After entering the value, the cursor moves down one line in the column. The key combinations Up/Down Arrow or Left/Right Arrow are used to move the selection.

In the same way, you can modify the data in the input columns by inserting indeterminate values (-) or to delete them and replace them with 0 or 1.

In this context the button Collapse duplicate rows simplifies the representation of the table and Show all rows in its entirety.

You can copy and paste values using the clipboard. The clipboard can be transferred to any application supporting tab-delimited text (such as a spreadsheet).

If the truth table is based on an existing circuit, you may see some red squares in the output columns with "E" in them. These correspond to errors that occurred while calculating the value for that row - either the circuit seemed to be oscillating, or the output value was an error value (which would be pictured as a red wire in the Logisim circuit).

The buttons Export table, Import table

The Import table and Export table buttons allow you to save and respectively reload a truth table definition from a file.

Next: Creating expressions.