NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
Loading...
Searching...
No Matches
neorv32_cfs.c File Reference

Custom Functions Subsystem (CFS) HW driver source file. More...

#include <neorv32.h>

Functions

int neorv32_cfs_available (void)
 

Detailed Description

Custom Functions Subsystem (CFS) HW driver source file.

Warning
There are no "real" CFS driver functions available here, because these functions are defined by the actual hardware.
Hence, the CFS designer has to provide the actual driver functions.
Note
These functions should only be used if the CFS was synthesized (IO_CFS_EN = true).
See also
https://stnolting.github.io/neorv32/sw/files.html

Function Documentation

◆ neorv32_cfs_available()

int neorv32_cfs_available ( void )

Check if custom functions subsystem was synthesized.

Returns
0 if CFS was not synthesized, 1 if CFS is available.