source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/src/Load_store_unit_function_speculative_load_commit_genMealy_insert.cpp @ 82

Last change on this file since 82 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.4 KB
Line 
1#ifdef SYSTEMC
2//#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
3/*
4 * $Id: Load_store_unit_function_speculative_load_commit_genMealy_insert.cpp 81 2008-04-15 18:40:01Z rosiere $
5 *
6 * [ Description ]
7 *
8 */
9
10#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/include/Load_store_unit.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace core {
15namespace multi_execute_loop {
16namespace execute_loop {
17namespace multi_execute_unit {
18namespace execute_unit {
19namespace load_store_unit {
20
21
22#undef  FUNCTION
23#define FUNCTION "Load_store_unit::function_speculative_load_commit_genMealy_insert"
24  void Load_store_unit::function_speculative_load_commit_genMealy_insert (void)
25  {
26    log_printf(FUNC,Load_store_unit,FUNCTION,"Begin");
27
28    // ~~~~~[ Output "memory_in" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29
30    // store queue is never full (pointer is manage by rename stage)
31    internal_MEMORY_IN_ACK = is_operation_memory_store(PORT_READ(in_MEMORY_IN_OPERATION)) or not _speculative_access_queue_control->full();
32
33    PORT_WRITE(out_MEMORY_IN_ACK, internal_MEMORY_IN_ACK);
34
35    log_printf(FUNC,Load_store_unit,FUNCTION,"End");
36  };
37
38}; // end namespace load_store_unit
39}; // end namespace execute_unit
40}; // end namespace multi_execute_unit
41}; // end namespace execute_loop
42}; // end namespace multi_execute_loop
43}; // end namespace core
44
45}; // end namespace behavioural
46}; // end namespace morpheo             
47#endif
48//#endif
Note: See TracBrowser for help on using the repository browser.