Last change
on this file since 118 was
113,
checked in by rosiere, 15 years ago
|
1) Add modelsim simulation systemC
2) Modelsim cosimulation systemC / VHDL is not finish !!!! (cf execute_queue and write_unit)
3) Add multi architecture
5) Add template for comparator, multiplier and divider
6) Change Message
Warning) Various test macro have change, many selftest can't compile
|
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Rev | Line | |
---|
[78] | 1 | /* |
---|
| 2 | * $Id: Parameters_msg_error.cpp 113 2009-04-14 18:39:12Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Types.h" |
---|
| 9 | #include "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/include/Parameters.h" |
---|
| 10 | #include <sstream> |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | namespace core { |
---|
| 15 | namespace multi_front_end { |
---|
| 16 | namespace front_end { |
---|
| 17 | namespace ifetch_unit { |
---|
| 18 | namespace ifetch_queue { |
---|
| 19 | |
---|
| 20 | #undef FUNCTION |
---|
| 21 | #define FUNCTION "Ifetch_queue::msg_error" |
---|
| 22 | Parameters_test Parameters::msg_error(void) |
---|
| 23 | { |
---|
| 24 | log_printf(FUNC,Ifetch_queue,FUNCTION,"Begin"); |
---|
| 25 | |
---|
| 26 | Parameters_test test ("Ifetch_queue"); |
---|
| 27 | |
---|
[109] | 28 | if (not is_multiple (_nb_instruction_in_queue,_nb_instruction)) |
---|
[113] | 29 | test.error(_("Size of ifetch queue must be a multiple of nb_instruction.\n")); |
---|
[109] | 30 | |
---|
[78] | 31 | if (_size_queue == 1) |
---|
[113] | 32 | test.warning(_("To best perfomance, size_queue must be > 1.\n")); |
---|
[78] | 33 | |
---|
| 34 | log_printf(FUNC,Ifetch_queue,FUNCTION,"End"); |
---|
| 35 | |
---|
| 36 | return test; |
---|
| 37 | }; |
---|
| 38 | |
---|
| 39 | }; // end namespace ifetch_queue |
---|
| 40 | }; // end namespace ifetch_unit |
---|
| 41 | }; // end namespace front_end |
---|
| 42 | }; // end namespace multi_front_end |
---|
| 43 | }; // end namespace core |
---|
| 44 | |
---|
| 45 | }; // end namespace behavioural |
---|
| 46 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.