Skip to content

Commit

Permalink
refactor: complete license headers for rtl code
Browse files Browse the repository at this point in the history
  • Loading branch information
joennlae committed Nov 14, 2023
1 parent 112874b commit c76a226
Show file tree
Hide file tree
Showing 14 changed files with 76 additions and 2 deletions.
6 changes: 6 additions & 0 deletions hardware/rtl/fp_16_32_adder.sv
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright 2023 ETH Zurich and University of Bologna.
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
//
// Author: Jannis Schönleber, ETH Zurich

module fp_16_32_adder (
input logic signed [16-1:0] operand_fp16_i,
input logic signed [32-1:0] operand_fp32_i,
Expand Down
5 changes: 5 additions & 0 deletions hardware/rtl/fp_16_comparision.sv
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright 2023 ETH Zurich and University of Bologna.
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
//
// Author: Jannis Schönleber, ETH Zurich

module fp_16_comparision (
input logic signed [16-1:0] operand_a_i,
Expand Down
6 changes: 6 additions & 0 deletions hardware/rtl/fp_16_to_32_convert.sv
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright 2023 ETH Zurich and University of Bologna.
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
//
// Author: Jannis Schönleber, ETH Zurich

module fp_16_to_32_convert (
input logic signed [16-1:0] operand_fp16_i,
output logic signed [32-1:0] result_o
Expand Down
6 changes: 6 additions & 0 deletions hardware/rtl/fp_adder.sv
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright 2023 ETH Zurich and University of Bologna.
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
//
// Author: Jannis Schönleber, ETH Zurich

module fp_adder #(
parameter int unsigned C_OP = fp_defs::C_OP,
parameter int unsigned C_EXP = fp_defs::C_EXP,
Expand Down
7 changes: 7 additions & 0 deletions hardware/rtl/fp_defs_pkg.sv
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// Copyright 2023 ETH Zurich and University of Bologna.
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
//
// Author: Jannis Schönleber, ETH Zurich


`define RM_NEAREST 2'h0
`define RM_TRUNC 2'h1
`define RM_PLUSINF 2'h2
Expand Down
6 changes: 6 additions & 0 deletions hardware/rtl/halut_decoder.sv
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright 2023 ETH Zurich and University of Bologna.
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
//
// Author: Jannis Schönleber, ETH Zurich

module halut_decoder #(
parameter int unsigned K = halut_pkg::K,
parameter int unsigned C = halut_pkg::C,
Expand Down
6 changes: 6 additions & 0 deletions hardware/rtl/halut_decoder_x.sv
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright 2023 ETH Zurich and University of Bologna.
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
//
// Author: Jannis Schönleber, ETH Zurich

module halut_decoder_x #(
parameter int unsigned DecoderUnits = halut_pkg::DecoderUnits,
// how many decoders, needs to be overflowing!!
Expand Down
6 changes: 6 additions & 0 deletions hardware/rtl/halut_encoder.sv
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright 2023 ETH Zurich and University of Bologna.
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
//
// Author: Jannis Schönleber, ETH Zurich

module halut_encoder #(
parameter int unsigned K = halut_pkg::K,
parameter int unsigned C = halut_pkg::C,
Expand Down
6 changes: 6 additions & 0 deletions hardware/rtl/halut_encoder_4.sv
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright 2023 ETH Zurich and University of Bologna.
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
//
// Author: Jannis Schönleber, ETH Zurich

module halut_encoder_4 #(
parameter int unsigned K = halut_pkg::K,
parameter int unsigned C = halut_pkg::C,
Expand Down
5 changes: 5 additions & 0 deletions hardware/rtl/halut_matmul.sv
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright 2023 ETH Zurich and University of Bologna.
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
//
// Author: Jannis Schönleber, ETH Zurich

module halut_matmul #(
parameter int unsigned K = halut_pkg::K,
Expand Down
6 changes: 5 additions & 1 deletion hardware/rtl/halut_pkg.sv
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

// Copyright 2023 ETH Zurich and University of Bologna.
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
//
// Author: Jannis Schönleber, ETH Zurich

package halut_pkg;

Expand Down
6 changes: 6 additions & 0 deletions hardware/rtl/mixed_int_adder.sv
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright 2023 ETH Zurich and University of Bologna.
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
//
// Author: Jannis Schönleber, ETH Zurich

module mixed_int_adder #(
parameter int unsigned IN_WIDTH = 8,
parameter int unsigned OUT_WIDTH = 32
Expand Down
1 change: 0 additions & 1 deletion hardware/rtl/register_file_mem_latch.sv
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

// Adapted by Jannis Schönleber 2022


module register_file_mem_latch #(
parameter int unsigned AddrWidth = 4,
parameter int unsigned DataWidth = 16
Expand Down
6 changes: 6 additions & 0 deletions hardware/rtl/scm.sv
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright lowRISC contributors.
// Copyright 2018 ETH Zurich and University of Bologna, see also CREDITS.md.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0

// Adapted by Jannis Schönleber 2022

module scm #(
parameter int unsigned C = 32,
Expand Down

0 comments on commit c76a226

Please sign in to comment.