The application discloses a RISC-V style 8-bit reduced
instruction set customization method, comprising the following steps: S1, based on the function and demand of the target application scene, a target
instruction set is selected from a RISC-V32I
instruction set, the data bit width, PC width, memory space and register group size of the processor are selected; S2, according to the interruption and exception types supported by the instruction set, the
processing flow of the interruption and exception is determined; S3, the encoding space is reduced and the register grouping is optimized through a register coding
multiplexing strategy, and the customization of the register
addressing mode of the instruction set is realized; S4, each instruction is classified according to the instruction format; S5, each instruction is coded based on the format of each instruction. The customization method has a simple and efficient process, is easy to implement and deploy, does not need to be designed from zero, significantly shortens the research and development cycle, can adapt to multiple scene demands, and realizes the
miniaturization of the instruction set, minimization of hardware resources and efficient
design process.