Coverage for pyEDAA/ToolSetup/SiemensEDA/__init__.py: 89%
19 statements
« prev ^ index » next coverage.py v7.15.1, created at 2026-07-13 18:11 +0000
« prev ^ index » next coverage.py v7.15.1, created at 2026-07-13 18:11 +0000
1# ==================================================================================================================== #
2# _____ ____ _ _ _____ _ ____ _ #
3# _ __ _ _| ____| _ \ / \ / \ |_ _|__ ___ | / ___| ___| |_ _ _ _ __ #
4# | '_ \| | | | _| | | | |/ _ \ / _ \ | |/ _ \ / _ \| \___ \ / _ \ __| | | | '_ \ #
5# | |_) | |_| | |___| |_| / ___ \ / ___ \ _| | (_) | (_) | |___) | __/ |_| |_| | |_) | #
6# | .__/ \__, |_____|____/_/ \_\/_/ \_(_)_|\___/ \___/|_|____/ \___|\__|\__,_| .__/ #
7# |_| |___/ |_| #
8# ==================================================================================================================== #
9# Authors: #
10# Patrick Lehmann #
11# #
12# License: #
13# ==================================================================================================================== #
14# Copyright 2021-2026 Patrick Lehmann - Bötzingen, Germany #
15# #
16# Licensed under the Apache License, Version 2.0 (the "License"); #
17# you may not use this file except in compliance with the License. #
18# You may obtain a copy of the License at #
19# #
20# http://www.apache.org/licenses/LICENSE-2.0 #
21# #
22# Unless required by applicable law or agreed to in writing, software #
23# distributed under the License is distributed on an "AS IS" BASIS, #
24# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
25# See the License for the specific language governing permissions and #
26# limitations under the License. #
27# #
28# SPDX-License-Identifier: Apache-2.0 #
29# ==================================================================================================================== #
30#
31from typing import Dict
33from pyTooling.Decorators import export
35from .. import Tool, Vendor
38@export
39class ModelSim(Tool):
40 pass
43@export
44class QuestaSim(Tool):
45 pass
48@export
49class SiemensEDA(Vendor):
50 _toolClasses: Dict[str, Tool] = {
51 "ModelSim": ModelSim,
52 "QuestaSim": QuestaSim,
53 }
55 @property
56 def ModelSim(self) -> ModelSim:
57 return self.__getitem__("ModelSim")
59 @property
60 def QuestaSim(self) -> QuestaSim:
61 return self.__getitem__("QuestaSim")
64MentorGraphics = SiemensEDA