Last change
on this file since 120 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
1.0 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Parameters_msg_error.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/include/Parameters.h" |
---|
9 | |
---|
10 | namespace morpheo { |
---|
11 | namespace behavioural { |
---|
12 | namespace generic { |
---|
13 | namespace registerfile { |
---|
14 | namespace registerfile_multi_banked { |
---|
15 | |
---|
16 | |
---|
17 | Parameters_test Parameters::msg_error(void) |
---|
18 | { |
---|
19 | log_printf(FUNC,RegisterFile_Multi_Banked,"msg_error","Begin"); |
---|
20 | |
---|
21 | Parameters_test test("RegisterFile_Multi_Banked"); |
---|
22 | |
---|
23 | if (_nb_port_read < _nb_port_read_by_bank) |
---|
24 | test.error("Each bank read's port must be higher at number of read port"); |
---|
25 | |
---|
26 | if (_nb_port_write < _nb_port_write_by_bank) |
---|
27 | test.error("Each bank write's port must be higher at number of write port"); |
---|
28 | |
---|
29 | if (_nb_bank < 1) |
---|
30 | test.error("nb_bank must be higher at 1"); |
---|
31 | |
---|
32 | log_printf(FUNC,RegisterFile_Multi_Banked,"msg_error","End"); |
---|
33 | |
---|
34 | return test; |
---|
35 | }; |
---|
36 | |
---|
37 | }; // end namespace registerfile_multi_banked |
---|
38 | }; // end namespace registerfile |
---|
39 | }; // end namespace generic |
---|
40 | |
---|
41 | }; // end namespace behavioural |
---|
42 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.