Module cannot see defines defined in pkg, if this pkg is imported inside module. What is the reason for it?

In reply to EleneSajaia:

The `define is a pre-processor macro and is not part of the package. This is why it can’t be imported.

You need to specify DATA when compiling tb_top if you want it to be utilized.