Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 8a94054410
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (18 sloc) 0.379 kB
#ifndef ACCESS_H_
#define ACCESS_H_
#include "Memory.h"
#include "Cache.h"
class Access {
public:
Access(int cache_size, int block_size, int assoc, int data_numbers);
void write(int value);
int get(int addr);
void print(char* str);
void restart_cache(void);
~Access(void);
private:
Memory* memory;
Cache* cache;
int accesses;
};
#endif /* ACCESS_H_ */
Jump to Line
Something went wrong with that request. Please try again.