The Parts Editor allows pin data to be exported and imported in standard CSV format. This allows the data to be created or manipulated in an external editor such as Microsoft Excel.
Why might you use this options?
There are a few main reasons why having pin data in ASCII format would be an advantage to you. Firstly, you may export current part pin data from a part, manipulate it, then import it back in to the part to update it. Secondly, you may start with pin data outside of Pulsonix, perhaps exported or captured from a datasheet. Manipulate it into Pulsonix ‘format’, then import it into a Pulsonix part to create the pin data. Thirdly, you may be using FPGA parts and may wish to import the pin data (or export/import) it from an FPGA editor supported by Pulsonix.
Locating these options
Available from: Library Manager option > Parts tab > File menu >
Export Pin Data… option
Import Pin Data… option
CSV Pin Data Format
A quick method of generating a pin data CSV file is to use the Export Pin Data option while editing a part in the Parts Editor.
The first row of the CSV file contains the column headings for the pin data fields included. The column headings have to match those displayed in the Parts Editor but do not have to be in the same order.
The CSV format can contain any of the pin specific fields from the Gates or Pins pages of the Parts Editor; namely Pin Name, Logic Name, Pin Swap, Net Name, Pin Type and Pin Network, but does not have to include them all. Omitted fields will be unaffected by an import. The Pin Name field must be included as it is used to map the CSV rows to the appropriate pins in the Parts Editor. In addition, user defined pin attributes can be included by adding the attribute names to the column headings. When importing, pin attributes that do not already exist will be added to the part.
For pin fields that have restricted values, such as Pin Type, the value provided
in the CSV file must be one of the defined values otherwise it will be ignored.
An empty value will assume the value appropriate to the field, in the case of Pin Type,
If an imported CSV file includes the Logic Name field the FPGA setting on the part will be automatically set to take advantage of the additional FPGA features provide by Pulsonix.
The CSV file does not have to include entries for all the part pins. Those pins not present will be unaffected by the import thus allowing partial pin assignments to be made. The import report will contain a warning if not all pins are included as a precaution against accidental omissions.
An example pin data CSV file is shown below:
Pin Name,Net Name,Pin Type,Logic Name,Pin Swap,Standard,Voltage
1,sIn,Input,IO_IN,1,LVCMOS25,
2,sOut,Output,IO_OUT,1,LVCMOS25,
3,Vcc,Power,VCC,0,,2.5
4,Gnd,Ground,GND,0,,
Related Topics
Part Editor Pins Page | Part Editor Gates Page | Importing Pin Data | Exporting Pin Data | FPGA Support | CSV format