software/include/base: C++ compatibility
Automatically build CSR access functions