source: trunk/IPs/systemC/Environnement/RamLock/include/RamLock.h @ 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: 761 bytes
Line 
1#ifndef Environnement_RamLock_H
2#define Environnement_RamLock_H
3
4#include <stdint.h>
5#include <iostream>
6
7#include "Parameters.h"
8
9namespace environnement {
10namespace ramlock {
11
12#define UNLOCK false
13#define   LOCK true
14
15  class RamLock
16  {
17    // field
18  private : std::string   _name;
19  private : Parameters  * _param;
20  private : bool        * _lock;
21
22    // method
23  public  :  RamLock (std::string  name, 
24                      Parameters * param);
25  public  : ~RamLock (void);
26
27//public  : bool test  (uint32_t num_lock);
28  public  : void reset (void);
29  public  : bool read  (uint32_t num_lock);
30  public  : bool write (uint32_t num_lock);
31   
32  public  : friend std::ostream& operator<< (std::ostream& output, environnement::ramlock::RamLock & x);
33  };
34
35};
36};
37#endif
Note: See TracBrowser for help on using the repository browser.