Esempio n. 1
0
 def __init__(self, *args, toolchain="diamond", **kwargs):
     GenericPlatform.__init__(self, *args, **kwargs)
     if toolchain == "diamond":
         self.toolchain = diamond.LatticeDiamondToolchain()
     elif toolchain == "icestorm":
         self.bitstream_ext = ".bin"
         self.toolchain = icestorm.LatticeIceStormToolchain()
     else:
         raise ValueError("Unknown toolchain")
Esempio n. 2
0
 def __init__(self, *args, toolchain="diamond", **kwargs):
     GenericPlatform.__init__(self, *args, **kwargs)
     if toolchain == "diamond":
         self.toolchain = diamond.LatticeDiamondToolchain()
     elif toolchain == "trellis":
         self.toolchain = trellis.LatticeTrellisToolchain()
     elif toolchain == "icestorm":
         self.bitstream_ext = ".bin"
         self.toolchain = icestorm.LatticeIceStormToolchain()
     elif toolchain == "radiant":
         self.toolchain = radiant.LatticeRadiantToolchain()
     elif toolchain == "oxide":
         self.toolchain = oxide.LatticeOxideToolchain()
     else:
         raise ValueError("Unknown toolchain")
Esempio n. 3
0
 def __init__(self, *args, toolchain="diamond", **kwargs):
     GenericPlatform.__init__(self, *args, **kwargs)
     if toolchain == "diamond":
         self.toolchain = diamond.LatticeDiamondToolchain()
     else:
         raise ValueError("Unknown toolchain")