Line 1... |
Line 1... |
// #################################################################################################
|
// #################################################################################################
|
// # << NEORV32: neorv32_cfs.c - Custom Functions Subsystem (CFS) HW Driver (stub) >> #
|
// # << NEORV32: neorv32_cfs.c - Custom Functions Subsystem (CFS) HW Driver (stub) >> #
|
// # ********************************************************************************************* #
|
// # ********************************************************************************************* #
|
// # BSD 3-Clause License #
|
// # BSD 3-Clause License #
|
// # #
|
// # #
|
// # Copyright (c) 2021, Stephan Nolting. All rights reserved. #
|
// # Copyright (c) 2022, Stephan Nolting. All rights reserved. #
|
// # #
|
// # #
|
// # Redistribution and use in source and binary forms, with or without modification, are #
|
// # Redistribution and use in source and binary forms, with or without modification, are #
|
// # permitted provided that the following conditions are met: #
|
// # permitted provided that the following conditions are met: #
|
// # #
|
// # #
|
// # 1. Redistributions of source code must retain the above copyright notice, this list of #
|
// # 1. Redistributions of source code must retain the above copyright notice, this list of #
|
Line 47... |
Line 47... |
#include "neorv32.h"
|
#include "neorv32.h"
|
#include "neorv32_cfs.h"
|
#include "neorv32_cfs.h"
|
|
|
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* Check if custom functions unit 0 was synthesized.
|
* Check if custom functions subsystem was synthesized.
|
*
|
*
|
* @return 0 if CFS was not synthesized, 1 if CFS is available.
|
* @return 0 if CFS was not synthesized, 1 if CFS is available.
|
**************************************************************************/
|
**************************************************************************/
|
int neorv32_cfs_available(void) {
|
int neorv32_cfs_available(void) {
|
|
|