From 46a67860915391458d7cc8cb93248059df20b8f2 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Tue, 10 Oct 2017 15:53:23 -0700 Subject: Make progbuf a run-time option. Also add an implicit ebreak after the program buffer. This is not part of the spec, but hopefully it will be. --- riscv/sim.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'riscv/sim.h') diff --git a/riscv/sim.h b/riscv/sim.h index b102a6b..ce5fe19 100644 --- a/riscv/sim.h +++ b/riscv/sim.h @@ -21,7 +21,8 @@ class sim_t : public htif_t public: sim_t(const char* isa, size_t _nprocs, bool halted, reg_t start_pc, std::vector> mems, - const std::vector& args, const std::vector hartids); + const std::vector& args, const std::vector hartids, + unsigned progsize); ~sim_t(); // run the simulation to completion -- cgit v1.1