summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index f172226..4bd455a 100644
--- a/main.cpp
+++ b/main.cpp
@@ -8,8 +8,8 @@
8#include "aisa/aisa.h" 8#include "aisa/aisa.h"
9#include "aisa/async.h" 9#include "aisa/async.h"
10#include "aisa/simple-models.h" 10#include "aisa/simple-models.h"
11#include "fib/fib.h"
11#include "git-tag.h" 12#include "git-tag.h"
12#include "isa/fib/fib.h"
13 13
14const bool show_mem_fetch = false; 14const bool show_mem_fetch = false;
15const bool show_mem_store = true; 15const bool show_mem_store = true;
@@ -21,7 +21,7 @@ int main(int argc, const char *argv[])
21{ 21{
22 std::cout << "Version " << GIT_TAG << "\n"; 22 std::cout << "Version " << GIT_TAG << "\n";
23 23
24 isa::fib::Fib<2> fib; 24 fib::Fib<2> fib;
25 25
26 struct Eval : public aisa::AsyncEval<Eval>, aisa::PagedMem<>, aisa::TaskStack, aisa::VectorRF { 26 struct Eval : public aisa::AsyncEval<Eval>, aisa::PagedMem<>, aisa::TaskStack, aisa::VectorRF {
27 bool fetch_mem(aisa::byte_t *bytes, aisa::addr_t addr, aisa::addr_t size) 27 bool fetch_mem(aisa::byte_t *bytes, aisa::addr_t addr, aisa::addr_t size)
@@ -55,7 +55,7 @@ int main(int argc, const char *argv[])
55 { 55 {
56 if (aisa::VectorRF::store_reg(rn, rv)) { 56 if (aisa::VectorRF::store_reg(rn, rv)) {
57 if (show_regs) 57 if (show_regs)
58 fmt::print(".{} = {}\n", isa::fib::Reg::disasm(rn), rv); 58 fmt::print(".{} = {}\n", fib::Reg::disasm(rn), rv);
59 return true; 59 return true;
60 } 60 }
61 return false; 61 return false;