Add or fix license header

Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
This commit is contained in:
Tomasz Michalak 2020-05-06 04:42:15 +02:00 committed by Tim 'mithro' Ansell
parent 155103be6d
commit fbf4dd897d
27 changed files with 209 additions and 21 deletions

View File

@ -6,13 +6,6 @@
# https://opensource.org/licenses/ISC # https://opensource.org/licenses/ISC
# #
# SPDX-License-Identifier: ISC # SPDX-License-Identifier: ISC
# Copyright (C) 2017-2020 The Project X-Ray 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
GITHUB_PROTO=${1:-https} GITHUB_PROTO=${1:-https}
GITHUB_URL=$GITHUB_PROTO://github.com/SymbiFlow/prjxray-db.git GITHUB_URL=$GITHUB_PROTO://github.com/SymbiFlow/prjxray-db.git

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray Authors. # Copyright (C) 2017-2020 The Project X-Ray Authors.
# #
# Use of this source code is governed by a ISC-style # Use of this source code is governed by a ISC-style
@ -5,7 +8,6 @@
# https://opensource.org/licenses/ISC # https://opensource.org/licenses/ISC
# #
# SPDX-License-Identifier: ISC # SPDX-License-Identifier: ISC
#!/usr/bin/env python3
from prjxray import xjson from prjxray import xjson
import json import json

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray Authors. # Copyright (C) 2017-2020 The Project X-Ray Authors.
# #
# Use of this source code is governed by a ISC-style # Use of this source code is governed by a ISC-style
@ -5,7 +8,6 @@
# https://opensource.org/licenses/ISC # https://opensource.org/licenses/ISC
# #
# SPDX-License-Identifier: ISC # SPDX-License-Identifier: ISC
#!/usr/bin/env python3
from prjxray import bitsmaker from prjxray import bitsmaker

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
#!/usr/bin/env python # -*- coding: utf-8 -*-
# Copyright (C) 2017-2020 The Project X-Ray Authors. # Copyright (C) 2017-2020 The Project X-Ray Authors.
# #
# Use of this source code is governed by a ISC-style # Use of this source code is governed by a ISC-style

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
''' # -*- coding: utf-8 -*-
# Copyright (C) 2017-2020 The Project X-Ray Authors. # Copyright (C) 2017-2020 The Project X-Ray Authors.
# #
# Use of this source code is governed by a ISC-style # Use of this source code is governed by a ISC-style
@ -7,6 +7,7 @@
# https://opensource.org/licenses/ISC # https://opensource.org/licenses/ISC
# #
# SPDX-License-Identifier: ISC # SPDX-License-Identifier: ISC
'''
Generate a primitive to place at every I/O Generate a primitive to place at every I/O
Unlike CLB tests, the LFSR for this is inside the ROI, not driving it Unlike CLB tests, the LFSR for this is inside the ROI, not driving it
''' '''

View File

@ -7,10 +7,10 @@
# license that can be found in the LICENSE file or at # license that can be found in the LICENSE file or at
# https://opensource.org/licenses/ISC # https://opensource.org/licenses/ISC
# #
# SPDX-License-Identifier: ISC
# https://symbiflow.github.io/prjxray-db/ # https://symbiflow.github.io/prjxray-db/
# https://symbiflow.github.io/prjxray-db/artix7/ # https://symbiflow.github.io/prjxray-db/artix7/
#
# SPDX-License-Identifier: ISC
import os, sys, json, re import os, sys, json, re
from io import StringIO from io import StringIO

View File

@ -1,3 +1,13 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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
""" """
This script performs the analysis of disassembled bitstream and design information. This script performs the analysis of disassembled bitstream and design information.
It correlates presence/absence of particular fasm features in the bitstream It correlates presence/absence of particular fasm features in the bitstream

View File

@ -1,3 +1,13 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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 os
import random import random
import json import json

View File

@ -1,3 +1,13 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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
""" """
This script generates code snippets for cell definition, technology mapping and This script generates code snippets for cell definition, technology mapping and
VPR architecture definition. It reads correlation of IOB fasm features with VPR architecture definition. It reads correlation of IOB fasm features with

View File

@ -1,4 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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
""" """
This script receives and parses data generated by the "histogram" test design. This script receives and parses data generated by the "histogram" test design.
""" """

View File

@ -1,4 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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
''' '''
This script generates a verilog ROM module that contains data to be transmitted This script generates a verilog ROM module that contains data to be transmitted
and received. The data is random. and received. The data is random.

View File

@ -1,7 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr> #
# License: BSD # Copyright (C) 2017-2020 The Project X-Ray 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 argparse import argparse

View File

@ -1,7 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This file is Copyright (c) 2015-2019 Florent Kermarrec <florent@enjoy-digital.fr> #
# License: BSD # Copyright (C) 2017-2020 The Project X-Ray 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 argparse import argparse

View File

@ -1,3 +1,13 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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
""" Generates a missing feature/bit report for LiteX design. """ Generates a missing feature/bit report for LiteX design.
This script is fairly fragile, because it depends on the specific observation This script is fairly fragile, because it depends on the specific observation

View File

@ -1,3 +1,13 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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
""" Generates a missing feature/bit report for LiteX design. """ Generates a missing feature/bit report for LiteX design.
This script is fairly fragile, because it depends on the specific observation This script is fairly fragile, because it depends on the specific observation

View File

@ -1,4 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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
# This file is Copyright (c) 2015-2020 Florent Kermarrec <florent@enjoy-digital.fr> # This file is Copyright (c) 2015-2020 Florent Kermarrec <florent@enjoy-digital.fr>
# License: BSD # License: BSD

View File

@ -1,3 +1,13 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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
dfii_control_sel = 0x01 dfii_control_sel = 0x01
dfii_control_cke = 0x02 dfii_control_cke = 0x02
dfii_control_odt = 0x04 dfii_control_odt = 0x04

View File

@ -1,4 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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 sys
import time import time

View File

@ -1,4 +1,13 @@
#!/bin/python #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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
''' '''
Extract the frames from the output of the prjxray bitread tool. Extract the frames from the output of the prjxray bitread tool.
''' '''

View File

@ -1,4 +1,13 @@
#!/bin/python #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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
''' '''
Extract the frames from the output of the prjxray bitread tool. Extract the frames from the output of the prjxray bitread tool.
''' '''

View File

@ -1,3 +1,13 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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 xjson import xjson
import csv import csv
import argparse import argparse

View File

@ -1,4 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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 subprocess import subprocess
import demo_sw_led_fasm import demo_sw_led_fasm

View File

@ -1,4 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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 sys
import os import os

View File

@ -1,4 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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 unittest import unittest
import demo_sw_led import demo_sw_led

View File

@ -1,3 +1,11 @@
#!/bin/bash
# Copyright (C) 2017-2020 The Project X-Ray 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
export XRAY_DATABASE="artix7" export XRAY_DATABASE="artix7"
export XRAY_PART="xc7a100tfgg676-1" export XRAY_PART="xc7a100tfgg676-1"
export XRAY_ROI_FRAMES="0x00000000:0xffffffff" export XRAY_ROI_FRAMES="0x00000000:0xffffffff"

View File

@ -1,3 +1,14 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2020 The Project X-Ray 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 setuptools import setuptools
with open("README.md", "r") as fh: with open("README.md", "r") as fh:

View File

@ -1,4 +1,12 @@
#!/usr/bin/env tclsh #!/usr/bin/env tclsh
#
# Copyright (C) 2017-2020 The Project X-Ray 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: https://gist.github.com/yyamasak/af250f7ca74e18526734#file-reformat-tcl-L10 # From: https://gist.github.com/yyamasak/af250f7ca74e18526734#file-reformat-tcl-L10
# Which is based on https://wiki.tcl-lang.org/page/Reformatting+Tcl+code+indentation # Which is based on https://wiki.tcl-lang.org/page/Reformatting+Tcl+code+indentation
# See for licensing # See for licensing