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")
def __init__(self, *args, toolchain="ise", **kwargs): GenericPlatform.__init__(self, *args, **kwargs) self.edifs = set() self.ips = {} if toolchain == "ise": self.toolchain = ise.XilinxISEToolchain() elif toolchain == "vivado": self.toolchain = vivado.XilinxVivadoToolchain() elif toolchain == "symbiflow": self.toolchain = symbiflow.SymbiflowToolchain() else: raise ValueError("Unknown toolchain")
def __init__(self, *args, toolchain="ise", **kwargs): GenericPlatform.__init__(self, *args, **kwargs) self.edifs = set() self.ips = {} if toolchain == "ise": from litex.build.xilinx import ise self.toolchain = ise.XilinxISEToolchain() elif toolchain == "vivado": from litex.build.xilinx import vivado self.toolchain = vivado.XilinxVivadoToolchain() elif toolchain == "symbiflow": from litex.build.xilinx import symbiflow self.toolchain = symbiflow.SymbiflowToolchain() elif toolchain == "yosys+nextpnr": from litex.build.xilinx import yosys_nextpnr self.toolchain = yosys_nextpnr.YosysNextpnrToolchain() else: raise ValueError(f"Unknown toolchain {toolchain}")