Register RSA_INPUT has invalid size: 64. Should be 8, 16 or 32

Hi everyone,

I’m working on debugging a RISC-V 64 SoC (based on the Shakti processor) and I’m using an SVD file to describe my peripherals. Some of my hardware registers are 64 bit. for example:

RSA_INPUT RSA INPUT register 64 0x50 write-only

When I load this SVD in PlatformIO, I get the following error:
Register RSA_INPUT has invalid size: 64. Should be 8, 16 or 32.
However, in my case the hardware really does expose 64-bit registers, so I can’t just redefine them as 32-bit. Is there a way to configure PlatformIO / debug_svd so it can handle 64-bit registers?

image

Could be a bug in the SVD parser on PlatformIO’s side, or an unexpected that value that can really exist.

CC @ivankravets

1 Like

Thanks for reporting the issue:

1 Like

Does the SVD parser in PlatformIO handle 64-bit registers, or could this be a limitation? If 64-bit registers aren’t supported, is there a recommended workaround for handling them in an SVD file?