diff --git a/tests/carry/carry.sim.v b/tests/carry/carry.sim.v index 9263abd1..e49685d0 100644 --- a/tests/carry/carry.sim.v +++ b/tests/carry/carry.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `default_nettype none `include "cblock/cblock.sim.v" diff --git a/tests/carry/cblock/cblock.sim.v b/tests/carry/cblock/cblock.sim.v index b73ddbb7..75f6f36a 100644 --- a/tests/carry/cblock/cblock.sim.v +++ b/tests/carry/cblock/cblock.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `default_nettype none (* whitebox *) diff --git a/tests/clocks/dff_comb_one_clock/dff_comb_one_clock.sim.v b/tests/clocks/dff_comb_one_clock/dff_comb_one_clock.sim.v index a1e60c21..6a6a355a 100644 --- a/tests/clocks/dff_comb_one_clock/dff_comb_one_clock.sim.v +++ b/tests/clocks/dff_comb_one_clock/dff_comb_one_clock.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + /* * `input wire a` should be detected as a clock because it drives the flip * flop. diff --git a/tests/clocks/dff_one_clock/dff_one_clock.sim.v b/tests/clocks/dff_one_clock/dff_one_clock.sim.v index d6e2c394..45493650 100644 --- a/tests/clocks/dff_one_clock/dff_one_clock.sim.v +++ b/tests/clocks/dff_one_clock/dff_one_clock.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + /* * `input wire a` should be detected as a clock because it drives the flip * flop. diff --git a/tests/clocks/dff_two_clocks/dff_two_clocks.sim.v b/tests/clocks/dff_two_clocks/dff_two_clocks.sim.v index c9bcb0fc..4d27af3b 100644 --- a/tests/clocks/dff_two_clocks/dff_two_clocks.sim.v +++ b/tests/clocks/dff_two_clocks/dff_two_clocks.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + module BLOCK(c1, c2, a, b, c, o1, o2); input wire c1; input wire c2; diff --git a/tests/clocks/input_attr_clock/input_attr_clock.sim.v b/tests/clocks/input_attr_clock/input_attr_clock.sim.v index 819cb8f9..57b744dc 100644 --- a/tests/clocks/input_attr_clock/input_attr_clock.sim.v +++ b/tests/clocks/input_attr_clock/input_attr_clock.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + /* * `input wire a` should be detected as a clock because of the `(* CLOCK *)` * attribute. diff --git a/tests/clocks/input_attr_not_clock/block.sim.v b/tests/clocks/input_attr_not_clock/block.sim.v index f87f8b26..856cdd07 100644 --- a/tests/clocks/input_attr_not_clock/block.sim.v +++ b/tests/clocks/input_attr_not_clock/block.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + /* * `input wire a` should be detected as a clock because it drives the flip * flop. However, it has the attribute CLOCK set to 0 which should force it diff --git a/tests/clocks/input_named_clk/input_named_clk.sim.v b/tests/clocks/input_named_clk/input_named_clk.sim.v index 7d5b6193..e730c87d 100644 --- a/tests/clocks/input_named_clk/input_named_clk.sim.v +++ b/tests/clocks/input_named_clk/input_named_clk.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + /* * `input wire clk` should be detected as a clock despite this being a black * box module. diff --git a/tests/clocks/input_named_rdclk/input_named_rdclk.sim.v b/tests/clocks/input_named_rdclk/input_named_rdclk.sim.v index 70d827aa..9ebb2cf4 100644 --- a/tests/clocks/input_named_rdclk/input_named_rdclk.sim.v +++ b/tests/clocks/input_named_rdclk/input_named_rdclk.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + /* * `input wire rdclk` should be detected as a clock despite this being a black * box module. diff --git a/tests/clocks/input_named_regex/block.sim.v b/tests/clocks/input_named_regex/block.sim.v index 3870d30b..bbb58387 100644 --- a/tests/clocks/input_named_regex/block.sim.v +++ b/tests/clocks/input_named_regex/block.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + (* whitebox *) module BLOCK( input wire clk, diff --git a/tests/clocks/multiple_inputs_named_clk/multiple_inputs_named_clk.sim.v b/tests/clocks/multiple_inputs_named_clk/multiple_inputs_named_clk.sim.v index 076d6305..e8146e5e 100644 --- a/tests/clocks/multiple_inputs_named_clk/multiple_inputs_named_clk.sim.v +++ b/tests/clocks/multiple_inputs_named_clk/multiple_inputs_named_clk.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + /* * `input wire rdclk` and `input wire wrclk` should be detected as a clock * despite this being a black box module. diff --git a/tests/clocks/multiple_outputs_named_clk/multiple_outputs_named_clk.sim.v b/tests/clocks/multiple_outputs_named_clk/multiple_outputs_named_clk.sim.v index 42899f84..6ce6f506 100644 --- a/tests/clocks/multiple_outputs_named_clk/multiple_outputs_named_clk.sim.v +++ b/tests/clocks/multiple_outputs_named_clk/multiple_outputs_named_clk.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + /* * `output wire rdclk` and `output wire wrclk` should be detected as a clock * despite this being a black box module. diff --git a/tests/clocks/output_attr_clock/output_attr_clock.sim.v b/tests/clocks/output_attr_clock/output_attr_clock.sim.v index bdf47471..fc3b6bca 100644 --- a/tests/clocks/output_attr_clock/output_attr_clock.sim.v +++ b/tests/clocks/output_attr_clock/output_attr_clock.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + /* * `output wire o` should be detected as a clock because of the `(* CLOCK *)` * attribute. diff --git a/tests/clocks/output_named_clk/output_named_clk.sim.v b/tests/clocks/output_named_clk/output_named_clk.sim.v index fcf775b2..331a5a4c 100644 --- a/tests/clocks/output_named_clk/output_named_clk.sim.v +++ b/tests/clocks/output_named_clk/output_named_clk.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + /* * `output wire clk` should be detected as a clock despite this being a black * box module. diff --git a/tests/clocks/output_named_rdclk/output_named_rdclk.sim.v b/tests/clocks/output_named_rdclk/output_named_rdclk.sim.v index 4b72b6f0..ef20d947 100644 --- a/tests/clocks/output_named_rdclk/output_named_rdclk.sim.v +++ b/tests/clocks/output_named_rdclk/output_named_rdclk.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + /* * `output wire rdclk` should be detected as a clock despite this being a black * box module. diff --git a/tests/dsp/dsp_combinational/dsp_combinational.sim.v b/tests/dsp/dsp_combinational/dsp_combinational.sim.v index bbfa9531..635eef34 100644 --- a/tests/dsp/dsp_combinational/dsp_combinational.sim.v +++ b/tests/dsp/dsp_combinational/dsp_combinational.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `ifndef DSP_COMB `define DSP_COMB (* whitebox *) diff --git a/tests/dsp/dsp_in_registered/dsp_in_registered.sim.v b/tests/dsp/dsp_in_registered/dsp_in_registered.sim.v index b940e447..930674d5 100644 --- a/tests/dsp/dsp_in_registered/dsp_in_registered.sim.v +++ b/tests/dsp/dsp_in_registered/dsp_in_registered.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `include "../../vtr/dff/dff.sim.v" `include "../dsp_combinational/dsp_combinational.sim.v" diff --git a/tests/dsp/dsp_inout_registered/dsp_inout_registered.sim.v b/tests/dsp/dsp_inout_registered/dsp_inout_registered.sim.v index 2417b829..87b01640 100644 --- a/tests/dsp/dsp_inout_registered/dsp_inout_registered.sim.v +++ b/tests/dsp/dsp_inout_registered/dsp_inout_registered.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `include "../../vtr/dff/dff.sim.v" `include "../dsp_combinational/dsp_combinational.sim.v" diff --git a/tests/dsp/dsp_inout_registered_dualclk/dsp_inout_registered_dualclk.sim.v b/tests/dsp/dsp_inout_registered_dualclk/dsp_inout_registered_dualclk.sim.v index bb73b321..4a928a9b 100644 --- a/tests/dsp/dsp_inout_registered_dualclk/dsp_inout_registered_dualclk.sim.v +++ b/tests/dsp/dsp_inout_registered_dualclk/dsp_inout_registered_dualclk.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `include "../../vtr/dff/dff.sim.v" `include "../dsp_combinational/dsp_combinational.sim.v" diff --git a/tests/dsp/dsp_modes/dsp_modes.sim.v b/tests/dsp/dsp_modes/dsp_modes.sim.v index cd7f69b2..f93b8581 100644 --- a/tests/dsp/dsp_modes/dsp_modes.sim.v +++ b/tests/dsp/dsp_modes/dsp_modes.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `include "../dsp_combinational/dsp_combinational.sim.v" `include "../dsp_inout_registered/dsp_inout_registered.sim.v" `include "../dsp_in_registered/dsp_in_registered.sim.v" diff --git a/tests/dsp/dsp_out_registered/dsp_out_registered.sim.v b/tests/dsp/dsp_out_registered/dsp_out_registered.sim.v index c9f7b742..f6c8cfaa 100644 --- a/tests/dsp/dsp_out_registered/dsp_out_registered.sim.v +++ b/tests/dsp/dsp_out_registered/dsp_out_registered.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `include "../../vtr/dff/dff.sim.v" `include "../dsp_combinational/dsp_combinational.sim.v" diff --git a/tests/dsp/dsp_partial_registered/dsp_partial_registered.sim.v b/tests/dsp/dsp_partial_registered/dsp_partial_registered.sim.v index 3ffc3b76..3ee235ea 100644 --- a/tests/dsp/dsp_partial_registered/dsp_partial_registered.sim.v +++ b/tests/dsp/dsp_partial_registered/dsp_partial_registered.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `include "../../vtr/dff/dff.sim.v" `include "../dsp_combinational/dsp_combinational.sim.v" diff --git a/tests/internal_conn/child/child.sim.v b/tests/internal_conn/child/child.sim.v index e6aee442..9867f805 100644 --- a/tests/internal_conn/child/child.sim.v +++ b/tests/internal_conn/child/child.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + (* blackbox *) module CHILD( input wire I, diff --git a/tests/internal_conn/parent.sim.v b/tests/internal_conn/parent.sim.v index f837c7bc..6d10ee16 100644 --- a/tests/internal_conn/parent.sim.v +++ b/tests/internal_conn/parent.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `include "./child/child.sim.v" module PARENT ( diff --git a/tests/io/input/ipad.sim.v b/tests/io/input/ipad.sim.v index 5288d420..76c88d4b 100644 --- a/tests/io/input/ipad.sim.v +++ b/tests/io/input/ipad.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + (* CLASS="input" *) module IPAD(inpad); output wire inpad; diff --git a/tests/io/output/opad.sim.v b/tests/io/output/opad.sim.v index 9ce27e11..f82b7f0e 100644 --- a/tests/io/output/opad.sim.v +++ b/tests/io/output/opad.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + (* CLASS="output" *) module OPAD(outpad); input wire outpad; diff --git a/tests/logicbox/logicbox.sim.v b/tests/logicbox/logicbox.sim.v index 6ac2b93f..b8502199 100644 --- a/tests/logicbox/logicbox.sim.v +++ b/tests/logicbox/logicbox.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + (* whitebox *) module LOGICBOX (I, O); input wire I; diff --git a/tests/modes/inv.sim.v b/tests/modes/inv.sim.v index 45fd3df8..893673f4 100644 --- a/tests/modes/inv.sim.v +++ b/tests/modes/inv.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `include "./not/not.sim.v" (* MODES="PASSTHROUGH;INVERT" *) diff --git a/tests/modes/not/not.sim.v b/tests/modes/not/not.sim.v index c4b4d1d4..760a2ca2 100644 --- a/tests/modes/not/not.sim.v +++ b/tests/modes/not/not.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + (* whitebox *) module NOT (I, O); diff --git a/tests/multiple_instance/multiple_instance.sim.v b/tests/multiple_instance/multiple_instance.sim.v index 46536e9e..ab3423a3 100644 --- a/tests/multiple_instance/multiple_instance.sim.v +++ b/tests/multiple_instance/multiple_instance.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `include "../vtr/full-adder/adder.sim.v" module MULTIPLE_INSTANCE (a, b, c, d, cin, cout, sum); localparam DATA_WIDTH = 4; diff --git a/tests/muxes/use_mux.sim.v b/tests/muxes/use_mux.sim.v index 9ba59b06..5b256fa1 100644 --- a/tests/muxes/use_mux.sim.v +++ b/tests/muxes/use_mux.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `include "routing/rmux.sim.v" `include "../logicbox/logicbox.sim.v" module USE_MUX (a, b, c, o1, o2); diff --git a/tests/net_attr/child/child.sim.v b/tests/net_attr/child/child.sim.v index e09db94c..dc71b17d 100644 --- a/tests/net_attr/child/child.sim.v +++ b/tests/net_attr/child/child.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + module CHILD( input wire I, output wire O diff --git a/tests/net_attr/parent.sim.v b/tests/net_attr/parent.sim.v index 599456a6..84d80bc5 100644 --- a/tests/net_attr/parent.sim.v +++ b/tests/net_attr/parent.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `include "./child/child.sim.v" module PARENT( diff --git a/tests/no_comb/ff.sim.v b/tests/no_comb/ff.sim.v index bddea789..d5c85073 100644 --- a/tests/no_comb/ff.sim.v +++ b/tests/no_comb/ff.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + (* whitebox *) module FF(clk, D, S, R, E, Q); input wire clk; diff --git a/tests/simple_pll/simple_pll.sim.v b/tests/simple_pll/simple_pll.sim.v index 68ae816f..e7e63242 100644 --- a/tests/simple_pll/simple_pll.sim.v +++ b/tests/simple_pll/simple_pll.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + /* Simple model of a PLL which divides the input block by 64 */ module SIMPLE_PLL (in_clock, out_clock); diff --git a/tests/test_v2x.py b/tests/test_v2x.py index 127b9ce4..8c3c83ca 100644 --- a/tests/test_v2x.py +++ b/tests/test_v2x.py @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC from pathlib import Path import os diff --git a/tests/vtr/dff/dff.sim.v b/tests/vtr/dff/dff.sim.v index 3927929e..91c1c121 100644 --- a/tests/vtr/dff/dff.sim.v +++ b/tests/vtr/dff/dff.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + (* whitebox *) module DFF (D, CLK, Q); diff --git a/tests/vtr/full-adder/adder.sim.v b/tests/vtr/full-adder/adder.sim.v index 2088a773..c07e0e1a 100644 --- a/tests/vtr/full-adder/adder.sim.v +++ b/tests/vtr/full-adder/adder.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + (* whitebox *) module ADDER ( a, b, cin, diff --git a/tests/vtr/lutff-pair/ff/ff.sim.v b/tests/vtr/lutff-pair/ff/ff.sim.v index 24905477..8eb21410 100644 --- a/tests/vtr/lutff-pair/ff/ff.sim.v +++ b/tests/vtr/lutff-pair/ff/ff.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + (* whitebox *) module DFF (CLK, D, Q); diff --git a/tests/vtr/lutff-pair/lut/lut4.sim.v b/tests/vtr/lutff-pair/lut/lut4.sim.v index caa640b4..d8b9487d 100644 --- a/tests/vtr/lutff-pair/lut/lut4.sim.v +++ b/tests/vtr/lutff-pair/lut/lut4.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + (* whitebox *) module LUT4 (I, O); input wire [3:0] I; diff --git a/tests/vtr/lutff-pair/pair.sim.v b/tests/vtr/lutff-pair/pair.sim.v index 750cf654..025bea23 100644 --- a/tests/vtr/lutff-pair/pair.sim.v +++ b/tests/vtr/lutff-pair/pair.sim.v @@ -1,3 +1,13 @@ +/* + * Copyright (C) 2020 The SymbiFlow Authors. + * + * Use of this source code is governed by a ISC-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/ISC + * + * SPDX-License-Identifier: ISC + */ + `include "lut/lut4.sim.v" `include "ff/ff.sim.v" `include "omux/omux.sim.v" diff --git a/v2x/__main__.py b/v2x/__main__.py index 38ba16d2..0a33dceb 100644 --- a/v2x/__main__.py +++ b/v2x/__main__.py @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC from . import vlog_to_pbtype from . import vlog_to_model diff --git a/v2x/lib/argparse_extra.py b/v2x/lib/argparse_extra.py index 9be1116e..4dc1ab33 100644 --- a/v2x/lib/argparse_extra.py +++ b/v2x/lib/argparse_extra.py @@ -1,4 +1,14 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import argparse diff --git a/v2x/lib/asserts.py b/v2x/lib/asserts.py index e341f32f..8f5b4ad2 100644 --- a/v2x/lib/asserts.py +++ b/v2x/lib/asserts.py @@ -1,4 +1,15 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + + def __safe_call(f, a): """Call a function and capture all exceptions.""" try: diff --git a/v2x/lib/mux.py b/v2x/lib/mux.py index 700d02b7..68b954a7 100644 --- a/v2x/lib/mux.py +++ b/v2x/lib/mux.py @@ -1,4 +1,14 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import lxml.etree as ET from enum import Enum diff --git a/v2x/mux_gen.py b/v2x/mux_gen.py index f24950fc..c16ea800 100755 --- a/v2x/mux_gen.py +++ b/v2x/mux_gen.py @@ -1,4 +1,14 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + """ Generate MUX. diff --git a/v2x/vlog_to_model.py b/v2x/vlog_to_model.py index 3477de19..f234925c 100755 --- a/v2x/vlog_to_model.py +++ b/v2x/vlog_to_model.py @@ -1,4 +1,14 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + """ Convert a Verilog simulation model to a VPR `model.xml` diff --git a/v2x/vlog_to_pbtype.py b/v2x/vlog_to_pbtype.py index 71469923..74fa32a3 100755 --- a/v2x/vlog_to_pbtype.py +++ b/v2x/vlog_to_pbtype.py @@ -1,4 +1,14 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + """\ Convert a Verilog simulation model to a VPR `pb_type.xml` diff --git a/v2x/xmlinc/xmlinc.py b/v2x/xmlinc/xmlinc.py index b6115347..b5199536 100644 --- a/v2x/xmlinc/xmlinc.py +++ b/v2x/xmlinc/xmlinc.py @@ -1,4 +1,14 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import lxml.etree as ET import os diff --git a/v2x/yosys/json.py b/v2x/yosys/json.py index 93a32da2..b17ea1ce 100755 --- a/v2x/yosys/json.py +++ b/v2x/yosys/json.py @@ -1,4 +1,14 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + """ This is intended to provide a range of helper functions around the output of Yosys' `write_json`. Depending on the tasks, this may need to be flattened diff --git a/v2x/yosys/run.py b/v2x/yosys/run.py index ef2627e5..28521339 100755 --- a/v2x/yosys/run.py +++ b/v2x/yosys/run.py @@ -1,4 +1,14 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import json import os import re diff --git a/v2x/yosys/utils.py b/v2x/yosys/utils.py index f6c3597c..1afd4757 100644 --- a/v2x/yosys/utils.py +++ b/v2x/yosys/utils.py @@ -1,4 +1,14 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Copyright (C) 2020 The SymbiFlow Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC + import re CLOCK_NAME_REGEX = re.compile(r"[a-z_]*clk[a-z0-9]*$")