source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/src/Ifetch_unit_Glue_genMealy_event.cpp @ 78

Last change on this file since 78 was 78, checked in by rosiere, 16 years ago

Add :

  • Execute_loop (must be test systemC)
  • Prediction
    • Direction : predifined scheme
    • Branch Target Buffer
  • iFetch_unit
    • ifetch_queue
    • pc management
  • Decod_unit
    • coming soon : support for custom operation
  • Rename_unit
    • RAT
    • Free_list
    • Dependence RAW check
    • Load store unit pointer
  • New Environnement (hierarchy_memory will remove in a next version)


Modif :

  • Manage Custom Operation
  • All component in execute_loop to use the new statistics management

Not Finish :

  • Return Address Stack
  • Environnement
File size: 1.2 KB
Line 
1#ifdef SYSTEMC
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_unit_Glue/include/Ifetch_unit_Glue.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace ifetch_unit {
17namespace ifetch_unit_glue {
18
19
20#undef  FUNCTION
21#define FUNCTION "Ifetch_unit_Glue::genMealy_event"
22  void Ifetch_unit_Glue::genMealy_event (void)
23  {
24    log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"Begin");
25
26    Tcontrol_t address_ack = PORT_READ(in_EVENT_ADDRESS_ACK);
27    Tcontrol_t queue_ack   = PORT_READ(in_EVENT_QUEUE_ACK  );
28    Tcontrol_t val         = PORT_READ(in_EVENT_VAL        );
29
30    PORT_WRITE(out_EVENT_ACK        , address_ack and queue_ack);
31    PORT_WRITE(out_EVENT_ADDRESS_VAL, val         and queue_ack);
32    PORT_WRITE(out_EVENT_QUEUE_VAL  , address_ack and val);
33   
34    log_printf(FUNC,Ifetch_unit_Glue,FUNCTION,"End");
35  };
36
37}; // end namespace ifetch_unit_glue
38}; // end namespace ifetch_unit
39}; // end namespace front_end
40}; // end namespace multi_front_end
41}; // end namespace core
42
43}; // end namespace behavioural
44}; // end namespace morpheo             
45#endif
Note: See TracBrowser for help on using the repository browser.