Research Article

A Lightweight AES Coprocessor Based on RISC-V Custom Instructions

Table 1

RISC-V base opcode map, inst[1 : 0] = 11.

inst[4 : 2]000001010011100101110111 ( 32b)
inst[6 : 5]

00LOADLOAD-FPcustom-0MISC-MEMOP-IMMAUIPCOP-IMM-3248b
01STORESTORE-FPcustom-1AMOOPLUIOP-3264b
10MADDMSUBNMSUBNMADDOP-FPreservedcustom-2/rv12848b
11BRANCHJALRreservedJALSYSTEMreservedcustom-3/rv128 80b