Skip to content

Commit b5c1a8f

Browse files
committed
fix: allow HwAccessorMock to be used for FpgaMemBufferOverAxi
1 parent caca3c7 commit b5c1a8f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

inc/udmaio/HwAccessor.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ class HwAccessorMock : public HwAccessor {
308308
}
309309
*_mem_ptr<uint32_t>(offs) = data;
310310
}
311+
312+
void* get_virt_mem() const final override { return reinterpret_cast<void*>(&_mem[0]); }
311313
};
312314

313315
} // namespace udmaio

0 commit comments

Comments
 (0)