Skip to content

Commit

Permalink
Merge pull request #16 from daniellimws/license-headers
Browse files Browse the repository at this point in the history
Add license header to top of all code files
  • Loading branch information
mithro authored Apr 20, 2020
2 parents 15f8403 + 5911dd4 commit accd7ba
Show file tree
Hide file tree
Showing 12 changed files with 116 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +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
#
# Sphinx Verilog documentation build configuration file, created by
# sphinx-quickstart on Mon Feb 5 11:04:37 2018.
#
Expand Down
10 changes: 10 additions & 0 deletions docs/verilog/adder.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 ADDER (
a, b, cin,
sum, cout
Expand Down
10 changes: 10 additions & 0 deletions docs/verilog/carry4-bits.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 "muxcy.v"
`include "xorcy.v"

Expand Down
10 changes: 10 additions & 0 deletions docs/verilog/carry4-whole.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 CARRY4(output [3:0] CO, O, input CI, CYINIT, input [3:0] DI, S);
assign O = S ^ {CO[2:0], CI | CYINIT};
assign CO[0] = S[0] ? CI | CYINIT : DI[0];
Expand Down
10 changes: 10 additions & 0 deletions docs/verilog/counter.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 top (
input clk,
output o
Expand Down
10 changes: 10 additions & 0 deletions docs/verilog/dff.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
*/

// Single flip-flip test.
module top(input clk, input di, output do);
always @( posedge clk )
Expand Down
10 changes: 10 additions & 0 deletions docs/verilog/lut4.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
*/

// 4-input LUT test.
module top(input [3:0] I, output O);
always @(I)
Expand Down
10 changes: 10 additions & 0 deletions docs/verilog/lutff.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 top (
input clk,
input [3:0] i,
Expand Down
10 changes: 10 additions & 0 deletions docs/verilog/muxcy.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 MUXCY(output O, input CI, DI, S);
assign O = S ? CI : DI;
endmodule
10 changes: 10 additions & 0 deletions docs/verilog/xorcy.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 XORCY(output O, input CI, LI);
assign O = CI ^ LI;
endmodule
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2020 The SymbiFlow Authors.
#
# Use of this source code is governed by a ISC-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/ISC
#
# SPDX-License-Identifier: ISC

import sys
from os import path
Expand Down
9 changes: 9 additions & 0 deletions sphinxcontrib_verilog_diagrams.py
Original file line number Diff line number Diff line change
@@ -1,5 +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

"""
sphinx_verilog_diagrams
~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit accd7ba

Please sign in to comment.