# File lib/ruby-vpi/core/handle.rb, line 144 def get_value aFormat = VpiIntVal fmt = resolve_prop_type(aFormat) @size ||= vpi_get(VpiSize, self) if fmt == VpiIntVal and @size > INTEGER_BITS fmt = VpiBinStrVal val = get_value_wrapper(fmt) val.read(fmt).gsub(/[^01]/, '0').to_i(2) else val = get_value_wrapper(fmt) val.read(fmt) end end