If the design has N ports and N can be changed as per the product requirement, then how do we get this port information N in the generic sequences that we code to validate such a design. The design uses parameters, which I have in the TB and interface also. In the sequences and other TB components, we need a lot of port-based variable declaration. How do we achieve this passing of a parameter? Or is there any other way to accomplish this?