Investigation on the optimal pipeline organization in RISC-V multi-threaded soft processor cores