[libre-riscv-dev] spike-sv non-default element widths

Luke Kenneth Casson Leighton lkcl at lkcl.net
Fri Oct 19 12:01:35 BST 2018


yippee!  got it!  finally an sv_reg_t and sv_sreg_t class which do the
right thing, and pass all the unit tests.

jacob i believe it may now be possible to slowly morph towards the
code that you posted on sw-dev.  i'd very much prefer not to have the
entirety of spike's instruction implementations rewritten RS1 + RS2
--> rv_add(RS1, RS2)

however i believe that what i am looking to do may require that the
operator overload be *implemented* as calling rv_add (back in the
global class, sv_proc_t) where more information is available.

just have to see.

l.



More information about the libre-riscv-dev mailing list