Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add license header to top of all code files #39

Merged
merged 7 commits into from
Apr 15, 2020
10 changes: 10 additions & 0 deletions tests/carry/carry.sim.v
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
10 changes: 10 additions & 0 deletions tests/carry/cblock/cblock.sim.v
Original file line number Diff line number Diff line change
@@ -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 *)
Expand Down
10 changes: 10 additions & 0 deletions tests/clocks/dff_comb_one_clock/dff_comb_one_clock.sim.v
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
10 changes: 10 additions & 0 deletions tests/clocks/dff_one_clock/dff_one_clock.sim.v
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
10 changes: 10 additions & 0 deletions tests/clocks/dff_two_clocks/dff_two_clocks.sim.v
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
10 changes: 10 additions & 0 deletions tests/clocks/input_attr_clock/input_attr_clock.sim.v
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
10 changes: 10 additions & 0 deletions tests/clocks/input_attr_not_clock/block.sim.v
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 10 additions & 0 deletions tests/clocks/input_named_clk/input_named_clk.sim.v
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
10 changes: 10 additions & 0 deletions tests/clocks/input_named_rdclk/input_named_rdclk.sim.v
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
10 changes: 10 additions & 0 deletions tests/clocks/input_named_regex/block.sim.v
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
10 changes: 10 additions & 0 deletions tests/clocks/output_attr_clock/output_attr_clock.sim.v
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
10 changes: 10 additions & 0 deletions tests/clocks/output_named_clk/output_named_clk.sim.v
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
10 changes: 10 additions & 0 deletions tests/clocks/output_named_rdclk/output_named_rdclk.sim.v
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
10 changes: 10 additions & 0 deletions tests/dsp/dsp_combinational/dsp_combinational.sim.v
Original file line number Diff line number Diff line change
@@ -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 *)
Expand Down
10 changes: 10 additions & 0 deletions tests/dsp/dsp_in_registered/dsp_in_registered.sim.v
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
10 changes: 10 additions & 0 deletions tests/dsp/dsp_inout_registered/dsp_inout_registered.sim.v
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
10 changes: 10 additions & 0 deletions tests/dsp/dsp_modes/dsp_modes.sim.v
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
10 changes: 10 additions & 0 deletions tests/dsp/dsp_out_registered/dsp_out_registered.sim.v
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
10 changes: 10 additions & 0 deletions tests/dsp/dsp_partial_registered/dsp_partial_registered.sim.v
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
10 changes: 10 additions & 0 deletions tests/internal_conn/child/child.sim.v
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
10 changes: 10 additions & 0 deletions tests/internal_conn/parent.sim.v
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
10 changes: 10 additions & 0 deletions tests/io/input/ipad.sim.v
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
10 changes: 10 additions & 0 deletions tests/io/output/opad.sim.v
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
10 changes: 10 additions & 0 deletions tests/logicbox/logicbox.sim.v
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
10 changes: 10 additions & 0 deletions tests/modes/inv.sim.v
Original file line number Diff line number Diff line change
@@ -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" *)
Expand Down
Loading