Coverage for pyEDAA/ToolSetup/Aldec/__init__.py: 92%
24 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 Vendor, Tool, ToolInstance
8@export
9class ActiveHDLInstance(ToolInstance):
10 pass
13@export
14class RivieraPROInstance(ToolInstance):
15 pass
18@export
19class ActiveHDL(Tool):
20 _instanceClass = ActiveHDLInstance
23@export
24class RivieraPRO(Tool):
25 _instanceClass = RivieraPROInstance
28@export
29class Aldec(Vendor):
30 _toolClasses: Dict[str, Tool] = {
31 "Active-HDL": ActiveHDL,
32 "Riviera-PRO": RivieraPRO,
33 }
35 @property
36 def ActiveHDL(self) -> ActiveHDL:
37 return self.__getitem__("Active-HDL")
39 @property
40 def RivieraPRO(self) -> RivieraPRO:
41 return self.__getitem__("Riviera-PRO")