From: Luke Kenneth Casson Leighton Date: Fri, 2 Nov 2018 08:31:43 +0000 (+0000) Subject: increase regfile sizes to 128 entries X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98b1a674e55880716fbb22e927fc60935ecca59c;p=riscv-isa-sim.git increase regfile sizes to 128 entries --- 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?