Back to Logisim Evolution

Buttons Export / Import Table

src/main/resources/doc/en/html/guide/analyze/ana-expimp.html

4.1.01.1 KB
Original Source

Buttons Export / Import Table

The two buttons Import table and Export table allow to save and respectively reload a truth table definition.

The information is stored in a TEXT file of this format:

a b c_in | s c_out
~~~~~~~~~~~~~~~~~~
0 0 0 | 0 0  
0 0 1 | 1 0  
0 1 0 | 1 0  
0 1 1 | 0 1  
1 0 0 | 1 0  
1 0 1 | 0 1  
1 1 0 | 0 1  
1 1 1 | 1 1

Les règles suivantes s'appliquent :

  • Everything after a '#' is a comment and will be ignored.
  • Blank lines and separator lines (e.g., ~~~~~~ ) are ignored.
  • Keep column names simple (no spaces, punctuation, etc.).
  • Name[N..0]' indicates an N+1 bit variable, while 'Name' by itself indicates a 1 bit variable.
  • You can use 'x' or '-' to indicate which input and output bits to ignore.
  • You can use binary notation (for example, '10100011xxxx') or hexadecimal notation (for example, 'C3x'). Logisim will determine which is which.

You can export the table to a file, modify it and re-import it. This can be a useful aid for complex tables.

Next: Editing the truth table.