From 950d7534ec367b31fce09a25fd8cb995b178337d Mon Sep 17 00:00:00 2001 From: Tomasz Michalak Date: Thu, 16 Apr 2020 10:06:01 +0200 Subject: [PATCH] Add licensing header to fuzzers' python scripts Signed-off-by: Tomasz Michalak Signed-off-by: Tim 'mithro' Ansell --- fuzzers/001-part-yaml/add_iobanks.py | 9 +++++++++ fuzzers/005-tilegrid/add_tdb.py | 7 +++++++ fuzzers/005-tilegrid/bram/top.py | 10 ++++++++++ fuzzers/005-tilegrid/bram_block/top.py | 10 ++++++++++ fuzzers/005-tilegrid/bram_int/top.py | 10 ++++++++++ fuzzers/005-tilegrid/cfg/top.py | 10 ++++++++++ fuzzers/005-tilegrid/cfg_int/top.py | 10 ++++++++++ fuzzers/005-tilegrid/clb/top.py | 10 ++++++++++ fuzzers/005-tilegrid/clb_int/top.py | 10 ++++++++++ fuzzers/005-tilegrid/clk_bufg/top.py | 10 ++++++++++ fuzzers/005-tilegrid/clk_hrow/top.py | 10 ++++++++++ fuzzers/005-tilegrid/dsp/top.py | 10 ++++++++++ fuzzers/005-tilegrid/dsp_int/top.py | 10 ++++++++++ fuzzers/005-tilegrid/fifo_int/top.py | 10 ++++++++++ fuzzers/005-tilegrid/fuzzaddr/generate.py | 7 +++++++ fuzzers/005-tilegrid/generate.py | 9 +++++++++ fuzzers/005-tilegrid/generate_full.py | 9 +++++++++ fuzzers/005-tilegrid/hclk_cmt/top.py | 10 ++++++++++ fuzzers/005-tilegrid/hclk_ioi/top.py | 10 ++++++++++ fuzzers/005-tilegrid/iob/top.py | 10 ++++++++++ fuzzers/005-tilegrid/iob_int/top.py | 10 ++++++++++ fuzzers/005-tilegrid/ioi/top.py | 10 ++++++++++ fuzzers/005-tilegrid/mmcm/top.py | 10 ++++++++++ fuzzers/005-tilegrid/monitor/top.py | 10 ++++++++++ fuzzers/005-tilegrid/monitor_int/top.py | 10 ++++++++++ fuzzers/005-tilegrid/orphan_int_column/top.py | 10 ++++++++++ fuzzers/005-tilegrid/pll/top.py | 10 ++++++++++ fuzzers/005-tilegrid/ps7_int/top.py | 10 ++++++++++ fuzzers/005-tilegrid/util.py | 9 +++++++++ fuzzers/007-timing/bel/carry4delays.py | 9 +++++++++ fuzzers/007-timing/bel/fixup_timings_txt.py | 9 +++++++++ fuzzers/007-timing/bel/tim2json.py | 9 +++++++++ fuzzers/007-timing/routing-bels/tim2sdf.py | 9 +++++++++ fuzzers/010-clb-lutinit/generate.py | 9 +++++++++ fuzzers/011-clb-ffconfig/generate.py | 9 +++++++++ fuzzers/011-clb-ffconfig/prims.py | 10 ++++++++++ fuzzers/011-clb-ffconfig/top.py | 10 ++++++++++ fuzzers/012-clb-n5ffmux/generate.py | 9 +++++++++ fuzzers/012-clb-n5ffmux/top.py | 10 ++++++++++ fuzzers/013-clb-ncy0/generate.py | 9 +++++++++ fuzzers/013-clb-ncy0/top.py | 10 ++++++++++ fuzzers/014-clb-ffsrcemux/generate.py | 9 +++++++++ fuzzers/014-clb-ffsrcemux/top.py | 10 ++++++++++ fuzzers/015-clb-nffmux/generate.py | 9 +++++++++ fuzzers/015-clb-nffmux/top.py | 10 ++++++++++ fuzzers/016-clb-noutmux/generate.py | 9 +++++++++ fuzzers/016-clb-noutmux/top.py | 10 ++++++++++ fuzzers/017-clb-precyinit/generate.py | 9 +++++++++ fuzzers/017-clb-precyinit/top.py | 10 ++++++++++ fuzzers/018-clb-ram/generate.py | 9 +++++++++ fuzzers/018-clb-ram/top.py | 10 ++++++++++ fuzzers/019-clb-ndi1mux/generate.py | 9 +++++++++ fuzzers/019-clb-ndi1mux/top.py | 10 ++++++++++ fuzzers/025-bram-config/generate.py | 9 +++++++++ fuzzers/025-bram-config/top.py | 10 ++++++++++ fuzzers/026-bram-data/generate.py | 9 +++++++++ fuzzers/026-bram-data/top.py | 8 ++++++++ fuzzers/027-bram36-config/generate.py | 9 +++++++++ fuzzers/027-bram36-config/top.py | 10 ++++++++++ fuzzers/028-fifo-config/generate.py | 9 +++++++++ fuzzers/028-fifo-config/top.py | 10 ++++++++++ fuzzers/029-bram-fifo-config/generate.py | 9 +++++++++ fuzzers/029-bram-fifo-config/top.py | 10 ++++++++++ fuzzers/030-iob/check_results.py | 12 +++++++++++- fuzzers/030-iob/generate.py | 9 +++++++++ fuzzers/030-iob/minitest/compare.py | 10 ++++++++++ fuzzers/030-iob/minitest/top.py | 8 ++++++++ fuzzers/030-iob/process_rdb.py | 12 +++++++++++- fuzzers/030-iob/top.py | 10 ++++++++++ fuzzers/031-cmt-mmcm/generate.py | 9 +++++++++ fuzzers/031-cmt-mmcm/top.py | 10 ++++++++++ fuzzers/032-cmt-pll/generate.py | 9 +++++++++ fuzzers/032-cmt-pll/top.py | 10 ++++++++++ fuzzers/032-cmt-pll/write_pll_reg.py | 10 ++++++++++ fuzzers/033-mon-xadc/generate.py | 9 +++++++++ fuzzers/033-mon-xadc/top.py | 10 ++++++++++ fuzzers/034-cmt-pll-pips/fixup_and_group.py | 9 +++++++++ fuzzers/034-cmt-pll-pips/generate.py | 9 +++++++++ fuzzers/034-cmt-pll-pips/top.py | 10 ++++++++++ fuzzers/035-iob-ilogic/generate.py | 9 +++++++++ fuzzers/035-iob-ilogic/top.py | 10 ++++++++++ fuzzers/035a-iob-idelay/generate.py | 9 +++++++++ fuzzers/035a-iob-idelay/top.py | 9 +++++++++ fuzzers/036-iob-ologic/generate.py | 9 +++++++++ fuzzers/036-iob-ologic/top.py | 10 ++++++++++ fuzzers/037-iob-pips/generate.py | 9 +++++++++ fuzzers/037-iob-pips/top.py | 10 ++++++++++ fuzzers/038-cfg/add_constant_bits.py | 10 ++++++++++ fuzzers/038-cfg/generate.py | 9 +++++++++ fuzzers/038-cfg/top.py | 10 ++++++++++ fuzzers/039-hclk-config/generate.py | 9 +++++++++ fuzzers/039-hclk-config/top.py | 10 ++++++++++ fuzzers/040-clk-hrow-config/generate.py | 9 +++++++++ fuzzers/040-clk-hrow-config/top.py | 10 ++++++++++ fuzzers/041-clk-hrow-pips/generate.py | 9 +++++++++ fuzzers/041-clk-hrow-pips/top.py | 10 ++++++++++ fuzzers/042-clk-bufg-config/generate.py | 9 +++++++++ fuzzers/042-clk-bufg-config/top.py | 10 ++++++++++ fuzzers/043-clk-rebuf-pips/generate.py | 9 +++++++++ fuzzers/043-clk-rebuf-pips/top.py | 10 ++++++++++ fuzzers/044-clk-bufg-pips/build_zdb.py | 12 +++++++++++- fuzzers/044-clk-bufg-pips/generate.py | 9 +++++++++ fuzzers/044-clk-bufg-pips/top.py | 10 ++++++++++ fuzzers/045-hclk-cmt-pips/generate.py | 9 +++++++++ fuzzers/045-hclk-cmt-pips/top.py | 10 ++++++++++ fuzzers/046-clk-bufg-muxed-pips/build_zdb.py | 12 +++++++++++- fuzzers/046-clk-bufg-muxed-pips/generate.py | 9 +++++++++ fuzzers/046-clk-bufg-muxed-pips/top.py | 10 ++++++++++ fuzzers/047-hclk-ioi-pips/generate.py | 9 +++++++++ fuzzers/047-hclk-ioi-pips/top.py | 10 ++++++++++ fuzzers/047a-hclk-idelayctrl-pips/generate.py | 9 +++++++++ fuzzers/047a-hclk-idelayctrl-pips/top.py | 10 ++++++++++ fuzzers/049-int-imux-gfan/generate.py | 9 +++++++++ fuzzers/049-int-imux-gfan/top.py | 10 ++++++++++ fuzzers/050-pip-seed/generate.py | 9 +++++++++ fuzzers/052-pip-clkin/generate.py | 9 +++++++++ fuzzers/053-pip-ctrlin/generate.py | 9 +++++++++ fuzzers/055-pip-gnd/generate.py | 9 +++++++++ fuzzers/057-pip-bi/generate.py | 9 +++++++++ fuzzers/058-pip-hclk/generate.py | 9 +++++++++ fuzzers/060-bram-cascades/generate.py | 9 +++++++++ fuzzers/060-bram-cascades/top.py | 10 ++++++++++ fuzzers/060-bram-cascades/unmanagle_pips.py | 11 ++++++++++- fuzzers/072-ordered_wires/run_fuzzer.py | 10 ++++++++++ fuzzers/074-dump_all/analyze_errors.py | 10 ++++++++++ fuzzers/074-dump_all/cleanup_site_pins.py | 10 ++++++++++ fuzzers/074-dump_all/create_node_tree.py | 10 ++++++++++ fuzzers/074-dump_all/generate_grid.py | 10 ++++++++++ fuzzers/074-dump_all/generate_ignore_list.py | 10 ++++++++++ fuzzers/074-dump_all/reduce_site_types.py | 10 ++++++++++ fuzzers/074-dump_all/reduce_tile_types.py | 12 +++++++++++- fuzzers/074-dump_all/run_fuzzer.py | 10 ++++++++++ fuzzers/076-ps7/make_ports.py | 9 +++++++++ fuzzers/100-dsp-mskpat/generate.py | 9 +++++++++ fuzzers/100-dsp-mskpat/top.py | 10 ++++++++++ fuzzers/int_generate.py | 9 +++++++++ fuzzers/int_loop_check.py | 9 +++++++++ fuzzers/int_maketodo.py | 9 +++++++++ fuzzers/run_fuzzer.py | 9 +++++++++ 139 files changed, 1326 insertions(+), 6 deletions(-) diff --git a/fuzzers/001-part-yaml/add_iobanks.py b/fuzzers/001-part-yaml/add_iobanks.py index 503ab620..8a9d4afb 100644 --- a/fuzzers/001-part-yaml/add_iobanks.py +++ b/fuzzers/001-part-yaml/add_iobanks.py @@ -1,4 +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 ''' Script for adding the IO Banks information to the Part's generated JSON. ''' diff --git a/fuzzers/005-tilegrid/add_tdb.py b/fuzzers/005-tilegrid/add_tdb.py index 45875463..bdc46128 100644 --- a/fuzzers/005-tilegrid/add_tdb.py +++ b/fuzzers/005-tilegrid/add_tdb.py @@ -1,3 +1,10 @@ +# 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 #!/usr/bin/env python3 from prjxray import xjson diff --git a/fuzzers/005-tilegrid/bram/top.py b/fuzzers/005-tilegrid/bram/top.py index 030d7768..201d8a0b 100644 --- a/fuzzers/005-tilegrid/bram/top.py +++ b/fuzzers/005-tilegrid/bram/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/bram_block/top.py b/fuzzers/005-tilegrid/bram_block/top.py index 40e50a2f..c2e61d63 100644 --- a/fuzzers/005-tilegrid/bram_block/top.py +++ b/fuzzers/005-tilegrid/bram_block/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/bram_int/top.py b/fuzzers/005-tilegrid/bram_int/top.py index 8b99e2fb..151ba0e3 100644 --- a/fuzzers/005-tilegrid/bram_int/top.py +++ b/fuzzers/005-tilegrid/bram_int/top.py @@ -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 random import itertools diff --git a/fuzzers/005-tilegrid/cfg/top.py b/fuzzers/005-tilegrid/cfg/top.py index 99a12acc..4e436853 100644 --- a/fuzzers/005-tilegrid/cfg/top.py +++ b/fuzzers/005-tilegrid/cfg/top.py @@ -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 random #random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/cfg_int/top.py b/fuzzers/005-tilegrid/cfg_int/top.py index d726bc16..f73722dd 100644 --- a/fuzzers/005-tilegrid/cfg_int/top.py +++ b/fuzzers/005-tilegrid/cfg_int/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/clb/top.py b/fuzzers/005-tilegrid/clb/top.py index 9b32b4dd..860b892e 100644 --- a/fuzzers/005-tilegrid/clb/top.py +++ b/fuzzers/005-tilegrid/clb/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/clb_int/top.py b/fuzzers/005-tilegrid/clb_int/top.py index 87d5ee1e..88f675ee 100644 --- a/fuzzers/005-tilegrid/clb_int/top.py +++ b/fuzzers/005-tilegrid/clb_int/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/clk_bufg/top.py b/fuzzers/005-tilegrid/clk_bufg/top.py index 6f821ff8..b32ddb80 100644 --- a/fuzzers/005-tilegrid/clk_bufg/top.py +++ b/fuzzers/005-tilegrid/clk_bufg/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/clk_hrow/top.py b/fuzzers/005-tilegrid/clk_hrow/top.py index 8a724427..a52a1586 100644 --- a/fuzzers/005-tilegrid/clk_hrow/top.py +++ b/fuzzers/005-tilegrid/clk_hrow/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/dsp/top.py b/fuzzers/005-tilegrid/dsp/top.py index 6bd4dbeb..8c44434c 100644 --- a/fuzzers/005-tilegrid/dsp/top.py +++ b/fuzzers/005-tilegrid/dsp/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/dsp_int/top.py b/fuzzers/005-tilegrid/dsp_int/top.py index 3bf8154d..3a1307b6 100644 --- a/fuzzers/005-tilegrid/dsp_int/top.py +++ b/fuzzers/005-tilegrid/dsp_int/top.py @@ -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 random import itertools diff --git a/fuzzers/005-tilegrid/fifo_int/top.py b/fuzzers/005-tilegrid/fifo_int/top.py index 35c9ff5e..85f992c5 100644 --- a/fuzzers/005-tilegrid/fifo_int/top.py +++ b/fuzzers/005-tilegrid/fifo_int/top.py @@ -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 random import itertools diff --git a/fuzzers/005-tilegrid/fuzzaddr/generate.py b/fuzzers/005-tilegrid/fuzzaddr/generate.py index 5282db88..f54bc2d0 100644 --- a/fuzzers/005-tilegrid/fuzzaddr/generate.py +++ b/fuzzers/005-tilegrid/fuzzaddr/generate.py @@ -1,3 +1,10 @@ +# 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 #!/usr/bin/env python3 from prjxray import bitsmaker diff --git a/fuzzers/005-tilegrid/generate.py b/fuzzers/005-tilegrid/generate.py index d96533a2..2226d40e 100644 --- a/fuzzers/005-tilegrid/generate.py +++ b/fuzzers/005-tilegrid/generate.py @@ -1,4 +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 from utils import xjson diff --git a/fuzzers/005-tilegrid/generate_full.py b/fuzzers/005-tilegrid/generate_full.py index d8df0ec1..f5a8be4e 100644 --- a/fuzzers/005-tilegrid/generate_full.py +++ b/fuzzers/005-tilegrid/generate_full.py @@ -1,4 +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 copy import json import os diff --git a/fuzzers/005-tilegrid/hclk_cmt/top.py b/fuzzers/005-tilegrid/hclk_cmt/top.py index 2665828e..ae82cdd1 100644 --- a/fuzzers/005-tilegrid/hclk_cmt/top.py +++ b/fuzzers/005-tilegrid/hclk_cmt/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/hclk_ioi/top.py b/fuzzers/005-tilegrid/hclk_ioi/top.py index 63e231ce..2a9eb617 100644 --- a/fuzzers/005-tilegrid/hclk_ioi/top.py +++ b/fuzzers/005-tilegrid/hclk_ioi/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/iob/top.py b/fuzzers/005-tilegrid/iob/top.py index 8656e360..8734755e 100644 --- a/fuzzers/005-tilegrid/iob/top.py +++ b/fuzzers/005-tilegrid/iob/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/iob_int/top.py b/fuzzers/005-tilegrid/iob_int/top.py index bc3485a9..e1d6f8da 100644 --- a/fuzzers/005-tilegrid/iob_int/top.py +++ b/fuzzers/005-tilegrid/iob_int/top.py @@ -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 ''' Generate a primitive to place at every I/O Unlike CLB tests, the LFSR for this is inside the ROI, not driving it diff --git a/fuzzers/005-tilegrid/ioi/top.py b/fuzzers/005-tilegrid/ioi/top.py index 2009a8be..edc56c8b 100644 --- a/fuzzers/005-tilegrid/ioi/top.py +++ b/fuzzers/005-tilegrid/ioi/top.py @@ -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 json import io import os diff --git a/fuzzers/005-tilegrid/mmcm/top.py b/fuzzers/005-tilegrid/mmcm/top.py index f92e862d..2a1a59dc 100644 --- a/fuzzers/005-tilegrid/mmcm/top.py +++ b/fuzzers/005-tilegrid/mmcm/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/monitor/top.py b/fuzzers/005-tilegrid/monitor/top.py index e61eaa49..353f6ffd 100644 --- a/fuzzers/005-tilegrid/monitor/top.py +++ b/fuzzers/005-tilegrid/monitor/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/monitor_int/top.py b/fuzzers/005-tilegrid/monitor_int/top.py index 6e58123e..e4b9c0ee 100644 --- a/fuzzers/005-tilegrid/monitor_int/top.py +++ b/fuzzers/005-tilegrid/monitor_int/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/orphan_int_column/top.py b/fuzzers/005-tilegrid/orphan_int_column/top.py index 85596a15..9616f9db 100644 --- a/fuzzers/005-tilegrid/orphan_int_column/top.py +++ b/fuzzers/005-tilegrid/orphan_int_column/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/pll/top.py b/fuzzers/005-tilegrid/pll/top.py index a31bc7de..f1a8be2a 100644 --- a/fuzzers/005-tilegrid/pll/top.py +++ b/fuzzers/005-tilegrid/pll/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/ps7_int/top.py b/fuzzers/005-tilegrid/ps7_int/top.py index 0f5ef5c9..b104633e 100644 --- a/fuzzers/005-tilegrid/ps7_int/top.py +++ b/fuzzers/005-tilegrid/ps7_int/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/005-tilegrid/util.py b/fuzzers/005-tilegrid/util.py index 303b2909..421f7b3b 100644 --- a/fuzzers/005-tilegrid/util.py +++ b/fuzzers/005-tilegrid/util.py @@ -1,4 +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 from prjxray import util ''' diff --git a/fuzzers/007-timing/bel/carry4delays.py b/fuzzers/007-timing/bel/carry4delays.py index a8b78ef4..c547f745 100755 --- a/fuzzers/007-timing/bel/carry4delays.py +++ b/fuzzers/007-timing/bel/carry4delays.py @@ -1,4 +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 sys, os, argparse from sdf_timing import sdfparse diff --git a/fuzzers/007-timing/bel/fixup_timings_txt.py b/fuzzers/007-timing/bel/fixup_timings_txt.py index 4f1f570f..83852a3c 100644 --- a/fuzzers/007-timing/bel/fixup_timings_txt.py +++ b/fuzzers/007-timing/bel/fixup_timings_txt.py @@ -1,4 +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 argparse diff --git a/fuzzers/007-timing/bel/tim2json.py b/fuzzers/007-timing/bel/tim2json.py index ade19179..620ea2af 100644 --- a/fuzzers/007-timing/bel/tim2json.py +++ b/fuzzers/007-timing/bel/tim2json.py @@ -1,4 +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 re import argparse diff --git a/fuzzers/007-timing/routing-bels/tim2sdf.py b/fuzzers/007-timing/routing-bels/tim2sdf.py index dd9e3f19..216894b6 100644 --- a/fuzzers/007-timing/routing-bels/tim2sdf.py +++ b/fuzzers/007-timing/routing-bels/tim2sdf.py @@ -1,4 +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 argparse import json diff --git a/fuzzers/010-clb-lutinit/generate.py b/fuzzers/010-clb-lutinit/generate.py index ea6ceae3..f4262fc2 100644 --- a/fuzzers/010-clb-lutinit/generate.py +++ b/fuzzers/010-clb-lutinit/generate.py @@ -1,4 +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 sys diff --git a/fuzzers/011-clb-ffconfig/generate.py b/fuzzers/011-clb-ffconfig/generate.py index 7cb03d0e..0c6617b3 100644 --- a/fuzzers/011-clb-ffconfig/generate.py +++ b/fuzzers/011-clb-ffconfig/generate.py @@ -1,4 +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 ''' FDCE Primitive: D Flip-Flop with Clock Enable and Asynchronous Clear FDPE Primitive: D Flip-Flop with Clock Enable and Asynchronous Preset diff --git a/fuzzers/011-clb-ffconfig/prims.py b/fuzzers/011-clb-ffconfig/prims.py index 11f40c22..9a8fbe81 100644 --- a/fuzzers/011-clb-ffconfig/prims.py +++ b/fuzzers/011-clb-ffconfig/prims.py @@ -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 def ones(l): #return l + [x + '_1' for x in l] #return sorted(l + [x + '_1' for x in l]) diff --git a/fuzzers/011-clb-ffconfig/top.py b/fuzzers/011-clb-ffconfig/top.py index e403081a..8cbd569b 100644 --- a/fuzzers/011-clb-ffconfig/top.py +++ b/fuzzers/011-clb-ffconfig/top.py @@ -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, random random.seed(0) from prjxray import util diff --git a/fuzzers/012-clb-n5ffmux/generate.py b/fuzzers/012-clb-n5ffmux/generate.py index aae15bcf..c5152927 100644 --- a/fuzzers/012-clb-n5ffmux/generate.py +++ b/fuzzers/012-clb-n5ffmux/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker diff --git a/fuzzers/012-clb-n5ffmux/top.py b/fuzzers/012-clb-n5ffmux/top.py index a2be2d3d..40f313be 100644 --- a/fuzzers/012-clb-n5ffmux/top.py +++ b/fuzzers/012-clb-n5ffmux/top.py @@ -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, random random.seed(0) from prjxray import util diff --git a/fuzzers/013-clb-ncy0/generate.py b/fuzzers/013-clb-ncy0/generate.py index d1124ba5..0e5b6fd6 100644 --- a/fuzzers/013-clb-ncy0/generate.py +++ b/fuzzers/013-clb-ncy0/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker diff --git a/fuzzers/013-clb-ncy0/top.py b/fuzzers/013-clb-ncy0/top.py index 65949a7f..80406feb 100644 --- a/fuzzers/013-clb-ncy0/top.py +++ b/fuzzers/013-clb-ncy0/top.py @@ -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, random random.seed(0) from prjxray import util diff --git a/fuzzers/014-clb-ffsrcemux/generate.py b/fuzzers/014-clb-ffsrcemux/generate.py index a936f8a8..fab926fb 100644 --- a/fuzzers/014-clb-ffsrcemux/generate.py +++ b/fuzzers/014-clb-ffsrcemux/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker diff --git a/fuzzers/014-clb-ffsrcemux/top.py b/fuzzers/014-clb-ffsrcemux/top.py index e0112629..4040e71c 100644 --- a/fuzzers/014-clb-ffsrcemux/top.py +++ b/fuzzers/014-clb-ffsrcemux/top.py @@ -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 random random.seed(0) import os diff --git a/fuzzers/015-clb-nffmux/generate.py b/fuzzers/015-clb-nffmux/generate.py index 98b442e9..e90a561a 100644 --- a/fuzzers/015-clb-nffmux/generate.py +++ b/fuzzers/015-clb-nffmux/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker from prjxray import util diff --git a/fuzzers/015-clb-nffmux/top.py b/fuzzers/015-clb-nffmux/top.py index 776baf41..777b5480 100644 --- a/fuzzers/015-clb-nffmux/top.py +++ b/fuzzers/015-clb-nffmux/top.py @@ -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, random random.seed(0) from prjxray import util diff --git a/fuzzers/016-clb-noutmux/generate.py b/fuzzers/016-clb-noutmux/generate.py index 07ad3716..62252fe5 100644 --- a/fuzzers/016-clb-noutmux/generate.py +++ b/fuzzers/016-clb-noutmux/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker from prjxray import util diff --git a/fuzzers/016-clb-noutmux/top.py b/fuzzers/016-clb-noutmux/top.py index dd559554..f6f33a8f 100644 --- a/fuzzers/016-clb-noutmux/top.py +++ b/fuzzers/016-clb-noutmux/top.py @@ -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, random random.seed(0) from prjxray import util diff --git a/fuzzers/017-clb-precyinit/generate.py b/fuzzers/017-clb-precyinit/generate.py index cf1a9b34..813ef703 100644 --- a/fuzzers/017-clb-precyinit/generate.py +++ b/fuzzers/017-clb-precyinit/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker diff --git a/fuzzers/017-clb-precyinit/top.py b/fuzzers/017-clb-precyinit/top.py index 2edb311c..3e04a01f 100644 --- a/fuzzers/017-clb-precyinit/top.py +++ b/fuzzers/017-clb-precyinit/top.py @@ -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 random random.seed(0) import os diff --git a/fuzzers/018-clb-ram/generate.py b/fuzzers/018-clb-ram/generate.py index 6f284140..20c79afe 100644 --- a/fuzzers/018-clb-ram/generate.py +++ b/fuzzers/018-clb-ram/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker diff --git a/fuzzers/018-clb-ram/top.py b/fuzzers/018-clb-ram/top.py index c96db4d7..755b7d39 100644 --- a/fuzzers/018-clb-ram/top.py +++ b/fuzzers/018-clb-ram/top.py @@ -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 ''' Need coverage for the following: RAM32X1S_N diff --git a/fuzzers/019-clb-ndi1mux/generate.py b/fuzzers/019-clb-ndi1mux/generate.py index e0ae1d2e..8845995b 100644 --- a/fuzzers/019-clb-ndi1mux/generate.py +++ b/fuzzers/019-clb-ndi1mux/generate.py @@ -1,4 +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 # FIXME: getting two bits # 00_40 31_46 diff --git a/fuzzers/019-clb-ndi1mux/top.py b/fuzzers/019-clb-ndi1mux/top.py index f9ce5224..30b9c386 100644 --- a/fuzzers/019-clb-ndi1mux/top.py +++ b/fuzzers/019-clb-ndi1mux/top.py @@ -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, random random.seed(0) from prjxray import util diff --git a/fuzzers/025-bram-config/generate.py b/fuzzers/025-bram-config/generate.py index dc5f43fb..9eddc6c4 100644 --- a/fuzzers/025-bram-config/generate.py +++ b/fuzzers/025-bram-config/generate.py @@ -1,4 +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 json import csv diff --git a/fuzzers/025-bram-config/top.py b/fuzzers/025-bram-config/top.py index 4e4a0f28..8674d0b4 100644 --- a/fuzzers/025-bram-config/top.py +++ b/fuzzers/025-bram-config/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/026-bram-data/generate.py b/fuzzers/026-bram-data/generate.py index 7f3afa55..16a6c992 100644 --- a/fuzzers/026-bram-data/generate.py +++ b/fuzzers/026-bram-data/generate.py @@ -1,4 +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 json from prjxray.segmaker import Segmaker diff --git a/fuzzers/026-bram-data/top.py b/fuzzers/026-bram-data/top.py index 716f6c46..46c5dad8 100644 --- a/fuzzers/026-bram-data/top.py +++ b/fuzzers/026-bram-data/top.py @@ -1,4 +1,12 @@ +#!/usr/bin/env python3 #!/usr/bin/env python +# 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 json diff --git a/fuzzers/027-bram36-config/generate.py b/fuzzers/027-bram36-config/generate.py index fb76f130..6628dd0a 100644 --- a/fuzzers/027-bram36-config/generate.py +++ b/fuzzers/027-bram36-config/generate.py @@ -1,4 +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 json diff --git a/fuzzers/027-bram36-config/top.py b/fuzzers/027-bram36-config/top.py index 32d9cdc7..1dad2d5f 100644 --- a/fuzzers/027-bram36-config/top.py +++ b/fuzzers/027-bram36-config/top.py @@ -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 random import json diff --git a/fuzzers/028-fifo-config/generate.py b/fuzzers/028-fifo-config/generate.py index 4b386ced..b46fac3f 100644 --- a/fuzzers/028-fifo-config/generate.py +++ b/fuzzers/028-fifo-config/generate.py @@ -1,4 +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 json diff --git a/fuzzers/028-fifo-config/top.py b/fuzzers/028-fifo-config/top.py index dab705f8..faaa224a 100644 --- a/fuzzers/028-fifo-config/top.py +++ b/fuzzers/028-fifo-config/top.py @@ -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 json import math import os diff --git a/fuzzers/029-bram-fifo-config/generate.py b/fuzzers/029-bram-fifo-config/generate.py index c805a1f3..3ff569d6 100644 --- a/fuzzers/029-bram-fifo-config/generate.py +++ b/fuzzers/029-bram-fifo-config/generate.py @@ -1,4 +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 json diff --git a/fuzzers/029-bram-fifo-config/top.py b/fuzzers/029-bram-fifo-config/top.py index fed507e4..5f3dfd90 100644 --- a/fuzzers/029-bram-fifo-config/top.py +++ b/fuzzers/029-bram-fifo-config/top.py @@ -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 json import os import random diff --git a/fuzzers/030-iob/check_results.py b/fuzzers/030-iob/check_results.py index 0a60c68f..300495c5 100644 --- a/fuzzers/030-iob/check_results.py +++ b/fuzzers/030-iob/check_results.py @@ -1,5 +1,15 @@ -""" Sanity checks FASM output from IOB fuzzer. +#!/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 +""" Sanity checks FASM output from IOB fuzzer. The IOB fuzzer is fairly complicated, and it's output is hard to verify by inspected. For this reason, check_results.py was written to compare the specimen's generated and their FASM output. The FASM output does pose a diff --git a/fuzzers/030-iob/generate.py b/fuzzers/030-iob/generate.py index e6d120de..230adac7 100644 --- a/fuzzers/030-iob/generate.py +++ b/fuzzers/030-iob/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker from prjxray import segmaker diff --git a/fuzzers/030-iob/minitest/compare.py b/fuzzers/030-iob/minitest/compare.py index 9c7a24d0..df7ff1f1 100644 --- a/fuzzers/030-iob/minitest/compare.py +++ b/fuzzers/030-iob/minitest/compare.py @@ -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 sys import glob import os diff --git a/fuzzers/030-iob/minitest/top.py b/fuzzers/030-iob/minitest/top.py index e9f8a432..a7b2e26e 100644 --- a/fuzzers/030-iob/minitest/top.py +++ b/fuzzers/030-iob/minitest/top.py @@ -1,4 +1,12 @@ +#!/usr/bin/env python3 ''' +# 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 Generate a primitive to place at every I/O Unlike CLB tests, the LFSR for this is inside the ROI, not driving it ''' diff --git a/fuzzers/030-iob/process_rdb.py b/fuzzers/030-iob/process_rdb.py index 929bc7a1..f19ec142 100644 --- a/fuzzers/030-iob/process_rdb.py +++ b/fuzzers/030-iob/process_rdb.py @@ -1,5 +1,15 @@ -""" IOB bits are more complicated than can be easily expressed to segmaker. +#!/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 +""" IOB bits are more complicated than can be easily expressed to segmaker. There are couple cases that need to be handled here: - There are some bits that are always set for IN-only ports, but are cleared diff --git a/fuzzers/030-iob/top.py b/fuzzers/030-iob/top.py index d0b5726c..2871a72a 100644 --- a/fuzzers/030-iob/top.py +++ b/fuzzers/030-iob/top.py @@ -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 json import io import os diff --git a/fuzzers/031-cmt-mmcm/generate.py b/fuzzers/031-cmt-mmcm/generate.py index bff8daa1..fa4edee6 100644 --- a/fuzzers/031-cmt-mmcm/generate.py +++ b/fuzzers/031-cmt-mmcm/generate.py @@ -1,4 +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 json diff --git a/fuzzers/031-cmt-mmcm/top.py b/fuzzers/031-cmt-mmcm/top.py index 424827ca..a49657c3 100644 --- a/fuzzers/031-cmt-mmcm/top.py +++ b/fuzzers/031-cmt-mmcm/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/032-cmt-pll/generate.py b/fuzzers/032-cmt-pll/generate.py index 1d428dfb..3058fbe9 100644 --- a/fuzzers/032-cmt-pll/generate.py +++ b/fuzzers/032-cmt-pll/generate.py @@ -1,4 +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 json diff --git a/fuzzers/032-cmt-pll/top.py b/fuzzers/032-cmt-pll/top.py index 1e9de083..ed25ace2 100644 --- a/fuzzers/032-cmt-pll/top.py +++ b/fuzzers/032-cmt-pll/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/032-cmt-pll/write_pll_reg.py b/fuzzers/032-cmt-pll/write_pll_reg.py index 439e2931..749a84db 100644 --- a/fuzzers/032-cmt-pll/write_pll_reg.py +++ b/fuzzers/032-cmt-pll/write_pll_reg.py @@ -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 argparse REGISTER_LAYOUT = { diff --git a/fuzzers/033-mon-xadc/generate.py b/fuzzers/033-mon-xadc/generate.py index 2c60aec5..2b9392ac 100644 --- a/fuzzers/033-mon-xadc/generate.py +++ b/fuzzers/033-mon-xadc/generate.py @@ -1,4 +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 json diff --git a/fuzzers/033-mon-xadc/top.py b/fuzzers/033-mon-xadc/top.py index eea96280..8567d03c 100644 --- a/fuzzers/033-mon-xadc/top.py +++ b/fuzzers/033-mon-xadc/top.py @@ -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 random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/034-cmt-pll-pips/fixup_and_group.py b/fuzzers/034-cmt-pll-pips/fixup_and_group.py index eae668c3..80099e1a 100755 --- a/fuzzers/034-cmt-pll-pips/fixup_and_group.py +++ b/fuzzers/034-cmt-pll-pips/fixup_and_group.py @@ -1,4 +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 is a db fixup script that does two things: diff --git a/fuzzers/034-cmt-pll-pips/generate.py b/fuzzers/034-cmt-pll-pips/generate.py index 3068eb66..8438613f 100644 --- a/fuzzers/034-cmt-pll-pips/generate.py +++ b/fuzzers/034-cmt-pll-pips/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker import os diff --git a/fuzzers/034-cmt-pll-pips/top.py b/fuzzers/034-cmt-pll-pips/top.py index 25abe1e6..9db28598 100644 --- a/fuzzers/034-cmt-pll-pips/top.py +++ b/fuzzers/034-cmt-pll-pips/top.py @@ -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 random diff --git a/fuzzers/035-iob-ilogic/generate.py b/fuzzers/035-iob-ilogic/generate.py index 93b9fc4c..0c0902d7 100644 --- a/fuzzers/035-iob-ilogic/generate.py +++ b/fuzzers/035-iob-ilogic/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker from prjxray import verilog diff --git a/fuzzers/035-iob-ilogic/top.py b/fuzzers/035-iob-ilogic/top.py index 10076047..56a46c02 100644 --- a/fuzzers/035-iob-ilogic/top.py +++ b/fuzzers/035-iob-ilogic/top.py @@ -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 json import io import os diff --git a/fuzzers/035a-iob-idelay/generate.py b/fuzzers/035a-iob-idelay/generate.py index 95522642..b500632f 100644 --- a/fuzzers/035a-iob-idelay/generate.py +++ b/fuzzers/035a-iob-idelay/generate.py @@ -1,4 +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 json from prjxray.segmaker import Segmaker, add_site_group_zero diff --git a/fuzzers/035a-iob-idelay/top.py b/fuzzers/035a-iob-idelay/top.py index cc8ae951..f4b137bb 100644 --- a/fuzzers/035a-iob-idelay/top.py +++ b/fuzzers/035a-iob-idelay/top.py @@ -1,4 +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, random random.seed(int(os.getenv("SEED"), 16)) diff --git a/fuzzers/036-iob-ologic/generate.py b/fuzzers/036-iob-ologic/generate.py index f8f56ec9..e8afdcd2 100644 --- a/fuzzers/036-iob-ologic/generate.py +++ b/fuzzers/036-iob-ologic/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker from prjxray import verilog diff --git a/fuzzers/036-iob-ologic/top.py b/fuzzers/036-iob-ologic/top.py index c6fe2313..868e15e1 100644 --- a/fuzzers/036-iob-ologic/top.py +++ b/fuzzers/036-iob-ologic/top.py @@ -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 json import io import os diff --git a/fuzzers/037-iob-pips/generate.py b/fuzzers/037-iob-pips/generate.py index 0eeba0b9..901ff543 100644 --- a/fuzzers/037-iob-pips/generate.py +++ b/fuzzers/037-iob-pips/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker import os, re diff --git a/fuzzers/037-iob-pips/top.py b/fuzzers/037-iob-pips/top.py index ed5017cd..f86bc9cc 100644 --- a/fuzzers/037-iob-pips/top.py +++ b/fuzzers/037-iob-pips/top.py @@ -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 random import math diff --git a/fuzzers/038-cfg/add_constant_bits.py b/fuzzers/038-cfg/add_constant_bits.py index 4730b30b..31b7377d 100644 --- a/fuzzers/038-cfg/add_constant_bits.py +++ b/fuzzers/038-cfg/add_constant_bits.py @@ -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 """ Add bits that are considered always on to the db file. diff --git a/fuzzers/038-cfg/generate.py b/fuzzers/038-cfg/generate.py index 2f327b2d..cef36211 100644 --- a/fuzzers/038-cfg/generate.py +++ b/fuzzers/038-cfg/generate.py @@ -1,4 +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 json diff --git a/fuzzers/038-cfg/top.py b/fuzzers/038-cfg/top.py index e8cf4ced..dd3d9259 100644 --- a/fuzzers/038-cfg/top.py +++ b/fuzzers/038-cfg/top.py @@ -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 json import io import os diff --git a/fuzzers/039-hclk-config/generate.py b/fuzzers/039-hclk-config/generate.py index 11c8ce02..eb2e11a8 100644 --- a/fuzzers/039-hclk-config/generate.py +++ b/fuzzers/039-hclk-config/generate.py @@ -1,4 +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 json diff --git a/fuzzers/039-hclk-config/top.py b/fuzzers/039-hclk-config/top.py index 61d2dc7d..8a43d352 100644 --- a/fuzzers/039-hclk-config/top.py +++ b/fuzzers/039-hclk-config/top.py @@ -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 json import os import random diff --git a/fuzzers/040-clk-hrow-config/generate.py b/fuzzers/040-clk-hrow-config/generate.py index 615f03b0..56f24db0 100644 --- a/fuzzers/040-clk-hrow-config/generate.py +++ b/fuzzers/040-clk-hrow-config/generate.py @@ -1,4 +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 json diff --git a/fuzzers/040-clk-hrow-config/top.py b/fuzzers/040-clk-hrow-config/top.py index 2306ed80..fe2a4e32 100644 --- a/fuzzers/040-clk-hrow-config/top.py +++ b/fuzzers/040-clk-hrow-config/top.py @@ -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 json import os import random diff --git a/fuzzers/041-clk-hrow-pips/generate.py b/fuzzers/041-clk-hrow-pips/generate.py index e6ccc430..6a88ff23 100644 --- a/fuzzers/041-clk-hrow-pips/generate.py +++ b/fuzzers/041-clk-hrow-pips/generate.py @@ -1,4 +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.path diff --git a/fuzzers/041-clk-hrow-pips/top.py b/fuzzers/041-clk-hrow-pips/top.py index c24cbf61..6124c67a 100644 --- a/fuzzers/041-clk-hrow-pips/top.py +++ b/fuzzers/041-clk-hrow-pips/top.py @@ -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 """ Emits top.v's for various BUFHCE routing inputs. """ import os import random diff --git a/fuzzers/042-clk-bufg-config/generate.py b/fuzzers/042-clk-bufg-config/generate.py index 53570591..db81af02 100644 --- a/fuzzers/042-clk-bufg-config/generate.py +++ b/fuzzers/042-clk-bufg-config/generate.py @@ -1,4 +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 json diff --git a/fuzzers/042-clk-bufg-config/top.py b/fuzzers/042-clk-bufg-config/top.py index ca22613a..982c55da 100644 --- a/fuzzers/042-clk-bufg-config/top.py +++ b/fuzzers/042-clk-bufg-config/top.py @@ -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 json import os import random diff --git a/fuzzers/043-clk-rebuf-pips/generate.py b/fuzzers/043-clk-rebuf-pips/generate.py index 6e643f26..1748e4a4 100644 --- a/fuzzers/043-clk-rebuf-pips/generate.py +++ b/fuzzers/043-clk-rebuf-pips/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker from prjxray.db import Database diff --git a/fuzzers/043-clk-rebuf-pips/top.py b/fuzzers/043-clk-rebuf-pips/top.py index 8754b84b..7f1df7f1 100644 --- a/fuzzers/043-clk-rebuf-pips/top.py +++ b/fuzzers/043-clk-rebuf-pips/top.py @@ -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 itertools import re diff --git a/fuzzers/044-clk-bufg-pips/build_zdb.py b/fuzzers/044-clk-bufg-pips/build_zdb.py index 8f8d8fe6..e3d12804 100644 --- a/fuzzers/044-clk-bufg-pips/build_zdb.py +++ b/fuzzers/044-clk-bufg-pips/build_zdb.py @@ -1,5 +1,15 @@ -""" Tool for building zero db file for BUFG pips. +#!/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 +""" Tool for building zero db file for BUFG pips. This requires that the rdb files be good enough to identify all the 0 candidate features, which may take multiple manual iterations. Manual iterations can be running like: diff --git a/fuzzers/044-clk-bufg-pips/generate.py b/fuzzers/044-clk-bufg-pips/generate.py index 0be965f5..a0d09663 100644 --- a/fuzzers/044-clk-bufg-pips/generate.py +++ b/fuzzers/044-clk-bufg-pips/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker import os diff --git a/fuzzers/044-clk-bufg-pips/top.py b/fuzzers/044-clk-bufg-pips/top.py index 68e77f56..f73a3077 100644 --- a/fuzzers/044-clk-bufg-pips/top.py +++ b/fuzzers/044-clk-bufg-pips/top.py @@ -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 """ Emits top.v's for various BUFHCE routing inputs. """ import os import random diff --git a/fuzzers/045-hclk-cmt-pips/generate.py b/fuzzers/045-hclk-cmt-pips/generate.py index 79b08435..7be95d08 100644 --- a/fuzzers/045-hclk-cmt-pips/generate.py +++ b/fuzzers/045-hclk-cmt-pips/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker import os diff --git a/fuzzers/045-hclk-cmt-pips/top.py b/fuzzers/045-hclk-cmt-pips/top.py index 35721444..e7e2c855 100644 --- a/fuzzers/045-hclk-cmt-pips/top.py +++ b/fuzzers/045-hclk-cmt-pips/top.py @@ -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 """ Emits top.v's for various BUFHCE routing inputs. """ import os import random diff --git a/fuzzers/046-clk-bufg-muxed-pips/build_zdb.py b/fuzzers/046-clk-bufg-muxed-pips/build_zdb.py index 8f8d8fe6..e3d12804 100644 --- a/fuzzers/046-clk-bufg-muxed-pips/build_zdb.py +++ b/fuzzers/046-clk-bufg-muxed-pips/build_zdb.py @@ -1,5 +1,15 @@ -""" Tool for building zero db file for BUFG pips. +#!/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 +""" Tool for building zero db file for BUFG pips. This requires that the rdb files be good enough to identify all the 0 candidate features, which may take multiple manual iterations. Manual iterations can be running like: diff --git a/fuzzers/046-clk-bufg-muxed-pips/generate.py b/fuzzers/046-clk-bufg-muxed-pips/generate.py index 7f431b3f..711d77b0 100644 --- a/fuzzers/046-clk-bufg-muxed-pips/generate.py +++ b/fuzzers/046-clk-bufg-muxed-pips/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker import os diff --git a/fuzzers/046-clk-bufg-muxed-pips/top.py b/fuzzers/046-clk-bufg-muxed-pips/top.py index 68e77f56..f73a3077 100644 --- a/fuzzers/046-clk-bufg-muxed-pips/top.py +++ b/fuzzers/046-clk-bufg-muxed-pips/top.py @@ -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 """ Emits top.v's for various BUFHCE routing inputs. """ import os import random diff --git a/fuzzers/047-hclk-ioi-pips/generate.py b/fuzzers/047-hclk-ioi-pips/generate.py index e6471c87..6af0e337 100644 --- a/fuzzers/047-hclk-ioi-pips/generate.py +++ b/fuzzers/047-hclk-ioi-pips/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker import os diff --git a/fuzzers/047-hclk-ioi-pips/top.py b/fuzzers/047-hclk-ioi-pips/top.py index 5231a84d..246e57c7 100644 --- a/fuzzers/047-hclk-ioi-pips/top.py +++ b/fuzzers/047-hclk-ioi-pips/top.py @@ -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 """ Emits top.v's for various BUFHCE routing inputs. """ import os import random diff --git a/fuzzers/047a-hclk-idelayctrl-pips/generate.py b/fuzzers/047a-hclk-idelayctrl-pips/generate.py index a038ceb3..d39ad784 100644 --- a/fuzzers/047a-hclk-idelayctrl-pips/generate.py +++ b/fuzzers/047a-hclk-idelayctrl-pips/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker import os diff --git a/fuzzers/047a-hclk-idelayctrl-pips/top.py b/fuzzers/047a-hclk-idelayctrl-pips/top.py index fe607497..9be801e1 100644 --- a/fuzzers/047a-hclk-idelayctrl-pips/top.py +++ b/fuzzers/047a-hclk-idelayctrl-pips/top.py @@ -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 """ Emits top.v's for various BUFHCE routing inputs. """ import os import random diff --git a/fuzzers/049-int-imux-gfan/generate.py b/fuzzers/049-int-imux-gfan/generate.py index 379d57cd..43f9e93a 100644 --- a/fuzzers/049-int-imux-gfan/generate.py +++ b/fuzzers/049-int-imux-gfan/generate.py @@ -1,4 +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 re import os diff --git a/fuzzers/049-int-imux-gfan/top.py b/fuzzers/049-int-imux-gfan/top.py index 6a10a437..a579bc9c 100644 --- a/fuzzers/049-int-imux-gfan/top.py +++ b/fuzzers/049-int-imux-gfan/top.py @@ -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 random import itertools diff --git a/fuzzers/050-pip-seed/generate.py b/fuzzers/050-pip-seed/generate.py index 93cd2112..2a9b1c83 100644 --- a/fuzzers/050-pip-seed/generate.py +++ b/fuzzers/050-pip-seed/generate.py @@ -1,4 +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 re import os diff --git a/fuzzers/052-pip-clkin/generate.py b/fuzzers/052-pip-clkin/generate.py index 3fe41e6f..38b43ad1 100644 --- a/fuzzers/052-pip-clkin/generate.py +++ b/fuzzers/052-pip-clkin/generate.py @@ -1,4 +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 re diff --git a/fuzzers/053-pip-ctrlin/generate.py b/fuzzers/053-pip-ctrlin/generate.py index 7dae573b..aa5efd74 100644 --- a/fuzzers/053-pip-ctrlin/generate.py +++ b/fuzzers/053-pip-ctrlin/generate.py @@ -1,4 +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 re diff --git a/fuzzers/055-pip-gnd/generate.py b/fuzzers/055-pip-gnd/generate.py index adc9946a..3cec98cb 100644 --- a/fuzzers/055-pip-gnd/generate.py +++ b/fuzzers/055-pip-gnd/generate.py @@ -1,4 +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 re import os diff --git a/fuzzers/057-pip-bi/generate.py b/fuzzers/057-pip-bi/generate.py index b43cb302..15ceda95 100644 --- a/fuzzers/057-pip-bi/generate.py +++ b/fuzzers/057-pip-bi/generate.py @@ -1,4 +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 diff --git a/fuzzers/058-pip-hclk/generate.py b/fuzzers/058-pip-hclk/generate.py index 26ac18af..f001d6cc 100644 --- a/fuzzers/058-pip-hclk/generate.py +++ b/fuzzers/058-pip-hclk/generate.py @@ -1,4 +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 sys import re diff --git a/fuzzers/060-bram-cascades/generate.py b/fuzzers/060-bram-cascades/generate.py index 2dabe338..4871496e 100644 --- a/fuzzers/060-bram-cascades/generate.py +++ b/fuzzers/060-bram-cascades/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker import re diff --git a/fuzzers/060-bram-cascades/top.py b/fuzzers/060-bram-cascades/top.py index 61b56ca9..19138bf5 100644 --- a/fuzzers/060-bram-cascades/top.py +++ b/fuzzers/060-bram-cascades/top.py @@ -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 sys import random diff --git a/fuzzers/060-bram-cascades/unmanagle_pips.py b/fuzzers/060-bram-cascades/unmanagle_pips.py index 5f5034f6..74af9673 100644 --- a/fuzzers/060-bram-cascades/unmanagle_pips.py +++ b/fuzzers/060-bram-cascades/unmanagle_pips.py @@ -1,6 +1,15 @@ +#!/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 argparse - def main(): parser = argparse.ArgumentParser( description="Converts generic BRAM pips to BRAM_L and BRAM_R pips.") diff --git a/fuzzers/072-ordered_wires/run_fuzzer.py b/fuzzers/072-ordered_wires/run_fuzzer.py index d8abbf7b..2f5b3b19 100644 --- a/fuzzers/072-ordered_wires/run_fuzzer.py +++ b/fuzzers/072-ordered_wires/run_fuzzer.py @@ -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 shutil import sys diff --git a/fuzzers/074-dump_all/analyze_errors.py b/fuzzers/074-dump_all/analyze_errors.py index 061c9e5f..5c32d8e9 100644 --- a/fuzzers/074-dump_all/analyze_errors.py +++ b/fuzzers/074-dump_all/analyze_errors.py @@ -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 json import argparse diff --git a/fuzzers/074-dump_all/cleanup_site_pins.py b/fuzzers/074-dump_all/cleanup_site_pins.py index c528ad27..e368ebfa 100644 --- a/fuzzers/074-dump_all/cleanup_site_pins.py +++ b/fuzzers/074-dump_all/cleanup_site_pins.py @@ -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 """ Tool to cleanup site pins JSON dumps. This tool has two behaviors. This first is to rename site names from global diff --git a/fuzzers/074-dump_all/create_node_tree.py b/fuzzers/074-dump_all/create_node_tree.py index 96c11cdb..aedb27bc 100644 --- a/fuzzers/074-dump_all/create_node_tree.py +++ b/fuzzers/074-dump_all/create_node_tree.py @@ -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 argparse import datetime import progressbar diff --git a/fuzzers/074-dump_all/generate_grid.py b/fuzzers/074-dump_all/generate_grid.py index 82f98502..86754255 100644 --- a/fuzzers/074-dump_all/generate_grid.py +++ b/fuzzers/074-dump_all/generate_grid.py @@ -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 """ Generate grid from database dump """ from __future__ import print_function diff --git a/fuzzers/074-dump_all/generate_ignore_list.py b/fuzzers/074-dump_all/generate_ignore_list.py index 5cd0be1c..82cb775b 100644 --- a/fuzzers/074-dump_all/generate_ignore_list.py +++ b/fuzzers/074-dump_all/generate_ignore_list.py @@ -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 json with open('output/error_nodes.json') as f: diff --git a/fuzzers/074-dump_all/reduce_site_types.py b/fuzzers/074-dump_all/reduce_site_types.py index a8aba61a..9a30686e 100644 --- a/fuzzers/074-dump_all/reduce_site_types.py +++ b/fuzzers/074-dump_all/reduce_site_types.py @@ -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 """ Reduce sites types to prototypes that are always correct. reduce_tile_types.py generates per tile type site types. reduce_site_types.py diff --git a/fuzzers/074-dump_all/reduce_tile_types.py b/fuzzers/074-dump_all/reduce_tile_types.py index fdaa0f99..ec670ab3 100644 --- a/fuzzers/074-dump_all/reduce_tile_types.py +++ b/fuzzers/074-dump_all/reduce_tile_types.py @@ -1,5 +1,15 @@ -""" Reduce tile types to prototypes that are always correct. +#!/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 +""" Reduce tile types to prototypes that are always correct. The dump-all generate.tcl dumps all instances of each tile type. Some tiles are missing wires. reduce_tile_types.py generates the superset tile that encompases all tiles of that type. If it is not possible to generate a super diff --git a/fuzzers/074-dump_all/run_fuzzer.py b/fuzzers/074-dump_all/run_fuzzer.py index 68a2dccf..f1b16a59 100644 --- a/fuzzers/074-dump_all/run_fuzzer.py +++ b/fuzzers/074-dump_all/run_fuzzer.py @@ -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 shutil import sys import subprocess diff --git a/fuzzers/076-ps7/make_ports.py b/fuzzers/076-ps7/make_ports.py index 1f4f169c..d84cb9a7 100644 --- a/fuzzers/076-ps7/make_ports.py +++ b/fuzzers/076-ps7/make_ports.py @@ -1,4 +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 loads the PS7 pin dump from Vivado and groups pins into ports. Also assigns each port a class that indicates its function. The classes are: diff --git a/fuzzers/100-dsp-mskpat/generate.py b/fuzzers/100-dsp-mskpat/generate.py index 3dea122b..0020c8a4 100644 --- a/fuzzers/100-dsp-mskpat/generate.py +++ b/fuzzers/100-dsp-mskpat/generate.py @@ -1,4 +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 from prjxray.segmaker import Segmaker, add_site_group_zero from prjxray.verilog import to_int diff --git a/fuzzers/100-dsp-mskpat/top.py b/fuzzers/100-dsp-mskpat/top.py index e08e0bd7..2a278e30 100644 --- a/fuzzers/100-dsp-mskpat/top.py +++ b/fuzzers/100-dsp-mskpat/top.py @@ -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 random import json diff --git a/fuzzers/int_generate.py b/fuzzers/int_generate.py index 67e1bb4c..f5c98030 100644 --- a/fuzzers/int_generate.py +++ b/fuzzers/int_generate.py @@ -1,4 +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 from __future__ import print_function diff --git a/fuzzers/int_loop_check.py b/fuzzers/int_loop_check.py index a59bdc7c..4a1866b5 100644 --- a/fuzzers/int_loop_check.py +++ b/fuzzers/int_loop_check.py @@ -1,4 +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 from __future__ import print_function import sys, re diff --git a/fuzzers/int_maketodo.py b/fuzzers/int_maketodo.py index a2b651ae..754eb24b 100644 --- a/fuzzers/int_maketodo.py +++ b/fuzzers/int_maketodo.py @@ -1,4 +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, re from prjxray import util diff --git a/fuzzers/run_fuzzer.py b/fuzzers/run_fuzzer.py index 70870d9d..959243b3 100755 --- a/fuzzers/run_fuzzer.py +++ b/fuzzers/run_fuzzer.py @@ -1,4 +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 from datetime import datetime, timedelta