Parameterized Interfaces in Module ports!

In reply to John Verif:

I would expect the first one to work, but you might have a problem with how you define your axi_s_0, axi_m_0, etc.

They’d have to be:


Axi4Interface#(.ADDR_WIDTH(36),.DATA_WIDTH(64)) axi_m_0

If you instantiate them with different paramters, when you try to pass them to your DUT wrapper they won’t be type compatible.

You’re going to have to show us more code.