lib/origen/registers/reg.rb
# Proxies requests from bit collections to the register owner
Proxies requests from bit collections to the register owner
Proxies requests from bit collections to the register owner
def request(operation, options = {}) 
        if operation == :read_register
          object = reader
          (Origen.top_level || owner).read_register_missing!(self) unless object
        else
          object = writer
          (Origen.top_level || owner).write_register_missing!(self) unless object
        end
        if tester && tester.respond_to?(operation)
          tester.send(operation, self, options) do
            object.send(operation, self, options)
          end
        else
          object.send(operation, self, options)
        end
        self
      end
def request ( operation , options = { } ) if operation == :read_register object = reader ( Origen . top_level || owner ) . read_register_missing! ( self ) unless object else object = writer ( Origen . top_level || owner ) . write_register_missing! ( self ) unless object end if tester && tester . respond_to? ( operation ) tester . send ( operation , self , options ) do object . send ( operation , self , options ) end else object . send ( operation , self , options ) end self end
Proxies requests from bit collections to the register owner
Proxies requests from bit collections to the register owner
# :nodoc:
operation
<not_specific>
options
<not_specific>