From 98b1a674e55880716fbb22e927fc60935ecca59c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 2 Nov 2018 08:31:43 +0000 Subject: [PATCH] increase regfile sizes to 128 entries --- riscv/processor.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/riscv/processor.h b/riscv/processor.h index 41a1f22..22e9d85 100644 --- a/riscv/processor.h +++ b/riscv/processor.h @@ -96,8 +96,13 @@ struct state_t static const int num_triggers = 4; reg_t pc; +#ifdef SPIKE_SV + regfile_t XPR; + regfile_t FPR; +#else regfile_t XPR; regfile_t FPR; +#endif // control and status registers reg_t prv; // TODO: Can this be an enum instead? -- 2.30.2