added support for write-through cache, removed cache snooping support
This commit is contained in:
@@ -30,14 +30,12 @@ public:
|
||||
|
||||
bool is_busy() const;
|
||||
|
||||
bool snp_req_active() const;
|
||||
bool csr_req_active() const;
|
||||
|
||||
void reset();
|
||||
void step();
|
||||
void wait(uint32_t cycles);
|
||||
|
||||
void flush_caches(uint32_t mem_addr, uint32_t size);
|
||||
void set_csr(int core_id, int addr, unsigned value);
|
||||
void get_csr(int core_id, int addr, unsigned *value);
|
||||
|
||||
@@ -62,20 +60,13 @@ private:
|
||||
void eval_dram_bus();
|
||||
void eval_io_bus();
|
||||
void eval_csr_bus();
|
||||
void eval_snp_bus();
|
||||
|
||||
std::list<dram_req_t> dram_rsp_vec_;
|
||||
bool dram_rsp_active_;
|
||||
|
||||
bool dram_rsp_ready_;
|
||||
bool snp_req_ready_;
|
||||
bool csr_io_req_ready_;
|
||||
|
||||
bool snp_req_active_;
|
||||
bool csr_req_ready_;
|
||||
bool csr_req_active_;
|
||||
|
||||
uint32_t snp_req_size_;
|
||||
uint32_t pending_snp_reqs_;
|
||||
uint32_t* csr_rsp_value_;
|
||||
|
||||
RAM *ram_;
|
||||
|
||||
Reference in New Issue
Block a user