vendor.lattice_ice40: normalize device names.
authorwhitequark <whitequark@whitequark.org>
Tue, 4 Jun 2019 16:09:08 +0000 (16:09 +0000)
committerwhitequark <whitequark@whitequark.org>
Tue, 4 Jun 2019 16:09:08 +0000 (16:09 +0000)
commit452c4b380b15b9d53abd6c66e637b1466cf00f98
tree883bc84d94b364289f03e148495828bfc100c767
parent4379a5d6fe8c47a81c56b55deea9ebf4771192e3
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