def METHOD_NAME(self):
    for bit in range(self.num_wmasks):
        self.add_pin("wmask_in_{}".format(bit), "INPUT")
    self.add_pin("en", "INPUT")
    for bit in range(self.num_wmasks):
        self.add_pin("wmask_out_{}".format(bit), "OUTPUT")
    self.add_pin("vdd", "POWER")
    self.add_pin("gnd", "GROUND")