cnlohr / rv003usb

CH32V003 RISC-V Pure Software USB Controller
MIT License
459 stars 47 forks source link

CH32V003 cycle information #26

Open cduk opened 1 year ago

cduk commented 1 year ago

Do you have a source of information for how many cycles different instructions take?

cnlohr commented 1 year ago

I've passed the request to Macyler. @duk-37 do you have any input?

cnlohr commented 1 year ago

I've also updated a note on the main readme. https://github.com/cnlohr/ch32v003fun/commit/c788f9ae0a0d7c195af5a7441d3c97522470b247

duk-37 commented 1 year ago

Might be a good idea to go into more detail about the exceptions (branches, loads/stores). I don't remember the exact numbers unfortunately.