def METHOD_NAME(self, frame_addr, word_addr, bit_index, line):
    '''Set given bit in given frame address and word'''
    assert bit_index is not None
    key = (frame_addr, word_addr, bit_index)
    if key in self.frames:
        if self.frames[key] != 0:
            raise FasmInconsistentBits(
                'FASM line "{}" wanted to clear bit {} but was set by FASM line "{}"'
                .format(
                    line,
                    key,
                    self.frames_line[key],
                ))
        return
    self.frames[key] = 0
    self.frames_line[key] = line