vendor.lattice_ice40: normalize device names.
authorwhitequark <cz@m-labs.hk>
Tue, 4 Jun 2019 16:09:08 +0000 (16:09 +0000)
committerwhitequark <cz@m-labs.hk>
Tue, 4 Jun 2019 16:09:08 +0000 (16:09 +0000)
commit1d1c789f2d494bf2e4ff60abdc2cbc877ecb80dc
tree883bc84d94b364289f03e148495828bfc100c767
parent317f1cda9967f8f24b490a04c66d78fff6f01a15
vendor.lattice_ice40: normalize device names.

Right now the device name in the board file is just the option
nextpnr uses, but that's overnormalized and doesn't quite match
the chip names used elsewhere. It is even worse for ECP5 in terms
of mismatch with chip names, and for ECP5 we need to support other
toolchains as well, so let's handle this uniformly everywhere.
nmigen/vendor/lattice_ice40.py