Hello.
I’m trying to clean it up by using orgmode macros. However, it seems like these are not replaced when inside code blocks.
Do you have a minimal example of what you'd like to "macrofy" in the verilog code blocks?
Probably the solution is to use noweb references with arguments? See the Org manual.
--