Lines Matching refs:shr
52 def __init__(self, name, low, high, shr, type, parser): argument
56 self.shr = shr
108 if self.shr > 0:
109 val = "(%s >> %d)" % (val, self.shr)
202 print(" .bo_shift = %d," % address.shr)
265 if not f.name and f.low == 0 and f.shr == 0 and not f.type in ["float", "fixed", "ufixed"]:
275 if f.shr > 0:
276 print("\tassert(!(val & 0x%x));" % mask(0, f.shr - 1))
482 shr = int(attrs["shr"], 0)
484 shr = 0
486 b = Field(name, low, high, shr, type, self)