minor update

This commit is contained in:
Blaise Tine
2020-06-03 06:40:25 -04:00
parent 626a4f6fc1
commit 9eb0389717
5 changed files with 7 additions and 4 deletions

View File

@@ -7,6 +7,7 @@
#include <chrono>
#include <vortex.h>
#include <ram.h>
#include <simulator.h>
///////////////////////////////////////////////////////////////////////////////
@@ -59,6 +60,7 @@ class vx_device {
public:
vx_device() {
mem_allocation_ = vx_dev_caps(VX_CAPS_ALLOC_BASE_ADDR);
simulator_.attach_ram(&ram_);
}
~vx_device() {
@@ -144,6 +146,7 @@ public:
private:
size_t mem_allocation_;
RAM ram_;
Simulator simulator_;
std::future<void> future_;
};