Lines Matching refs:low
61 assert('low' not in field.attrib)
63 low = int(field.attrib['pos'])
64 high = low
66 low = int(field.attrib['low'])
68 assert low <= high
69 return low, high
72 low, high = get_bitrange(xml)
73 mask = ((1 << (1 + high - low)) - 1) << low
77 assert (len(patstr) == (1 + high - low)), "Invalid {} length in {}: {}..{}".format(xml.tag, name, low, high)
79 assert not is_defined_bits(mask), "Redefined bits in {} {}: {}..{}".format(xml.tag, name, low, high);
94 dbg("{}: {}.{} => {:016x} / {:016x} / {:016x}".format(xml.tag, name, patstr, match << low, dontcare << low, mask))
96 return match << low, dontcare << low, mask
106 self.low, self.high = get_bitrange(xml)
131 return ((1 << self.get_size()) - 1) << self.low
134 return 1 + self.high - self.low
143 self.low, self.high = get_bitrange(xml)
150 self.val = match >> self.low
162 self.low = 0
166 # field for that to make '1 + high - low' work out
294 self.name, field.name, field.low, field.high);
473 bitset_name, field_name, field.low, field.high, 0, bitset.get_size() - 1)