Skip to content

Commit

Permalink
updated headers in apps folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Pasquale Davide Schiavone committed Jul 27, 2017
1 parent afcc439 commit 78449c9
Show file tree
Hide file tree
Showing 167 changed files with 2,393 additions and 277 deletions.
14 changes: 14 additions & 0 deletions sw/apps/Arduino_tests/GPIO_test/GPIO_test.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/

#include <main.cpp>

Expand Down
14 changes: 14 additions & 0 deletions sw/apps/Arduino_tests/PWM_test/PWM_test.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/

#include <main.cpp>

Expand Down
14 changes: 14 additions & 0 deletions sw/apps/Arduino_tests/PulseIn_test/PulseIn_test.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/

#include <main.cpp>

Expand Down
14 changes: 14 additions & 0 deletions sw/apps/Arduino_tests/SPI_test/SPI_test.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/

#include "SPI.h"

Expand Down
21 changes: 15 additions & 6 deletions sw/apps/Arduino_tests/UART_test/UART_test.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
//Output shoud be : 101 decimal
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/

#include "main.cpp"

byte thisByte=0;


void setup() {

pinMode(0,OUTPUT);
Serial.begin(781250);

}

void loop(){
Expand All @@ -18,9 +29,7 @@ void loop(){
delayMicroseconds(100);

if (Serial.available())
thisByte=Serial.read();


thisByte=Serial.read();

Serial.write(thisByte);
Serial.print(", dec: ");
Expand Down
14 changes: 14 additions & 0 deletions sw/apps/Arduino_tests/int_test/int_test.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/

#include <main.cpp>

Expand Down
14 changes: 14 additions & 0 deletions sw/apps/Arduino_tests/shift_test/shift_test.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/

#include <main.cpp>

Expand Down
14 changes: 14 additions & 0 deletions sw/apps/Arduino_tests/timer_test/timer_test.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/

#include <main.cpp>

Expand Down
14 changes: 14 additions & 0 deletions sw/apps/Arduino_tests/wire_test/wire_test.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/

#include "Wire.h"
#include <main.cpp>
Expand Down
23 changes: 14 additions & 9 deletions sw/apps/bench/common.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
// Copyright 2016 ETH Zurich and University of Bologna.
// Copyright and related rights are licensed under the Solderpad Hardware
// License, Version 0.51 (the “License”); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// http://solderpad.org/licenses/SHL-0.51. Unless required by applicable law
// or agreed to in writing, software, hardware and materials distributed under
// this License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
// specific language governing permissions and limitations under the License.
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/

#ifndef COMMON_H
#define COMMON_H
Expand Down
14 changes: 14 additions & 0 deletions sw/apps/bench/conv2d/conv2d.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/
#include "common.h"

void conv2d(int16_t *restrict mat, int16_t * restrict res,
Expand Down
14 changes: 14 additions & 0 deletions sw/apps/bench/conv2d/conv2d_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/
#include "common.h"

#define IMG_SIZE 10
Expand Down
23 changes: 14 additions & 9 deletions sw/apps/bench/crc32.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
// Copyright 2016 ETH Zurich and University of Bologna.
// Copyright and related rights are licensed under the Solderpad Hardware
// License, Version 0.51 (the “License”); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// http://solderpad.org/licenses/SHL-0.51. Unless required by applicable law
// or agreed to in writing, software, hardware and materials distributed under
// this License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
// specific language governing permissions and limitations under the License.
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/

#include "common.h"

Expand Down
14 changes: 14 additions & 0 deletions sw/apps/bench/fft/fft.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/
#include "common.h"

static short wprBase[] __sram = {
Expand Down
14 changes: 14 additions & 0 deletions sw/apps/bench/fft/fft_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/
#include "common.h"

#define NINPUTS 256
Expand Down
14 changes: 14 additions & 0 deletions sw/apps/bench/fir/fir.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/
#include "../common.h"

void fir(const int16_t *arr, const int16_t *coeff, int16_t *output,
Expand Down
14 changes: 14 additions & 0 deletions sw/apps/bench/fir/fir_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/
#include "common.h"

static int16_t input[] __sram = {
Expand Down
24 changes: 15 additions & 9 deletions sw/apps/bench/main.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
// Copyright 2016 ETH Zurich and University of Bologna.
// Copyright and related rights are licensed under the Solderpad Hardware
// License, Version 0.51 (the “License”); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// http://solderpad.org/licenses/SHL-0.51. Unless required by applicable law
// or agreed to in writing, software, hardware and materials distributed under
// this License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
// specific language governing permissions and limitations under the License.
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/


#include <stdio.h>
#include "timer.h"
Expand Down
14 changes: 14 additions & 0 deletions sw/apps/bench/matmul/matmul16.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright (C) 2017 ETH Zurich, University of Bologna
* All rights reserved.
*
* This code is under development and not yet released to the public.
* Until it is released, the code is under the copyright of ETH Zurich and
* the University of Bologna, and may contain confidential and/or unpublished
* work. Any reuse/redistribution is strictly forbidden without written
* permission from ETH Zurich.
*
* Bug fixes and contributions will eventually be released under the
* SolderPad open hardware license in the context of the PULP platform
* (http://www.pulp-platform.org), under the copyright of ETH Zurich and the
* University of Bologna.
*/
#include "matmul_impl.h"
#include "common.h"
#include "matmul_impl.h"
Expand Down
Loading

0 comments on commit 78449c9

Please sign in to comment.