source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/src/Parameters_msg_error.cpp @ 109

Last change on this file since 109 was 109, checked in by rosiere, 15 years ago

1) Configuration : instance configuration file : regroup similar instance
2) Configuration : timing default = 0
3) Debug/Commit_unit : Add watch dog timer
4) Issue_queue : Test parameters : add test if type is optionnal
5) Cor_glue : Fix insert index
6) Free_list : remove bank_by_pop (else deadlock)
7) Update Free List : add register to source event

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1/*
2 * $Id: Parameters_msg_error.cpp 109 2009-02-16 20:28:31Z 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
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_front_end {
16namespace front_end {
17namespace ifetch_unit {
18namespace ifetch_queue {
19
20
21#undef  FUNCTION
22#define FUNCTION "Ifetch_queue::msg_error"
23  Parameters_test Parameters::msg_error(void)
24  {
25    log_printf(FUNC,Ifetch_queue,FUNCTION,"Begin");
26
27    Parameters_test test ("Ifetch_queue");
28
29    if (not is_multiple (_nb_instruction_in_queue,_nb_instruction))
30      test.error("Size of ifetch queue must be a multiple of nb_instruction.\n");
31
32    if (_size_queue == 1)
33      test.warning("To best perfomance, size_queue must be > 1.\n");
34   
35    log_printf(FUNC,Ifetch_queue,FUNCTION,"End");
36
37    return test;
38  };
39
40}; // end namespace ifetch_queue
41}; // end namespace ifetch_unit
42}; // end namespace front_end
43}; // end namespace multi_front_end
44}; // end namespace core
45
46}; // end namespace behavioural
47}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.