Hello!
I have an adapter module that connects signals of different definitions of the AXI interface. I am using a generic declaration of the ports (interface keyword) to be able to pass any kind of interface.
I want to replace the generic ports with a specific interface definition passed as a parameter. Is this possible?
Why?
For some synthesis constraints, I need the ports inside the generic adapter to be specific
What I have:
module axi_intf_adapter #(
...
)(
interface master,
interface slave
);
// connection signals
...
What I want to achieve:
module axi_intf_adapter #(
parameter xx master_if,
parameter xx slave_if,
...
)(
master_if master,
slave_if slave
);
// connection signals
...