class Origen::Pins::FunctionProxy
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
Public Class Methods
new(id, pin)
click to toggle source
# File lib/origen/pins/function_proxy.rb, line 10 def initialize(id, pin) @id = id @pin = pin end
Public Instance Methods
__getobj__()
click to toggle source
# File lib/origen/pins/function_proxy.rb, line 15 def __getobj__ @pin end
__object__()
click to toggle source
@api private
To play nicely with == when a function proxy is wrapping a pin that is already wrapped by an OrgFile
interceptor
# File lib/origen/pins/function_proxy.rb, line 23 def __object__ @pin.__object__ end
Private Instance Methods
_function()
click to toggle source
For debug
# File lib/origen/pins/function_proxy.rb, line 39 def _function @id end