source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src/Parameters_msg_error.cpp @ 111

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

1) Decod_queue : multi implementation (one_fifo, multi_fifo)
2) Issue_queue : multi implementation (in_order, out_of_order)
3) Direction : Add Meta predictor
4) Context_State : re add Branch_complete, More priority to Load miss (is not speculative)
5) Return_Address_Stack : update reg_PREDICT pointer on decod miss prediction
6) UPT : Fix bug in multi event
7) Prediction_glue : in read_stack case, insert in UPT pc_next
8) Rename select : when rob have an event (need flush), read_r{a,b,c} and write_r{d,e} is set at 0

  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1/*
2 * $Id: Parameters_msg_error.cpp 111 2009-02-27 18:37:40Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Types.h"
9#include "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/include/Parameters.h"
10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_front_end {
16namespace front_end {
17namespace decod_unit {
18namespace decod_queue {
19
20
21#undef  FUNCTION
22#define FUNCTION "Decod_queue::msg_error"
23  Parameters_test Parameters::msg_error(void)
24  {
25    log_begin(Decod_queue,FUNCTION);
26
27    Parameters_test test ("Decod_queue");
28
29    if (not is_multiple (_nb_instruction_in_queue,_nb_inst_decod))
30      test.error("Size of decod queue must be a multiple of nb_instruction.\n");
31
32    switch (_queue_scheme)
33      {
34      case DECOD_QUEUE_SCHEME_ONE_FIFO :
35      case DECOD_QUEUE_SCHEME_MULTI_FIFO :
36        {
37          break;
38        }
39      default :
40        {
41          test.error(toString(_("Decod queue scheme '%s' is not supported. Please wait a next revision.\n"),toString(_queue_scheme).c_str()));
42          break;
43        }
44      }
45
46    log_end(Decod_queue,FUNCTION);
47
48    return test;
49  };
50
51}; // end namespace decod_queue
52}; // end namespace decod_unit
53}; // end namespace front_end
54}; // end namespace multi_front_end
55}; // end namespace core
56
57}; // end namespace behavioural
58}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.