Coverage for pyEDAA/ToolSetup/SiemensEDA/__init__.py: 89%

19 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 

6 

7 

8@export 

9class ModelSim(Tool): 

10 pass 

11 

12 

13@export 

14class QuestaSim(Tool): 

15 pass 

16 

17 

18@export 

19class SiemensEDA(Vendor): 

20 _toolClasses: Dict[str, Tool] = { 

21 "ModelSim": ModelSim, 

22 "QuestaSim": QuestaSim, 

23 } 

24 

25 @property 

26 def ModelSim(self) -> ModelSim: 

27 return self.__getitem__("ModelSim") 

28 

29 @property 

30 def QuestaSim(self) -> QuestaSim: 

31 return self.__getitem__("QuestaSim") 

32 

33 

34MentorGraphics = SiemensEDA