Coverage for pyEDAA/ToolSetup/Xilinx/__init__.py: 87%
30 statements
« prev ^ index » next coverage.py v7.6.5, created at 2024-11-15 01:13 +0000
« prev ^ index » next coverage.py v7.6.5, created at 2024-11-15 01:13 +0000
1from typing import Dict
3from pyTooling.Decorators import export
5from .. import Tool, Vendor
8@export
9class ISE(Tool):
10 pass
13@export
14class Vivado(Tool):
15 pass
18@export
19class VivadoSDK(Tool):
20 pass
23@export
24class Vitis(Tool):
25 pass
28@export
29class Xilinx(Vendor):
30 _toolClasses: Dict[str, Tool] = {
31 "ISE": ISE,
32 "Vivado": Vivado,
33 "VivadoSDK": VivadoSDK,
34 "Vitis": Vitis,
35 }
37 @property
38 def ISE(self) -> ISE:
39 return self.__getitem__("ISE")
41 @property
42 def Vivado(self) -> Vivado:
43 return self.__getitem__("Vivado")
45 @property
46 def VivadoSDK(self) -> VivadoSDK:
47 return self.__getitem__("Vivado-SDK")
49 @property
50 def Vitis(self) -> Vitis:
51 return self.__getitem__("Vitis")