projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Factor out the dummy RoCC accelerator
[riscv-isa-sim.git]
/
hwacha
/
hwacha.cc
diff --git
a/hwacha/hwacha.cc
b/hwacha/hwacha.cc
index 1a89d733d1a3f18931def2b794f6f00cafa4a9a1..fdd215eb1d884e00db8dff4d9f25cdfa1b172457 100644
(file)
--- a/
hwacha/hwacha.cc
+++ b/
hwacha/hwacha.cc
@@
-4,6
+4,8
@@
#include "trap.h"
#include <stdexcept>
+REGISTER_EXTENSION(hwacha, []() { return new hwacha_t; })
+
void ct_state_t::reset()
{
nxpr = 32;