def METHOD_NAME(self):
    self.and2_insts = {}
    for bit in range(self.num_wmasks):
        name = "and2_{}".format(bit)
        self.and2_insts[bit] = self.add_inst(name=name,
                                             mod=self.and2)
        self.connect_inst(["wmask_in_{}".format(bit),
                           "en",
                           "wmask_out_{}".format(bit),
                           "vdd", "gnd"])