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

Legacy compatibility layer. More...

#include <stdint.h>

Go to the source code of this file.

Macros

GPIO aliases
#define INPUT_LO   INPUT[0]
 
#define INPUT_HI   INPUT[1]
 
#define OUTPUT_LO   OUTPUT[0]
 
#define OUTPUT_HI   OUTPUT[1]
 
Atomic LR/SC instructions
#define neorv32_cpu_load_reservate_word(addr, wdata)
 
#define neorv32_cpu_store_conditional_word(addr, wdata)
 

Detailed Description

Legacy compatibility layer.

Warning
Deprecated! Do not use for new designs!
See also
https://stnolting.github.io/neorv32/sw/files.html

Macro Definition Documentation

◆ neorv32_cpu_load_reservate_word

#define neorv32_cpu_load_reservate_word ( addr,
wdata )
Value:
neorv32_cpu_amolr(addr, wdata)
uint32_t neorv32_cpu_amolr(uint32_t addr)
Definition neorv32_cpu_amo.h:31

◆ neorv32_cpu_store_conditional_word

#define neorv32_cpu_store_conditional_word ( addr,
wdata )
Value:
neorv32_cpu_amosc(addr, wdata)
uint32_t neorv32_cpu_amosc(uint32_t addr, uint32_t wdata)
Definition neorv32_cpu_amo.h:58