How to define transaction class when I used parameterized interface?

In reply to aluowell:

I would not make the transaction parameterized as this will add significant complexity to using the transactions. Instead, make the address the maximum width needed. Only the required number of bits will be driven on the interface.