Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Commit 47553b8

Browse files
authored
Make REUSE copyright notice the same as in other VILLASframework projects and fix comments (#82)
This edits the headers in every file so the copyright notice mentions RWTH Aachen University. We also update some copyright years and fix various comments so the header is the same across all of VILLASframework. * Harmonize comment and code-style Signed-off-by: Steffen Vogel <[email protected]> * Harmonize comment and code-style Signed-off-by: Steffen Vogel <[email protected]> --------- Signed-off-by: Steffen Vogel <[email protected]>
1 parent 1d1e492 commit 47553b8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+288
-309
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Project-wide dockerignore file
22
#
3-
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
3+
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
44
# SPDX-License-Identifier: Apache-2.0
55

66
*

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# EditorConfig is awesome: http://EditorConfig.org
22
#
3-
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
3+
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
44
# SPDX-License-Identifier: Apache-2.0
55

66
# top-most EditorConfig file

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Project-wide gitignore file
22
#
3-
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
3+
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
44
# SPDX-License-Identifier: Apache-2.0
55

66
build/

.gitlab-ci.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# GitLab CI configuration
22
#
3-
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
3+
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
44
# SPDX-License-Identifier: Apache-2.0
55

66
variables:
@@ -10,24 +10,11 @@ variables:
1010
DOCKER_IMAGE_DEV: villas/fpga-dev
1111

1212
stages:
13-
- lint
1413
- prepare
1514
- build
1615
- test
1716

18-
# Stage: lint
19-
##############################################################################
20-
21-
reuse:
22-
stage: lint
23-
image:
24-
name: fsfe/reuse:latest
25-
entrypoint: [""]
26-
script:
27-
- reuse lint
28-
2917
# Stage: prepare
30-
##############################################################################
3118

3219
# Build docker image which is used to build & test VILLASnode
3320
docker-dev:
@@ -38,7 +25,6 @@ docker-dev:
3825
- docker
3926

4027
# Stage: build
41-
##############################################################################
4228

4329
build:source:
4430
stage: build
@@ -54,7 +40,6 @@ build:source:
5440
- docker
5541

5642
# Stage: test
57-
##############################################################################
5843

5944
test:unit:
6045
stage: test
@@ -102,3 +87,11 @@ test:cppcheck:
10287
paths:
10388
- cppcheck.log
10489
expose_as: cppcheck
90+
91+
test:reuse:
92+
stage: test
93+
image:
94+
name: fsfe/reuse:latest
95+
entrypoint: [""]
96+
script:
97+
- reuse lint

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Git submodule list
22
#
3-
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
3+
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
44
# SPDX-License-Identifier: Apache-2.0
55

66
[submodule "common"]

.reuse/dep5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ Upstream-Contact: Steffen Vogel <[email protected]>
44
Source: https://fein-aachen.org/en/projects/villas-fpga/
55

66
Files: .vscode/* doc/pictures/* etc/**.json
7-
Copyright: 2018-2022, Institute for Automation of Complex Power Systems, EONERC
7+
Copyright: 2018-2023, Institute for Automation of Complex Power Systems, RWTH Aachen University
88
License: Apache-2.0

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
<!--
4+
SPDX-FileCopyrightText: 2023 OPAL-RT Germany GmbH
5+
SPDX-License-Identifier: Apache-2.0
6+
-->
7+
38
All notable changes to this project will be documented in this file.
49

510
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
@@ -23,8 +28,3 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2328

2429
- Sourcecode import from VILLASnode project:
2530
http://git.rwth-aachen.de/VILLASframework/VILLASnode
26-
27-
## License
28-
29-
SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
30-
SPDX-License-Identifier: Apache-2.0

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
## CMakeLists.txt
22
#
33
# Author: Daniel Krebs <[email protected]>
4-
# SPDX-FileCopyrightText: 2018 Institute for Automation of Complex Power Systems, EONERC
4+
# SPDX-FileCopyrightText: 2018 Institute for Automation of Complex Power Systems, RWTH Aachen University
55
# SPDX-License-Identifier: Apache-2.0
6-
##############################################################################
76

87
cmake_minimum_required(VERSION 3.5)
98

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
# make docker
1010
#
1111
# Author: Steffen Vogel <[email protected]>
12-
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
12+
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
1313
# SPDX-License-Identifier: Apache-2.0
14-
###################################################################################
1514

1615
FROM rockylinux:9
1716

LICENSES/BSD-3-Clause.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2017 Institute for Automation of Complex Power Systems, EONERC.
1+
Copyright (c) 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University.
22

33
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
44

LICENSES/WTFPL.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
22
Version 2, December 2004
33

4-
Copyright (C) 2017 Institute for Automation of Complex Power Systems, EONERC
4+
Copyright (C) 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
55

66
Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.
77

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,14 @@ VILLASfpga supports Xilinx FPGAs connected to a Linux system via PCI-Express or
99

1010
User documentation is available here: <https://villas.fein-aachen.org/doc/fpga.html>
1111

12-
## Copyright
13-
14-
- 2022 Niklas Eiling <[email protected]>
15-
- 2018-2022 Steffen Vogel <[email protected]>
16-
- 2018 Daniel Krebs <[email protected]>
17-
1812
## License
1913

2014
This project is released under the terms of the [Apache 2.0](LICENSE) license:
2115

22-
SPDX-FileCopyrightText: 2022-2023 Niklas Eiling
23-
SPDX-FileCopyrightText: 2018-2023 Steffen Vogel
24-
SPDX-FileCopyrightText: 2018 Daniel Krebs
25-
SPDX-License-Identifier: Apache-2.0
16+
- SPDX-FileCopyrightText: 2022-2023 Niklas Eiling <[email protected]>
17+
- SPDX-FileCopyrightText: 2018-2023 Steffen Vogel <[email protected]>
18+
- SPDX-FileCopyrightText: 2018 Daniel Krebs <[email protected]>
19+
- SPDX-License-Identifier: Apache-2.0
2620

2721
We kindly ask all academic publications employing components of VILLASframework to cite one of the following papers:
2822

cmake/FindCriterion.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
# CRITERION_INCLUDE_DIRS - The Criterion include directories
66
# CRITERION_LIBRARIES - The libraries needed to use Criterion
77
#
8-
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
8+
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
99
# SPDX-License-Identifier: WTFPL
10-
##############################################################################
1110

1211
find_package(PkgConfig)
1312

@@ -20,7 +19,8 @@ set(CRITERION_LIBRARIES ${CRITERION_LIBRARY})
2019
set(CRITERION_INCLUDE_DIRS ${CRITERION_INCLUDE_DIR})
2120

2221
include(FindPackageHandleStandardArgs)
23-
# handle the QUIET and REQUIRED arguments and set CRITERION_FOUND to TRUE
22+
23+
# Handle the QUIET and REQUIRED arguments and set CRITERION_FOUND to TRUE
2424
# if all listed variables are TRUE
2525
find_package_handle_standard_args(Criterion DEFAULT_MSG
2626
CRITERION_LIBRARY CRITERION_INCLUDE_DIR)

gpu/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
## CMakeLists.txt
22
#
33
# Author: Daniel Krebs <[email protected]>
4-
# SPDX-FileCopyrightText: 2018 Institute for Automation of Complex Power Systems, EONERC
4+
# SPDX-FileCopyrightText: 2018 Institute for Automation of Complex Power Systems, RWTH Aachen University
55
# SPDX-License-Identifier: Apache-2.0
6-
##############################################################################
76

87
cmake_minimum_required(VERSION 3.8)
98

gpu/include/villas/gpu.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
/** GPU managment.
1+
/* GPU managment.
22
*
33
* Author: Daniel Krebs <[email protected]>
4-
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
4+
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
55
* SPDX-License-Identifier: Apache-2.0
6-
*********************************************************************************/
6+
*/
77

88
#pragma once
99

@@ -96,5 +96,5 @@ class GpuFactory : public Plugin {
9696
Logger logger;
9797
};
9898

99-
} /* namespace villas */
100-
} /* namespace gpu */
99+
} // namespace villas
100+
} // namespace gpu

gpu/kernels.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
/** GPU Kernels.
1+
/* GPU Kernels.
22
*
33
* Author: Daniel Krebs <[email protected]>
4-
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
4+
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
55
* SPDX-License-Identifier: Apache-2.0
6-
*********************************************************************************/
6+
*/
77

88
#pragma once
99

@@ -19,5 +19,5 @@ kernel_mailbox(volatile uint32_t *mailbox, volatile uint32_t* counter);
1919
__global__ void
2020
kernel_memcpy(volatile uint8_t* dst, volatile uint8_t* src, size_t length);
2121

22-
} /* namespace villas */
23-
} /* namespace gpu */
22+
} // namespace villas
23+
} // namespace gpu

gpu/src/gpu.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
/** GPU managment.
1+
/* GPU managment.
22
*
33
* Author: Daniel Krebs <[email protected]>
4-
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
4+
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
55
* SPDX-License-Identifier: Apache-2.0
6-
*********************************************************************************/
6+
*/
77

88
#include <cstdio>
99
#include <cstdint>

gpu/src/kernels.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** GPU Kernels.
22
*
33
* Author: Daniel Krebs <[email protected]>
4-
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
4+
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
55
* SPDX-License-Identifier: Apache-2.0
66
*********************************************************************************/
77

include/villas/fpga/card.hpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
/** FPGA card
1+
/* FPGA card
22
*
33
* This class represents a FPGA device.
44
*
55
* Author: Steffen Vogel <[email protected]>
66
* Author: Daniel Krebs <[email protected]>
7-
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
7+
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
88
* SPDX-License-Identifier: Apache-2.0
9-
*********************************************************************************/
9+
*/
10+
1011
#pragma once
1112

1213
#include <set>
@@ -52,5 +53,5 @@ class Card
5253
Logger logger;
5354
};
5455

55-
} /* namespace fpga */
56-
} /* namespace villas */
56+
} // namespace fpga
57+
} // namespace villas

include/villas/fpga/config.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/** Compile time configuration
1+
/* Compile time configuration
22
*
33
* This file contains some compiled-in settings.
44
* This settings are not part of the configuration file.
55
*
66
* Author: Steffen Vogel <[email protected]>
7-
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
7+
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
88
* SPDX-License-Identifier: Apache-2.0
9-
*********************************************************************************/
9+
*/
1010

1111
#pragma once
1212

@@ -15,6 +15,6 @@
1515
#define FPGA_PCI_VID_XILINX 0x10ee
1616
#define FPGA_PCI_PID_VFPGA 0x7022
1717

18-
/** AXI Bus frequency for all components
18+
/* AXI Bus frequency for all components
1919
* except RTDS AXI Stream bridge which runs at RTDS_HZ (100 Mhz) */
2020
#define FPGA_AXI_HZ 125000000 // 125 MHz

include/villas/fpga/core.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/** Interlectual Property component.
1+
/* Interlectual Property component.
22
*
33
* This class represents a module within the FPGA.
44
*
55
* Author: Steffen Vogel <[email protected]>
66
* Author: Daniel Krebs <[email protected]>
7-
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC
7+
* SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
88
* SPDX-License-Identifier: Apache-2.0
9-
*********************************************************************************/
9+
*/
1010

1111
#pragma once
1212

@@ -342,6 +342,6 @@ virtual
342342
};
343343
};
344344

345-
} /* namespace ip */
346-
} /* namespace fpga */
347-
} /* namespace villas */
345+
} // namespace ip
346+
} // namespace fpga
347+
} // namespace villas

include/villas/fpga/dma.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
/** C bindings for VILLASfpga
1+
/* C bindings for VILLASfpga
22
*
33
* Author: Niklas Eiling <[email protected]>
44
* SPDX-FileCopyrightText: 2023 Niklas Eiling <[email protected]>
55
* SPDX-License-Identifier: Apache-2.0
6-
******************************************************************************/
6+
*/
77

88
#ifndef _VILLASFPGA_DMA_H
99
#define _VILLASFPGA_DMA_H
@@ -36,4 +36,4 @@ int villasfpga_write_complete(villasfpga_handle handle, size_t *size);
3636
} // extern "C"
3737
#endif
3838

39-
#endif /* _VILLASFPGA_DMA_H */
39+
#endif // _VILLASFPGA_DMA_H

include/villas/fpga/ips/aurora.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
/** Driver for wrapper around Aurora (acs.eonerc.rwth-aachen.de:user:aurora)
1+
/* Driver for wrapper around Aurora (acs.eonerc.rwth-aachen.de:user:aurora)
22
*
33
* Author: Hatim Kanchwala <[email protected]>
4-
* SPDX-FileCopyrightText: 2020 Institute for Automation of Complex Power Systems, EONERC
4+
* SPDX-FileCopyrightText: 2020 Institute for Automation of Complex Power Systems, RWTH Aachen University
55
* SPDX-License-Identifier: Apache-2.0
6-
*********************************************************************************/
6+
*/
77

88
#pragma once
99

@@ -50,6 +50,6 @@ class Aurora : public Node {
5050
static constexpr const char registerMemory[] = "reg0";
5151
};
5252

53-
} /* namespace ip */
54-
} /* namespace fpga */
55-
} /* namespace villas */
53+
} // namespace ip
54+
} // namespace fpga
55+
} // namespace villas

0 commit comments

Comments
 (0)