For the macro related to module reference, I suggest you save the such macro definition in a header file and set the header file as global included. In your project, it just means that the macro defined in synthesis option cannot be recognized in Hierachical Sources View. It's expected. ...