lib/origen/registers/reg.rb
# Returns true if some portion of the given bits falls
# within the given range
Returns true if some portion of the given bits falls
within the given range
Returns true if some portion of the given bits falls within the given range
def _bit_in_range?(bits, max, min)
        upper = bits.position + bits.size - 1
        lower = bits.position
        !((lower > max) || (upper < min))
      end
def _bit_in_range? ( bits , max , min ) upper = bits . position + bits . size - 1 lower = bits . position ! ( ( lower > max ) || ( upper < min ) ) end
Returns true if some portion of the given bits falls
within the given range
Returns true if some portion of the given bits falls within the given range
bits
<not_specific>
max
<not_specific>
min
<not_specific>