NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
Loading...
Searching...
No Matches
neorv32_legacy.h
Go to the documentation of this file.
1// ================================================================================ //
2// The NEORV32 RISC-V Processor - https://github.com/stnolting/neorv32 //
3// Copyright (c) NEORV32 contributors. //
4// Copyright (c) 2020 - 2024 Stephan Nolting. All rights reserved. //
5// Licensed under the BSD-3-Clause license, see LICENSE for details. //
6// SPDX-License-Identifier: BSD-3-Clause //
7// ================================================================================ //
8
16#ifndef neorv32_legacy_h
17#define neorv32_legacy_h
18
19#include <stdint.h>
20
21
22/**********************************************************************/
26#define INPUT_LO INPUT[0]
27#define INPUT_HI INPUT[1]
28#define OUTPUT_LO OUTPUT[0]
29#define OUTPUT_HI OUTPUT[1]
33/**********************************************************************/
37#define neorv32_cpu_load_reservate_word(addr, wdata) neorv32_cpu_amolr(addr, wdata)
38#define neorv32_cpu_store_conditional_word(addr, wdata) neorv32_cpu_amosc(addr, wdata)
42#endif // neorv32_legacy_h