OpenCores
URL https://opencores.org/ocsvn/an-fpga-implementation-of-low-latency-noc-based-mpsoc/an-fpga-implementation-of-low-latency-noc-based-mpsoc/trunk

Subversion Repositories an-fpga-implementation-of-low-latency-noc-based-mpsoc

[/] [an-fpga-implementation-of-low-latency-noc-based-mpsoc/] [trunk/] [mpsoc/] [perl_gui/] [lib/] [perl/] [readme_gen.pl] - Blame information for rev 45

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 alirezamon
#! /usr/bin/perl -w
2
 
3
 
4 45 alirezamon
 
5 25 alirezamon
sub get_license_header {
6
        my $file_name=shift;
7 45 alirezamon
 
8 25 alirezamon
        my $head="
9
/**********************************************************************
10
**      File: $file_name
11
**
12 45 alirezamon
**      Copyright (C) 2014-$ProNOC::END_YEAR  Alireza Monemi
13 25 alirezamon
**
14
**      This file is part of ProNoC $ProNOC::VERSION
15
**
16
**      ProNoC ( stands for Prototype Network-on-chip)  is free software:
17
**      you can redistribute it and/or modify it under the terms of the GNU
18
**      Lesser General Public License as published by the Free Software Foundation,
19 34 alirezamon
**      either version 2 of the License, or (at your option) any later version.
20 25 alirezamon
**
21
**      ProNoC is distributed in the hope that it will be useful, but WITHOUT
22
**      ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
23
**      or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General
24
**      Public License for more details.
25
**
26
**      You should have received a copy of the GNU Lesser General Public
27 34 alirezamon
**      License along with ProNoC. If not, see <http:**www.gnu.org/licenses/>.
28 25 alirezamon
******************************************************************************/
29
";
30
 
31
 
32
return $head;
33
 
34
}
35
 
36
 
37
sub autogen_warning {
38
 
39
my $string ="
40
/**************************************************************************
41
**      WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
42
**      OVERWRITTEN AND LOST. Rename this file if you wish to do any modification.
43
****************************************************************************/\n\n";
44
 
45
return $string;
46
 
47
 
48
}
49
 
50
 
51
sub perl_file_header {
52
        my $file_name=shift;
53
my $head="#######################################################################
54
##      File: $file_name
55
##
56 45 alirezamon
##      Copyright (C) 2014-$ProNOC::END_YEAR  Alireza Monemi
57 25 alirezamon
##
58
##      This file is part of ProNoC $ProNOC::VERSION
59
##
60
##      WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT
61
##      MAY CAUSE UNEXPECTED BEHAIVOR.
62
################################################################################
63
 
64
";
65
return $head;
66
}
67
 
68
 
69
1;

powered by: WebSVN 2.1.0

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