source: trunk/IPs/systemC/Environnement/Queue/include/Slot.h @ 79

Last change on this file since 79 was 78, checked in by rosiere, 17 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: 635 bytes
Line 
1#ifndef ENVIRONNEMENT_QUEUE_SLOT_H
2#define ENVIRONNEMENT_QUEUE_SLOT_H
3
4#include <stdint.h>
5#include <iostream>
6
7namespace environnement {
8namespace queue {
9
10  template <class T>
11  class slot_t
12  {
13  public    : uint32_t _delay;     // delay of disponibilty of data
14  public    : T        _data;
15
16  public    : slot_t (void)
17    {
18    }
19   
20  public    : slot_t (uint32_t delay, T data)
21    {
22      _delay = delay;
23      _data  = data;
24    }
25   
26  public    : friend std::ostream& operator<< (std::ostream& output, const slot_t & x)
27    {
28      output << x._delay << " " << x._data;
29      return output;
30    }
31  };
32 
33};
34};
35#endif
36 
Note: See TracBrowser for help on using the repository browser.