Class: Origen::Pins::FunctionProxy

Inherits:
Delegator
  • Object
show all
Defined in:
lib/origen/pins/function_proxy.rb

Overview

Thin wrapper around pin objects to implement a defined function.

The pin object stores all attributes associated with the function, this wrapper simply keeps track of what function a given pin reference refers to

Instance Method Summary collapse

Constructor Details

#initialize(id, pin) ⇒ FunctionProxy

Returns a new instance of FunctionProxy.



10
11
12
13
# File 'lib/origen/pins/function_proxy.rb', line 10

def initialize(id, pin)
  @id = id
  @pin = pin
end

Instance Method Details

#__getobj__Object



15
16
17
# File 'lib/origen/pins/function_proxy.rb', line 15

def __getobj__
  @pin
end