Skip to content

Commit 6fc64c5

Browse files
committed
Updated license header in som vhdl files after merge of #35 that cause license header check to fail
1 parent 9191748 commit 6fc64c5

7 files changed

Lines changed: 26 additions & 36 deletions

File tree

vhdl/check/src/check_base.vhd

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
66
-- You can obtain one at http://mozilla.org/MPL/2.0/.
77
--
8-
-- Copyright (c) 2014, Lars Asplund lars.anders.asplund@gmail.com
8+
-- Copyright (c) 2014-2015, Lars Asplund lars.anders.asplund@gmail.com
99

1010
library ieee;
1111
use ieee.std_logic_1164.all;
@@ -45,15 +45,15 @@ package body check_base_pkg is
4545
constant msg : in string := "Check failed!";
4646
constant level : in log_level_t := dflt;
4747
constant line_num : in natural := 0;
48-
constant file_name : in string := "") is
48+
constant file_name : in string := "") is
4949
begin
5050
-- pragma translate_off
5151
checker.check(expr, msg, level, line_num, file_name);
5252
-- pragma translate_on
5353
end;
5454

5555
procedure base_get_checker_stat (
56-
variable checker : inout checker_t;
56+
variable checker : inout checker_t;
5757
variable stat : out checker_stat_t) is
5858
begin
5959
-- pragma translate_off
@@ -135,7 +135,7 @@ package body check_base_pkg is
135135
end;
136136

137137
procedure base_checker_found_errors (
138-
variable checker : inout checker_t;
138+
variable checker : inout checker_t;
139139
variable result : out boolean) is
140140
begin
141141
-- pragma translate_off
@@ -144,6 +144,3 @@ package body check_base_pkg is
144144
end;
145145

146146
end package body check_base_pkg;
147-
148-
149-

vhdl/check/src/check_base93.vhd

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
66
-- You can obtain one at http://mozilla.org/MPL/2.0/.
77
--
8-
-- Copyright (c) 2014, Lars Asplund lars.anders.asplund@gmail.com
8+
-- Copyright (c) 2014-2015, Lars Asplund lars.anders.asplund@gmail.com
99

1010
library ieee;
1111
use ieee.std_logic_1164.all;
@@ -31,16 +31,16 @@ package body check_base_pkg is
3131
logger_init(checker.logger, default_src, file_name, display_format, file_format, stop_level, separator, append);
3232
-- pragma translate_on
3333
end base_init;
34-
34+
3535
procedure base_check(
3636
variable checker : inout checker_t;
3737
constant expr : in boolean;
3838
constant msg : in string := "Check failed!";
3939
constant level : in log_level_t := dflt;
4040
constant line_num : in natural := 0;
41-
constant file_name : in string := "") is
41+
constant file_name : in string := "") is
4242
begin
43-
-- pragma translate_off
43+
-- pragma translate_off
4444
checker.stat.n_checks := checker.stat.n_checks + 1;
4545
if (expr = false) then
4646
checker.stat.n_failed := checker.stat.n_failed + 1;
@@ -54,14 +54,14 @@ package body check_base_pkg is
5454
else
5555
checker.stat.n_passed := checker.stat.n_passed + 1;
5656
end if;
57-
-- pragma translate_on
57+
-- pragma translate_on
5858
end;
5959

6060
procedure base_get_checker_stat (
6161
variable checker : inout checker_t;
6262
variable stat : out checker_stat_t) is
6363
begin
64-
-- pragma translate_off
64+
-- pragma translate_off
6565
stat := checker.stat;
6666
-- pragma translate_on
6767
end;
@@ -102,7 +102,7 @@ package body check_base_pkg is
102102
get_logger_cfg(checker.logger, cfg);
103103
-- pragma translate_on
104104
end;
105-
105+
106106
procedure base_get_logger_cfg (
107107
variable checker : inout checker_t;
108108
variable cfg : inout logger_cfg_export_t) is
@@ -122,6 +122,3 @@ package body check_base_pkg is
122122
end;
123123

124124
end package body check_base_pkg;
125-
126-
127-

vhdl/check/src/check_base_api.vhd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
55
-- You can obtain one at http://mozilla.org/MPL/2.0/.
66
--
7-
-- Copyright (c) 2014, Lars Asplund lars.anders.asplund@gmail.com
7+
-- Copyright (c) 2014-2015, Lars Asplund lars.anders.asplund@gmail.com
88

99
library ieee;
1010
use ieee.std_logic_1164.all;
@@ -18,7 +18,7 @@ use work.log_pkg.all;
1818
package check_base_pkg is
1919
procedure base_init (
2020
variable checker : inout checker_t;
21-
constant default_level : in log_level_t := error;
21+
constant default_level : in log_level_t := error;
2222
constant default_src : in string := "";
2323
constant file_name : in string := "error.csv";
2424
constant display_format : in log_format_t := level;
@@ -33,10 +33,10 @@ package check_base_pkg is
3333
constant msg : in string := "Check failed!";
3434
constant level : in log_level_t := dflt;
3535
constant line_num : in natural := 0;
36-
constant file_name : in string := "");
36+
constant file_name : in string := "");
3737

3838
procedure base_get_checker_stat (
39-
variable checker : inout checker_t;
39+
variable checker : inout checker_t;
4040
variable stat : out checker_stat_t);
4141

4242
procedure base_reset_checker_stat (
@@ -48,7 +48,7 @@ package check_base_pkg is
4848

4949
procedure base_get_checker_cfg (
5050
variable checker : inout checker_t;
51-
variable cfg : inout checker_cfg_export_t);
51+
variable cfg : inout checker_cfg_export_t);
5252

5353
procedure base_get_logger_cfg (
5454
variable checker : inout checker_t;
@@ -59,7 +59,7 @@ package check_base_pkg is
5959
variable cfg : inout logger_cfg_export_t);
6060

6161
procedure base_checker_found_errors (
62-
variable checker : inout checker_t;
62+
variable checker : inout checker_t;
6363
variable result : out boolean);
6464

6565
end package;

vhdl/check/src/check_special_types200x.vhd

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
55
-- You can obtain one at http://mozilla.org/MPL/2.0/.
66
--
7-
-- Copyright (c) 2014, Lars Asplund lars.anders.asplund@gmail.com
7+
-- Copyright (c) 2014-2015, Lars Asplund lars.anders.asplund@gmail.com
88

99
library ieee;
1010
use ieee.std_logic_1164.all;
@@ -25,12 +25,12 @@ package check_special_types_pkg is
2525
constant stop_level : in log_level_t := failure;
2626
constant separator : in character := ',';
2727
constant append : in boolean := false);
28-
28+
2929
procedure check(expr : boolean;
3030
msg : string;
3131
level : log_level_t := dflt;
3232
line_num : in natural := 0;
33-
file_name : in string := "");
33+
file_name : in string := "");
3434

3535
impure function get_stat
3636
return checker_stat_t;
@@ -45,7 +45,7 @@ package check_special_types_pkg is
4545

4646
impure function found_errors
4747
return boolean;
48-
48+
4949
end protected checker_t;
5050
end package;
5151

@@ -68,7 +68,7 @@ package body check_special_types_pkg is
6868
default_log_level := default_level;
6969
logger.init(default_src, file_name, default_display_mode, default_file_mode, stop_level, separator, append);
7070
end init;
71-
71+
7272
procedure check(expr : boolean;
7373
msg : string;
7474
level : log_level_t := dflt;
@@ -122,4 +122,3 @@ package body check_special_types_pkg is
122122
end;
123123
end protected body checker_t;
124124
end package body check_special_types_pkg;
125-

vhdl/check/src/check_special_types93.vhd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
55
-- You can obtain one at http://mozilla.org/MPL/2.0/.
66
--
7-
-- Copyright (c) 2014, Lars Asplund lars.anders.asplund@gmail.com
7+
-- Copyright (c) 2014-2015, Lars Asplund lars.anders.asplund@gmail.com
88

99
library ieee;
1010
use ieee.std_logic_1164.all;
@@ -26,4 +26,3 @@ end package;
2626

2727
package body check_special_types_pkg is
2828
end package body check_special_types_pkg;
29-

vhdl/check/src/check_types.vhd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
55
-- You can obtain one at http://mozilla.org/MPL/2.0/.
66
--
7-
-- Copyright (c) 2014, Lars Asplund lars.anders.asplund@gmail.com
7+
-- Copyright (c) 2014-2015, Lars Asplund lars.anders.asplund@gmail.com
88

99
library ieee;
1010
use ieee.std_logic_1164.all;
@@ -35,4 +35,3 @@ end package;
3535

3636
package body check_types_pkg is
3737
end package body check_types_pkg;
38-

vhdl/logging/src/log_special_types93.vhd

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
55
-- You can obtain one at http://mozilla.org/MPL/2.0/.
66
--
7-
-- Copyright (c) 2014, Lars Asplund lars.anders.asplund@gmail.com
7+
-- Copyright (c) 2014-2015, Lars Asplund lars.anders.asplund@gmail.com
88

99
library ieee;
1010
use ieee.std_logic_1164.all;
@@ -47,6 +47,5 @@ package body log_special_types_pkg is
4747
ret_val := global_sequence_number;
4848
global_sequence_number := global_sequence_number + 1;
4949
return ret_val;
50-
end;
50+
end;
5151
end package body log_special_types_pkg;
52-

0 commit comments

Comments
 (0)