Coverage for pyEDAA/ToolSetup/IntelFPGA/__init__.py: 88%

17 statements  

« prev     ^ index     » next       coverage.py v7.6.5, created at 2024-11-15 01:13 +0000

1from typing import Dict 

2 

3from pyTooling.Decorators import export 

4 

5from .. import Tool, Vendor 

6from ..SiemensEDA import ModelSim 

7 

8 

9@export 

10class Quartus(Tool): 

11 pass 

12 

13 

14@export 

15class IntelFPGA(Vendor): 

16 _toolClasses: Dict[str, Tool] = { 

17 "Quartus": Quartus, 

18 "ModelSim": ModelSim, 

19 } 

20 

21 @property 

22 def Quartus(self) -> Quartus: 

23 return self.__getitem__("Quartus") 

24 

25 @property 

26 def ModelSim(self) -> ModelSim: 

27 return self.__getitem__("ModelSim") 

28 

29 

30Altera = IntelFPGA