source: trunk/IPs/systemC/Environnement/RamLock/src/RamLock_read.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: 266 bytes
Line 
1#include "../include/RamLock.h"
2
3namespace environnement {
4namespace ramlock {
5
6  // return the value of the lock and take this
7  bool RamLock::read (uint32_t num_lock)
8  {
9    bool val = _lock [num_lock];
10    _lock [num_lock] = LOCK;
11   
12    return val;
13  }
14};
15};
Note: See TracBrowser for help on using the repository browser.