Coverage for pyEDAA/ToolSetup/OpenSource/__init__.py: 88%
16 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
6from ..OpenSource.GHDL import GHDL
7from ..OpenSource.GTKWave import GTKWave
10@export
11class OpenSource(Vendor):
12 _vendorName = "Open Source"
13 _vendorKey = "OpenSource"
14 _toolClasses: Dict[str, Tool] = {
15 "GHDL": GHDL,
16 "GTKWave": GTKWave,
17 }
19 @property
20 def GHDL(self) -> GHDL:
21 return self.__getitem__("GHDL")
23 @property
24 def GTKWave(self) -> GTKWave:
25 return self.__getitem__("GTKWave")