NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
|
CPU Core custom functions unit HW driver header file. More...
#include <stdint.h>
Go to the source code of this file.
Macros | |
Low-level CFU custom instruction prototypes ("intrinsics"). | |
Note that each instruction provides a uint32_t return value. | |
#define | neorv32_cfu_r3_instr(funct7, funct3, rs1, rs2) |
#define | neorv32_cfu_r4_instr(funct3, rs1, rs2, rs3) |
Functions | |
Prototypes | |
int | neorv32_cpu_cfu_available (void) |
CPU Core custom functions unit HW driver header file.
#define neorv32_cfu_r3_instr | ( | funct7, | |
funct3, | |||
rs1, | |||
rs2 ) |
R3-type CFU custom instruction (CUSTOM-0 opcode)
#define neorv32_cfu_r4_instr | ( | funct3, | |
rs1, | |||
rs2, | |||
rs3 ) |
R4-type CFU custom instruction (CUSTOM-1 opcode)
int neorv32_cpu_cfu_available | ( | void | ) |
Check if custom functions unit was synthesized.