diff --git a/.github/workflows/check_license.sh b/.github/workflows/check_license.sh new file mode 100755 index 0000000000000..2f9a2380d297f --- /dev/null +++ b/.github/workflows/check_license.sh @@ -0,0 +1,76 @@ +#!/bin/bash + +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + +set -e + +echo +echo "===========================" +echo "Check SPDX identifier" +echo "===========================" +echo + +ERROR_FILES="" +FILES_TO_CHECK=`find . \ + -type f \( -name '*.sh' -o -name '*.py' -o -name 'Makefile' -o -name '*.v' \) \ + \( -not -path "*/.*/*" \) \ + \( -not -path "*/build/*" \) \ + \( -not -path "*/env/*" \) \ + \( -not -path "*/src/*" \) \ + \( -not -path "*/third_party/*" \) \ + \( -not -path "*/*/__init__.py" \) \ + \( -not -path "./miniconda.sh" \) | sort` + +for file in $FILES_TO_CHECK; do + echo "Checking $file" + grep -q "SPDX-License-Identifier" $file || ERROR_FILES="$ERROR_FILES $file" +done + +if [ ! -z "$ERROR_FILES" ]; then + for file in $ERROR_FILES; do + echo "ERROR: $file does not have license information." + done + exit 1 +fi + +THIRD_PARTY_DIRS=$(shopt -s nullglob; echo third_party/{cores,tools,tests}/*) +ERROR_NO_LICENSE="" + +if [ -z "$THIRD_PARTY_DIRS" ]; then + exit 0 +fi + +echo +echo "===========================" +echo "Check third party LICENSE" +echo "===========================" +echo + +function check_if_submodule { + for submodule in `git submodule --quiet foreach 'echo $sm_path'`; do + if [ "$1" == "$submodule" ]; then + return 1 + fi + done +} + +for dir in $THIRD_PARTY_DIRS; do + # Checks if we are not in a submodule + if check_if_submodule $dir; then + echo "Checking $dir" + [ -f $dir/LICENSE ] || ERROR_NO_LICENSE="$ERROR_NO_LICENSE $dir" + fi +done + +if [ ! -z "$ERROR_NO_LICENSE" ]; then + for dir in $ERROR_NO_LICENSE; do + echo "ERROR: $dir does not have the LICENSE file." + done + exit 1 +fi diff --git a/.github/workflows/sv-tests-ci.yml b/.github/workflows/sv-tests-ci.yml index 81e9f133aebcf..6eaaa33341f00 100644 --- a/.github/workflows/sv-tests-ci.yml +++ b/.github/workflows/sv-tests-ci.yml @@ -8,11 +8,13 @@ on: jobs: Test: - name: "Python PEP8 checks" + name: "Code Quality Checks" runs-on: ubuntu-18.04 steps: - name: Checkout code uses: actions/checkout@v2 + with: + submodules: true - uses: actions/setup-python@v2 with: python-version: 3.7 @@ -25,6 +27,10 @@ jobs: - name: Test run: test $(git status --porcelain | wc -l) -eq 0 || { git diff; false; } + - name: License + run: + ./.github/workflows/check_license.sh + Run: strategy: fail-fast: false diff --git a/.gitmodules b/.gitmodules index 3b8b542d0e1a9..9bfd8887101b5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -63,8 +63,7 @@ url = https://github.com/lowRISC/opentitan.git [submodule "third_party/cores/black-parrot"] path = third_party/cores/black-parrot - url = https://github.com/black-parrot/black-parrot - update = none + url = https://github.com/black-parrot/black-parrot [submodule "third_party/tests/easyUVM"] path = third_party/tests/easyUVM url = https://github.com/antmicro/easyUVM.git diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000000000..32e34f5806f10 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,15 @@ +# This is the list of sv-tests's significant contributors. +# +# This does not necessarily list everyone who has contributed code, +# especially since many employees of one corporation may be contributing. +# To see the full list of contributors, see the revision history in +# source control. +Antmicro +Google LLC + +Ahmad Hegazy +Fabian Schuiki +Mike Popoloski +Naoya Hatta +Wilson Snyder +Zachary Snow diff --git a/COPYING b/LICENSE similarity index 94% rename from COPYING rename to LICENSE index dd9bfa0f8edd7..9be615e01e8f4 100644 --- a/COPYING +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (C) 2019 The Symbiflow Authors +Copyright (C) 2020 The Symbiflow Authors Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above diff --git a/Makefile b/Makefile index 64cd0b4b4488c..43ea21a6e6db3 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,11 @@ +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + all: report OUT_DIR ?= ./out/ diff --git a/generators/ariane b/generators/ariane index 2dfe5269096cc..0455219edb2a2 100755 --- a/generators/ariane +++ b/generators/ariane @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import sys import os diff --git a/generators/black-parrot b/generators/black-parrot index dea2390e3e8f9..6ec919fb1aadd 100755 --- a/generators/black-parrot +++ b/generators/black-parrot @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import os import re diff --git a/generators/easyUVM b/generators/easyUVM index 22c24edaf9f94..5ec319841684d 100755 --- a/generators/easyUVM +++ b/generators/easyUVM @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import os import sys diff --git a/generators/fx68k b/generators/fx68k index 3d16a2701ff4f..336c7ee38f10e 100755 --- a/generators/fx68k +++ b/generators/fx68k @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import os import sys diff --git a/generators/ivtest b/generators/ivtest index 86427ae98045c..5eaee0b1ddb82 100755 --- a/generators/ivtest +++ b/generators/ivtest @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import re import os diff --git a/generators/path_generator b/generators/path_generator index 35f1f99ff1a87..0e65fc7eb616f 100755 --- a/generators/path_generator +++ b/generators/path_generator @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import os import sys diff --git a/generators/rsd b/generators/rsd index 9313e6bd3010b..41dbadb118e2a 100755 --- a/generators/rsd +++ b/generators/rsd @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import os import sys diff --git a/generators/scr1 b/generators/scr1 index 5185a0398eda5..c67eb28b59fe0 100755 --- a/generators/scr1 +++ b/generators/scr1 @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import os import sys diff --git a/generators/swerv b/generators/swerv index 8687f6bebf794..a44b4928e8202 100755 --- a/generators/swerv +++ b/generators/swerv @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import os import sys diff --git a/generators/taiga b/generators/taiga index 2321b5844cc0f..e34276e21ab9f 100755 --- a/generators/taiga +++ b/generators/taiga @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import os import sys diff --git a/generators/template_generator b/generators/template_generator index d07f2e84a0046..350482954ec6c 100755 --- a/generators/template_generator +++ b/generators/template_generator @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import os import sys diff --git a/generators/yosys_hana b/generators/yosys_hana index 8ee915118ccc5..c827359f324a5 100755 --- a/generators/yosys_hana +++ b/generators/yosys_hana @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import os import sys diff --git a/third_party/tests/axi_vip/LICENSE b/third_party/tests/axi_vip/LICENSE new file mode 100644 index 0000000000000..9be615e01e8f4 --- /dev/null +++ b/third_party/tests/axi_vip/LICENSE @@ -0,0 +1,13 @@ +Copyright (C) 2020 The Symbiflow Authors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/third_party/tests/utd-sv/LICENSE b/third_party/tests/utd-sv/LICENSE new file mode 100644 index 0000000000000..83984fadfafa3 --- /dev/null +++ b/third_party/tests/utd-sv/LICENSE @@ -0,0 +1,14 @@ +Copyright 2019 University of Texas at Dallas +Copyright 2019 William P. Swartz Jr. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/tools/BaseRunner.py b/tools/BaseRunner.py index e32e18d4b0fa1..6876735d53b89 100644 --- a/tools/BaseRunner.py +++ b/tools/BaseRunner.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import psutil import resource import shutil diff --git a/tools/check-runners b/tools/check-runners index 976b84b35fc9b..08123773f8a54 100755 --- a/tools/check-runners +++ b/tools/check-runners @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import os import sys diff --git a/tools/feature-analyzer b/tools/feature-analyzer index db879bf44dcfc..7d0ff63155849 100755 --- a/tools/feature-analyzer +++ b/tools/feature-analyzer @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import re import os diff --git a/tools/logparser.py b/tools/logparser.py index fce8d8bfe9f36..9383c50844ecc 100644 --- a/tools/logparser.py +++ b/tools/logparser.py @@ -1,3 +1,14 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import re diff --git a/tools/runner b/tools/runner index e9cb100863aeb..df5396c52f3a2 100755 --- a/tools/runner +++ b/tools/runner @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC import os import re diff --git a/tools/runners.mk b/tools/runners.mk index 3ca402871a873..e403e89d6c761 100644 --- a/tools/runners.mk +++ b/tools/runners.mk @@ -1,3 +1,11 @@ +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + INSTALL_DIR := $(abspath $(OUT_DIR)/runners/) RDIR := $(abspath third_party/tools) diff --git a/tools/runners/Icarus.py b/tools/runners/Icarus.py index 1885da74bd98b..fffd719bd661a 100644 --- a/tools/runners/Icarus.py +++ b/tools/runners/Icarus.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + from BaseRunner import BaseRunner import os diff --git a/tools/runners/Odin.py b/tools/runners/Odin.py index d369604b43835..0b3078a320ded 100644 --- a/tools/runners/Odin.py +++ b/tools/runners/Odin.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + from BaseRunner import BaseRunner diff --git a/tools/runners/Slang.py b/tools/runners/Slang.py index 1c5121177af58..06f2e1a64f047 100644 --- a/tools/runners/Slang.py +++ b/tools/runners/Slang.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + from BaseRunner import BaseRunner diff --git a/tools/runners/Surelog.py b/tools/runners/Surelog.py index d7eafea49a9c3..349f668ffa6e7 100644 --- a/tools/runners/Surelog.py +++ b/tools/runners/Surelog.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + from BaseRunner import BaseRunner diff --git a/tools/runners/Sv2v_zachjs.py b/tools/runners/Sv2v_zachjs.py index 3c2a1541cf7bc..ca813816e4a1c 100644 --- a/tools/runners/Sv2v_zachjs.py +++ b/tools/runners/Sv2v_zachjs.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + from BaseRunner import BaseRunner diff --git a/tools/runners/UhdmVerilator.py b/tools/runners/UhdmVerilator.py index d4d0cfa24dcd0..322166f0b6aad 100644 --- a/tools/runners/UhdmVerilator.py +++ b/tools/runners/UhdmVerilator.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import os import shutil diff --git a/tools/runners/UhdmYosys.py b/tools/runners/UhdmYosys.py index b8d926fff09bb..cabfc836f5b4f 100644 --- a/tools/runners/UhdmYosys.py +++ b/tools/runners/UhdmYosys.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import os import shutil diff --git a/tools/runners/Verible.py b/tools/runners/Verible.py index d92bfda37fd06..299725ae9d851 100644 --- a/tools/runners/Verible.py +++ b/tools/runners/Verible.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + from BaseRunner import BaseRunner diff --git a/tools/runners/VeribleExtractor.py b/tools/runners/VeribleExtractor.py index 6e48498ea3e0c..da8b75e421b14 100644 --- a/tools/runners/VeribleExtractor.py +++ b/tools/runners/VeribleExtractor.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + from BaseRunner import BaseRunner import os diff --git a/tools/runners/Verilator.py b/tools/runners/Verilator.py index 7f1efb260eaf5..0ecaffa5a0f45 100644 --- a/tools/runners/Verilator.py +++ b/tools/runners/Verilator.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import os import shutil diff --git a/tools/runners/Yosys.py b/tools/runners/Yosys.py index 214f60d57e8f0..cb237f6b1f31c 100644 --- a/tools/runners/Yosys.py +++ b/tools/runners/Yosys.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import os from BaseRunner import BaseRunner diff --git a/tools/runners/YosysSv.py b/tools/runners/YosysSv.py index a4d35d6cc20c2..7bee039627fc0 100644 --- a/tools/runners/YosysSv.py +++ b/tools/runners/YosysSv.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import os from BaseRunner import BaseRunner diff --git a/tools/runners/moore.py b/tools/runners/moore.py index 491193fbc948b..f7e7ae46f0cc5 100644 --- a/tools/runners/moore.py +++ b/tools/runners/moore.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import re from BaseRunner import BaseRunner diff --git a/tools/runners/moore_parse.py b/tools/runners/moore_parse.py index 5f7f1033e94b5..9f1021f4e19e4 100644 --- a/tools/runners/moore_parse.py +++ b/tools/runners/moore_parse.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + from runners.moore import moore diff --git a/tools/runners/sv_parser.py b/tools/runners/sv_parser.py index 41434e6939049..5fad767e958d3 100644 --- a/tools/runners/sv_parser.py +++ b/tools/runners/sv_parser.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + from BaseRunner import BaseRunner diff --git a/tools/runners/tree_sitter_verilog.py b/tools/runners/tree_sitter_verilog.py index 0e97802cd875a..1565223508d9a 100644 --- a/tools/runners/tree_sitter_verilog.py +++ b/tools/runners/tree_sitter_verilog.py @@ -1,3 +1,14 @@ +#!/bin/false python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import os import sys import resource diff --git a/tools/sv-report b/tools/sv-report index 222dd85c8b8b7..aeb1ce19648db 100755 --- a/tools/sv-report +++ b/tools/sv-report @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC from pygments.formatters import HtmlFormatter from pygments import lexers, highlight