from migen.build.lattice.platform import LatticePlatform from migen.build.lattice.programmer import LatticeProgrammer