示例#1
0
文件: platform.py 项目: fallen/migen
 def __init__(self, *args, toolchain="ise", **kwargs):
     GenericPlatform.__init__(self, *args, **kwargs)
     if toolchain == "ise":
         self.toolchain = ise.XilinxISEToolchain()
     elif toolchain == "vivado":
         self.toolchain = vivado.XilinxVivadoToolchain()
     else:
         raise ValueError("Unknown toolchain")
示例#2
0
文件: platform.py 项目: fallen/migen
 def __init__(self, *args, toolchain="quartus", **kwargs):
     GenericPlatform.__init__(self, *args, **kwargs)
     if toolchain == "quartus":
         self.toolchain = quartus.AlteraQuartusToolchain()
     else:
         raise ValueError("Unknown toolchain")
示例#3
0
文件: platform.py 项目: fallen/migen
 def __init__(self, *args, toolchain="verilator", **kwargs):
     GenericPlatform.__init__(self, *args, **kwargs)
     if toolchain == "verilator":
         self.toolchain = verilator.SimVerilatorToolchain()
     else:
         raise ValueError("Unknown toolchain")
示例#4
0
文件: platform.py 项目: fallen/migen
 def __init__(self, *args, toolchain="diamond", **kwargs):
     GenericPlatform.__init__(self, *args, **kwargs)
     if toolchain == "diamond":
         self.toolchain = diamond.LatticeDiamondToolchain()
     else:
         raise ValueError("Unknown toolchain")