parent
994fa81599
commit
14929b9499
|
@ -5,6 +5,7 @@
|
||||||
# Keep this list sorted alphabetically.
|
# Keep this list sorted alphabetically.
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"AlteraPlatform",
|
"AlteraPlatform",
|
||||||
|
"AMDPlatform",
|
||||||
"GowinPlatform",
|
"GowinPlatform",
|
||||||
"IntelPlatform",
|
"IntelPlatform",
|
||||||
"LatticeECP5Platform",
|
"LatticeECP5Platform",
|
||||||
|
@ -39,7 +40,7 @@ def __getattr__(name):
|
||||||
if name in ("SiliconBluePlatform", "LatticeICE40Platform"):
|
if name in ("SiliconBluePlatform", "LatticeICE40Platform"):
|
||||||
from ._siliconblue import SiliconBluePlatform
|
from ._siliconblue import SiliconBluePlatform
|
||||||
return SiliconBluePlatform
|
return SiliconBluePlatform
|
||||||
if name == "XilinxPlatform":
|
if name in ("XilinxPlatform", "AMDPlatform"):
|
||||||
from ._xilinx import XilinxPlatform
|
from ._xilinx import XilinxPlatform
|
||||||
return XilinxPlatform
|
return XilinxPlatform
|
||||||
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
||||||
|
|
Loading…
Reference in a new issue