Last change
on this file since 138 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
|
Rev | Line | |
---|
[53] | 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 | |
---|
[78] | 17 | Parameters_test Parameters::msg_error(void) |
---|
[53] | 18 | { |
---|
| 19 | log_printf(FUNC,RegisterFile_Multi_Banked,"msg_error","Begin"); |
---|
| 20 | |
---|
[78] | 21 | Parameters_test test("RegisterFile_Multi_Banked"); |
---|
[53] | 22 | |
---|
| 23 | if (_nb_port_read < _nb_port_read_by_bank) |
---|
[78] | 24 | test.error("Each bank read's port must be higher at number of read port"); |
---|
[53] | 25 | |
---|
| 26 | if (_nb_port_write < _nb_port_write_by_bank) |
---|
[78] | 27 | test.error("Each bank write's port must be higher at number of write port"); |
---|
[53] | 28 | |
---|
| 29 | if (_nb_bank < 1) |
---|
[78] | 30 | test.error("nb_bank must be higher at 1"); |
---|
[53] | 31 | |
---|
[78] | 32 | log_printf(FUNC,RegisterFile_Multi_Banked,"msg_error","End"); |
---|
[53] | 33 | |
---|
[78] | 34 | return test; |
---|
[53] | 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.