Home BSS User Forum BSS Archive Threads Discussion London Architect with Soundweb London

Import CSV file into truth table

I've one problem en and request

Problem= I want to import a CSV file into a truth table. When i do so i get the next message: Unrecognised CSV format, please refer to help file for supported formats

I.ve done that and can't discover the problem. I looks like the example in the help file and is stored as MS-DOS CSV file in Excel 2010:
0 0 0 0 0
1 0 0 0 0
2 0 0 0 0
3 0 0 0 0
4 0 0 0 0
5 0 0 0 0
6 0 0 0 0
7 0 0 0 0
8 0 0 0 0
9 1 0 0 1
10 0 0 0 0
11 0 0 0 0
12 0 0 0 0
13 0 0 0 0
14 1 0 0 1
15 0 0 0 0
16 1 0 0 1
17 1 0 0 1
18 1 0 0 1
19 1 0 0 1
20 1 0 0 1

What am I doing wrong?

Request: Is it possible to make a feature to export the truth table?

Comments

  • Kevin BrownKevin Brown Posts: 50
    MS-DOS CSV is the correct format, that's not the problem. The problem is that you have 21 rows in your CSV file. That's either too many rows, or not enough rows, depending on how many inputs your TruthTable has.

    where x = number of inputs on your TruthTable, the amount of rows required in your CSV file should be 2^x

    ExampleA, you have a TruthTable with 2 inputs, there should be 4 rows in your CSV file.
    ExampleB, you have a TruthTable with 3 inputs, there should be 8 rows in your CSV file.
    ExampleC, you have a TruthTable with 4 inputs, there should be 16 rows in your CSV file.
    ExampleD, you have a TruthTable with 5 inputs, there should be 32 rows in your CSV file.

    etc...

    Regarding your feature request... if you are simply trying to give yourself the ability to add a custom preconfigured TruthTable across multiple LA design files, there's a way.

    Step 1: configure the TruthTable the way you want in its properties.

    Step 2: select the TruthTable, then click \"Object\" menu --> \"Add to Library\"

    Step 3: in the subsequent window, give it a custom name. Also, if you want to PREVENT the TruthTable's properties from being READ and/or WRITTEN in the future, check the \"Make Properties Private\" box. If you want to ALLOW properties to be READ and/or WRITTEN in the future, uncheck the box.

    Step 4: close LA, open a new file, go to the Hardware tab, and drag your custom preconfigured Truth table from there (it will be under \"Logic Objects\") into a design

    Done.
Sign In or Register to comment.