I wrote a little python3 script to convert csv pinout machxo3 files found on Lattice website into csv readable with kipart.
$ python3 machxo3tokipart.py -h
Convert a lattice csv pinout for Kipart
Usage:
python3 machxo3tokipart.py [options]
-h, help This usage message
-c, csv=FILENAME give the filename of lattice csv
-o, outputname=FILENAME Output filename to write
-p, package=CABGA256 Package to use
-l, list list packages available
-n, partname=name part name (filename in not present)
I'm using this script with machxo36900.csv pinout from here. The csv from lattice has this format :
I wrote a little python3 script to convert csv pinout machxo3 files found on Lattice website into csv readable with kipart.
I'm using this script with machxo36900.csv pinout from here. The csv from lattice has this format :
We have to select bga to use with this command options :
$ python3 machxo3tokipart.py -c MachXO36900Pinout.csv -pCABGA256 -nMachXO36900_CABGA256 -o LatticeMachXO3.csv
And the csv result has the following format :
Then it can be converted in kicad symbol with kipart.