[59] | 1 | #ifdef SYSTEMC |
---|
| 2 | //#if defined(STATISTICS) or defined(VHDL_TESTBENCH) |
---|
| 3 | /* |
---|
| 4 | * $Id$ |
---|
| 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 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | namespace core { |
---|
| 15 | namespace multi_execute_loop { |
---|
| 16 | namespace execute_loop { |
---|
| 17 | namespace multi_execute_unit { |
---|
| 18 | namespace execute_unit { |
---|
| 19 | namespace 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 | |
---|
[71] | 28 | // ~~~~~[ Output "memory_in" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
[59] | 29 | |
---|
[71] | 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 | |
---|
[59] | 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 |
---|