Implementation of RISC-V processor