aboutsummaryrefslogtreecommitdiff
path: root/riscv/processor.h
diff options
context:
space:
mode:
authorWeiwei Li <liweiwei@iscas.ac.cn>2022-02-26 13:18:39 +0800
committerWeiwei Li <liweiwei@iscas.ac.cn>2022-02-26 13:18:39 +0800
commit38f085d2fc96fb7fb4c4a60834617446e424f23d (patch)
treecb8cb5c6c0dfe086e3ae5b9f94aa698155de17f2 /riscv/processor.h
parent8ca012a6cc7e5b9edfaacca2d04b5a0f267377cf (diff)
downloadspike-38f085d2fc96fb7fb4c4a60834617446e424f23d.zip
spike-38f085d2fc96fb7fb4c4a60834617446e424f23d.tar.gz
spike-38f085d2fc96fb7fb4c4a60834617446e424f23d.tar.bz2
add missed extensions specified by '--extension' to custom_extensions
Diffstat (limited to 'riscv/processor.h')
-rw-r--r--riscv/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/processor.h b/riscv/processor.h
index 9ee3e6c..9833cfa 100644
--- a/riscv/processor.h
+++ b/riscv/processor.h
@@ -326,7 +326,7 @@ protected:
reg_t max_isa;
std::vector<bool> extension_table;
std::string isa_string;
- std::unordered_map<std::string, extension_t*> custom_extensions;
+ std::unordered_map<std::string, extension_t*> isa_extensions;
};
// this class represents one processor in a RISC-V machine.