opae_sim buffer index allocation bug fix

This commit is contained in:
Blaise Tine
2021-06-11 15:20:02 -07:00
parent 78a452ea6e
commit a315d0087d
5 changed files with 30 additions and 48 deletions

View File

@@ -39,8 +39,6 @@ public:
void read_mmio64(uint32_t mmio_num, uint64_t offset, uint64_t *value);
void flush();
private:
typedef struct {
@@ -81,6 +79,7 @@ private:
bool stop_;
std::unordered_map<int64_t, host_buffer_t> host_buffers_;
int64_t host_buffer_ids_;
std::list<mem_rd_req_t> mem_reads_ [PLATFORM_PARAM_LOCAL_MEMORY_BANKS];