Revent conflicting C header definitions
I use several self created IP (Xilinx). They are have their individual AirHDL register maps. Some register names are very popular. For example most of the IP have a "Config" or "Status" register.
If I import now the drivers of these IP into one C project, the corresponding #define start creating conflicts.
This prevents me from using the defines (like array length) in the header files.
It would be nice to have a possibility to prepend the defines with maybe the register_map name. (I could also rename all registers, but that seems quite hacky)
Or are there other/better solutions to this problem?