[Libre-soc-dev] fantastically-weird regfile
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Mon Dec 14 04:04:12 GMT 2020
On Mon, Dec 14, 2020 at 3:49 AM Jacob Lifshay <programmerjake at gmail.com> wrote:
> The plan for future reg-file expansion is that setvl[i] has a field that
> puts the processor in backward-compatibility mode for 128 registers
> (field==0), 256 registers (field==1), 512 registers (field==2), and so on.
> Our initial processor will only support 128 register mode, trapping on all
> other field values, allowing emulation. later processors might only support
> 128 and 256 register mode, even later processors will also support 512
> register mode and so on. For now, all we need to do is trap if the field !=
> 0, so it should have very low initial cost.
this should go in discussion
i've put the pseudo-code into the main page.
More information about the Libre-soc-dev