source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Write_queue/src/Parameters_msg_error.cpp @ 118

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

1) Stat List : scan all queue to find free register
2) Write_queue : test "genMealy" add bypass [0]
3) Functionnal_unit : add const parameters to add or not the pipeline_in
4) Load Store Unit : if load make an exception, free nb_check
5) Debug, change test to add model

  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1/*
2 * $Id: Parameters_msg_error.cpp 118 2009-05-20 22:01:32Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Types.h"
9#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Write_queue/include/Parameters.h"
10#include <sstream>
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_execute_loop {
16namespace execute_loop {
17namespace multi_write_unit {
18namespace write_unit {
19namespace write_queue {
20
21
22#undef  FUNCTION
23#define FUNCTION "Write_queue::msg_error"
24  Parameters_test Parameters::msg_error(void)
25  {
26    log_printf(FUNC,Write_queue,FUNCTION,"Begin");
27
28    Parameters_test test (_type);
29
30    if ((_bypass_write_scheme == BYPASS_WRITE_FROM_ALU)   and (_nb_bypass_write > _size_queue))
31      test.error("The write_queue can't have more bypass_write than entry in the queue.\n");
32    if ((_bypass_write_scheme == BYPASS_WRITE_FROM_QUEUE) and (_nb_bypass_write > _size_queue-1))
33      test.error("The write_queue can't have more bypass_write than entry in the queue -1 (the write_queue[0] is unnecessary).\n");
34
35    log_printf(FUNC,Write_queue,FUNCTION,"End");
36
37    return test;
38  };
39
40}; // end namespace write_queue
41}; // end namespace write_unit
42}; // end namespace multi_write_unit
43}; // end namespace execute_loop
44}; // end namespace multi_execute_loop
45}; // end namespace core
46
47}; // end namespace behavioural
48}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.