OpenCores
URL https://opencores.org/ocsvn/usb_fpga_2_13/usb_fpga_2_13/trunk

Subversion Repositories usb_fpga_2_13

[/] [usb_fpga_2_13/] [trunk/] [makecopyright] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ZTEX
#!/bin/bash
2
#
3
# makecopyright - put a copyright info into source files
4
# Copyright (C) 2009-2014 ZTEX GmbH., http://www.ztex.de
5
#
6
 
7
# writes the copyright info to stdout
8
# $1    short description
9
# $2    begin of comment
10
# $3    end of comment
11
msg () {
12
echo "$2
13
   $1
14
   Copyright (C) 2009-2014 ZTEX GmbH.
15
   http://www.ztex.de
16
 
17
   This program is free software; you can redistribute it and/or modify
18
   it under the terms of the GNU General Public License version 3 as
19
   published by the Free Software Foundation.
20
 
21
   This program is distributed in the hope that it will be useful, but
22
   WITHOUT ANY WARRANTY; without even the implied warranty of
23
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24
   General Public License for more details.
25
 
26
   You should have received a copy of the GNU General Public License
27
   along with this program; if not, see http://www.gnu.org/licenses/.
28
$3"
29
}
30
 
31
readonly=no
32
 
33
# copyright info for single file
34
# $1    file
35
# $2    short description
36
# $3    begin of comment
37
# $4    end of comment
38
singlefile () {
39
#    if [ ! -f "$1" -o -f "$1.tmp" ]; then
40
    if [ ! -f "$1" ]; then
41
        return
42
    fi
43
    echo "$1"
44
    if [ "$readonly" = "no" ]; then
45
        mv "$1" "$1.tmp"
46
        (
47
            msg "$2" "$3" "$4"
48
            echo "@@@define[$3][$4
49
][]" | bmp -mm "@@@" - "$1.tmp"
50
        ) > "$1"
51
        rm -f "$1.tmp"
52
    fi
53
    echo "$1" >> files.tmp
54
}
55
 
56
 
57
# copyright info for single directory
58
# $1    dir(s)
59
# $2    description
60
singledir () {
61
    if [ ! -d $1 ]; then
62
        echo "Directory not found: $1"
63
    fi
64
    for i in $1/*.pas $1/*.inc; do
65
        singlefile "$i" "$2" "{*!" "!*}"
66
    done
67
    for i in $1/*.c $1/*.h $1/*.java $1/fpga/*.v; do
68
        singlefile "$i" "$2" "/*!" "!*/"
69
    done
70
}
71
 
72
rm -f files.tmp
73
 
74
singledir bmp/src "bmp -- babel macro processor"
75
singledir include "ZTEX Firmware Kit for EZ-USB FX2 Microcontrollers"
76
 
77
singledir java/ztex "Java host software API of ZTEX SDK"
78
singledir java/FWLoader "Firmware / Bitstream loader for ZTEX USB-FPGA Modules"
79
singledir java/DeviceServer "DeviceServer for the ZTEX USB-FPGA Modules"
80
 
81
singledir default/usb-fpga-1.15 "Default firmware and loader for ZTEX USB-FPGA Modules 1.15"
82
singledir default/usb-fpga-1.15y "Default firmware and loader for ZTEX USB-FPGA Modules 1.15y"
83
singledir default/usb-fpga-2.13 "Default firmware and loader for ZTEX USB-FPGA Modules 2.13"
84
singledir default/usb-fpga-2.16 "Default firmware and loader for ZTEX USB-FPGA Modules 2.16"
85
 
86
singledir examples/all/debug "debug -- debug helper example"
87
singledir examples/all/ucecho "ucecho -- uppercase conversion example for all EZ-USB devices"
88
singledir examples/all/ucecho/c "UCEcho -- C host software for ucecho examples"
89
 
90
singledir examples/usb-1.0/flashbench "flashbench -- Flash memory benchmark for ZTEX USB Module 1.0"
91
singledir examples/usb-1.0/flashdemo "flashdemo -- demo for Flash memory access from firmware and host software for ZTEX USB Module 1.0"
92
 
93
singledir examples/usb-fpga-1.2/flashbench "flashbench -- Flash memory benchmark for ZTEX USB-FPGA Module 1.2"
94
singledir examples/usb-fpga-1.2/flashdemo "flashdemo -- demo for Flash memory access from firmware and host software for ZTEX USB-FPGA Module 1.2"
95
singledir examples/usb-fpga-1.2/intraffic "intraffic -- example showing how the EZ-USB FIFO interface is used on ZTEX USB-FPGA Module 1.2"
96
singledir examples/usb-fpga-1.2/lightshow "lightshow -- lightshow on ZTEX USB-FPGA Module 1.2 plus Experimental Board 1.10"
97
singledir examples/usb-fpga-1.2/standalone "standalone -- standalone firmware that supports FPGA configuration from Flash firmware loading from EEPROM for ZTEX USB-FPGA Module 1.2"
98
singledir examples/usb-fpga-1.2/ucecho "ucecho -- uppercase conversion example for ZTEX USB-FPGA Module 1.2"
99
singledir examples/usb-fpga-1.2/nvmtest "nvmtest -- ATxmega non volatile memory test on ZTEX USB-FPGA Modules 1.2 plus Experimental Board 1.10"
100
 
101
singledir examples/usb-fpga-1.11/flashbench "flashbench -- Flash memory benchmark for ZTEX USB-FPGA Modules 1.11"
102
singledir examples/usb-fpga-1.11/flashdemo "flashdemo -- demo for Flash memory access from firmware and host software for ZTEX USB-FPGA Modules 1.11"
103
singledir examples/usb-fpga-1.11/nvmtest "nvmtest -- ATxmega non volatile memory test on ZTEX USB-FPGA Modules 1.11 plus Experimental Board 1.10"
104
singledir examples/usb-fpga-1.11/standalone "standalone -- standalone firmware that supports FPGA configuration from Flash firmware loading from EEPROM for ZTEX USB-FPGA Modules 1.11"
105
singledir examples/usb-fpga-1.11/1.11a/intraffic "intraffic -- example showing how the EZ-USB FIFO interface is used on ZTEX USB-FPGA Module 1.11a"
106
singledir examples/usb-fpga-1.11/1.11a/lightshow "lightshow -- lightshow on ZTEX USB-FPGA Module 1.11a plus Experimental Board 1.10"
107
singledir examples/usb-fpga-1.11/1.11a/memtest "memtest -- DDR SDRAM FIFO for testing memory on ZTEX USB-FPGA Module 1.11a"
108
singledir examples/usb-fpga-1.11/1.11a/ucecho "ucecho -- uppercase conversion example for ZTEX USB-FPGA Module 1.11a"
109
singledir examples/usb-fpga-1.11/1.11b/intraffic "intraffic -- example showing how the EZ-USB FIFO interface is used on ZTEX USB-FPGA Module 1.11b"
110
singledir examples/usb-fpga-1.11/1.11b/lightshow "lightshow -- lightshow on ZTEX USB-FPGA Module 1.11b plus Experimental Board 1.10"
111
singledir examples/usb-fpga-1.11/1.11b/memtest "memtest -- DDR SDRAM FIFO for testing memory on ZTEX USB-FPGA Module 1.11b"
112
singledir examples/usb-fpga-1.11/1.11b/ucecho "ucecho -- uppercase conversion example for ZTEX USB-FPGA Module 1.11b"
113
singledir examples/usb-fpga-1.11/1.11c/intraffic "intraffic -- example showing how the EZ-USB FIFO interface is used on ZTEX USB-FPGA Module 1.11c"
114
singledir examples/usb-fpga-1.11/1.11c/lightshow "lightshow -- lightshow on ZTEX USB-FPGA Module 1.11c plus Experimental Board 1.10"
115
singledir examples/usb-fpga-1.11/1.11c/memtest "memtest -- DDR SDRAM FIFO for testing memory on ZTEX USB-FPGA Module 1.11c"
116
singledir examples/usb-fpga-1.11/1.11c/ucecho "ucecho -- uppercase conversion example for ZTEX USB-FPGA Module 1.11c"
117
 
118
singledir examples/usb-fpga-1.15/flashbench "flashbench -- Flash memory benchmark for ZTEX USB-FPGA Modules 1.15"
119
singledir examples/usb-fpga-1.15/flashdemo "flashdemo -- demo for Flash memory access from firmware and host software for ZTEX USB-FPGA Modules 1.15"
120
singledir examples/usb-fpga-1.15/nvmtest "nvmtest -- ATxmega non volatile memory test on ZTEX USB-FPGA Modules 1.15 plus Experimental Board 1.10"
121
singledir examples/usb-fpga-1.15/standalone "standalone -- standalone firmware that supports FPGA configuration from Flash firmware loading from EEPROM for ZTEX USB-FPGA Modules 1.15"
122
singledir examples/usb-fpga-1.15/1.15a/intraffic "intraffic -- example showing how the EZ-USB FIFO interface is used on ZTEX USB-FPGA Module 1.15b"
123
singledir examples/usb-fpga-1.15/1.15a/lightshow "lightshow -- lightshow on ZTEX USB-FPGA Module 1.15a plus Experimental Board 1.10"
124
singledir examples/usb-fpga-1.15/1.15a/memtest "memtest -- DDR2 SDRAM FIFO for testing memory on ZTEX USB-FPGA Module 1.15a"
125
singledir examples/usb-fpga-1.15/1.15a/mmio "mmio -- Memory mapped I/O example for ZTEX USB-FPGA Module 1.15a"
126
singledir examples/usb-fpga-1.15/1.15a/ucecho "ucecho -- uppercase conversion example for ZTEX USB-FPGA Module 1.15a"
127
singledir examples/usb-fpga-1.15/1.15b/intraffic "intraffic -- example showing how the EZ-USB FIFO interface is used on ZTEX USB-FPGA Module 1.15b"
128
singledir examples/usb-fpga-1.15/1.15b/lightshow "lightshow -- lightshow on ZTEX USB-FPGA Module 1.15b plus Experimental Board 1.10"
129
singledir examples/usb-fpga-1.15/1.15b/memtest "memtest -- DDR2 SDRAM FIFO for testing memory on ZTEX USB-FPGA Module 1.15b"
130
singledir examples/usb-fpga-1.15/1.15b/mmio "mmio -- Memory mapped I/O example for ZTEX USB-FPGA Module 1.15b"
131
singledir examples/usb-fpga-1.15/1.15b/ucecho "ucecho -- uppercase conversion example for ZTEX USB-FPGA Module 1.15b"
132
singledir examples/usb-fpga-1.15/1.15d/intraffic "intraffic -- example showing how the EZ-USB FIFO interface is used on ZTEX USB-FPGA Module 1.15b"
133
singledir examples/usb-fpga-1.15/1.15d/lightshow "lightshow -- lightshow on ZTEX USB-FPGA Module 1.15d plus Experimental Board 1.10"
134
singledir examples/usb-fpga-1.15/1.15d/memtest "memtest -- DDR2 SDRAM FIFO for testing memory on ZTEX USB-FPGA Module 1.15d and 1.15x"
135
singledir examples/usb-fpga-1.15/1.15d/mmio "mmio -- Memory mapped I/O example for ZTEX USB-FPGA Module 1.15d and 1.15x"
136
singledir examples/usb-fpga-1.15/1.15d/ucecho "ucecho -- uppercase conversion example for ZTEX USB-FPGA Module 1.15d and 1.15x"
137
 
138
singledir examples/usb-fpga-2.13/flashbench "flashbench -- Flash memory benchmark for ZTEX USB-FPGA Modules 2.13"
139
singledir examples/usb-fpga-2.13/flashdemo "flashdemo -- demo for Flash memory access from firmware and host software for ZTEX USB-FPGA Modules 2.13"
140
singledir examples/usb-fpga-2.13/2.13d/memfifo "memfifo -- implementation of EZ-USB slave FIFO's (input and output) a FIFO using the DDR3 SDRAM for ZTEX USB-FPGA Modules 2.13"
141
singledir examples/usb-fpga-2.13/2.13d/ucecho "ucecho -- uppercase conversion and bitstream encryption example for ZTEX USB-FPGA Module 2.13"
142
 
143
singledir examples/usb-fpga-2.16/flashbench "flashbench -- Flash memory benchmark for ZTEX USB-FPGA Modules 2.16"
144
singledir examples/usb-fpga-2.16/flashdemo "flashdemo -- demo for Flash memory access from firmware and host software for ZTEX USB-FPGA Modules 2.16"
145
singledir examples/usb-fpga-2.16/2.16b/intraffic "intraffic -- example showing how the EZ-USB FIFO interface is used on ZTEX USB-FPGA Module 2.16b"
146
singledir examples/usb-fpga-2.16/2.16b/mmio "mmio -- Memory mapped I/O example for ZTEX USB-FPGA Module 2.16b"
147
singledir examples/usb-fpga-2.16/2.16b/ucecho "ucecho -- uppercase conversion and bitstream encryption example for ZTEX USB-FPGA Module 2.16b"
148
 
149
singledir examples/usb-fpga-1.15y/intraffic "intraffic -- example showing how the EZ-USB FIFO interface is used on ZTEX USB-FPGA Module 1.15y and 1.15y2"
150
singledir examples/usb-fpga-1.15y//ucecho "ucecho -- uppercase conversion example for ZTEX USB-FPGA Module 1.15b and 1.15y2"
151
 
152
singledir examples/usb-xmega-1.0/flashbench "flashbench -- Flash memory benchmark for ZTEX USB-XMEGA Module 1.0"
153
singledir examples/usb-xmega-1.0/flashdemo "flashdemo -- demo for Flash memory access from firmware and host software for ZTEX USB-XMEGA Module 1.0"
154
singledir examples/usb-xmega-1.0/nvmtest "nvmtest -- ATxmega non volatile memory test on ZTEX USB-XMEGA Module 1.0"
155
singledir examples/usb-xmega-1.0/ucecho "ucecho -- uppercase conversion example for ZTEX USB-XMEGA Module 1.0"
156
 
157
#files=`cat files.tmp`
158
#wc $files
159
rm -f files.tmp

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.