diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-06-18 00:10:15 +0200 |
---|---|---|
committer | Unai Martinez-Corral <38422348+umarcor@users.noreply.github.com> | 2021-06-18 00:11:14 +0100 |
commit | 36e34666c3b3817a5422d116a27f37f80de1cba0 (patch) | |
tree | 6ef213714d9fda636fa98bf2cdae4ccb0403c65d /pyGHDL/dom | |
parent | 5ab32d4291fb3ec9a5f35224b0d6858349723711 (diff) | |
download | ghdl-36e34666c3b3817a5422d116a27f37f80de1cba0.tar.gz ghdl-36e34666c3b3817a5422d116a27f37f80de1cba0.tar.bz2 ghdl-36e34666c3b3817a5422d116a27f37f80de1cba0.zip |
Added missing file headers.
Diffstat (limited to 'pyGHDL/dom')
-rw-r--r-- | pyGHDL/dom/Misc.py | 3 | ||||
-rw-r--r-- | pyGHDL/dom/_Translate.py | 35 | ||||
-rw-r--r-- | pyGHDL/dom/_Utils.py | 32 |
3 files changed, 66 insertions, 4 deletions
diff --git a/pyGHDL/dom/Misc.py b/pyGHDL/dom/Misc.py index 837234a9a..6ef66fcf0 100644 --- a/pyGHDL/dom/Misc.py +++ b/pyGHDL/dom/Misc.py @@ -38,10 +38,8 @@ from pathlib import Path from typing import Any -import pyGHDL.libghdl.utils from pydecor import export -from pyGHDL.dom._Utils import GetIirKindOfNode from pyVHDLModel.VHDLModel import Design as VHDLModel_Design from pyVHDLModel.VHDLModel import Library as VHDLModel_Library from pyVHDLModel.VHDLModel import Document as VHDLModel_Document @@ -56,6 +54,7 @@ from pyGHDL.libghdl import ( ) from pyGHDL.libghdl.vhdl import nodes, sem_lib +from pyGHDL.dom._Utils import GetIirKindOfNode from pyGHDL.dom.Common import DOMException, GHDLMixin from pyGHDL.dom.DesignUnit import ( Entity, diff --git a/pyGHDL/dom/_Translate.py b/pyGHDL/dom/_Translate.py index 09cae55f9..76e39f09f 100644 --- a/pyGHDL/dom/_Translate.py +++ b/pyGHDL/dom/_Translate.py @@ -1,10 +1,41 @@ +# ============================================================================= +# ____ _ _ ____ _ _ +# _ __ _ _ / ___| | | | _ \| | __| | ___ _ __ ___ +# | '_ \| | | | | _| |_| | | | | | / _` |/ _ \| '_ ` _ \ +# | |_) | |_| | |_| | _ | |_| | |___ | (_| | (_) | | | | | | +# | .__/ \__, |\____|_| |_|____/|_____(_)__,_|\___/|_| |_| |_| +# |_| |___/ +# ============================================================================= +# Authors: +# Patrick Lehmann +# +# Package module: DOM: Interface items (e.g. generic or port) +# +# License: +# ============================================================================ +# Copyright (C) 2019-2021 Tristan Gingold +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <gnu.org/licenses>. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ============================================================================ from typing import List - from pydecor import export from pyVHDLModel.VHDLModel import Constraint, Direction, Expression, SubTypeOrSymbol -from pyGHDL.libghdl import utils, name_table +from pyGHDL.libghdl import utils from pyGHDL.libghdl.utils import flist_iter from pyGHDL.libghdl.vhdl import nodes from pyGHDL.dom._Utils import NodeToName, GetIirKindOfNode diff --git a/pyGHDL/dom/_Utils.py b/pyGHDL/dom/_Utils.py index b74bdfa96..dbbb69e81 100644 --- a/pyGHDL/dom/_Utils.py +++ b/pyGHDL/dom/_Utils.py @@ -1,3 +1,35 @@ +# ============================================================================= +# ____ _ _ ____ _ _ +# _ __ _ _ / ___| | | | _ \| | __| | ___ _ __ ___ +# | '_ \| | | | | _| |_| | | | | | / _` |/ _ \| '_ ` _ \ +# | |_) | |_| | |_| | _ | |_| | |___ | (_| | (_) | | | | | | +# | .__/ \__, |\____|_| |_|____/|_____(_)__,_|\___/|_| |_| |_| +# |_| |___/ +# ============================================================================= +# Authors: +# Patrick Lehmann +# +# Package module: DOM: Interface items (e.g. generic or port) +# +# License: +# ============================================================================ +# Copyright (C) 2019-2021 Tristan Gingold +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <gnu.org/licenses>. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# ============================================================================ from pydecor import export from pyVHDLModel.VHDLModel import Mode |