lib/origen/pins/pin.rb
# Restores the state of the pin to the last time save was called
Restores the state of the pin to the last time save was called
Restores the state of the pin to the last time save was called
def restore
        invalidate_vector_cache
        @state = @_saved_state.pop
        @value = @_saved_value.pop
        @suspend = @_saved_suspend.pop
        @invert = @_saved_invert.pop
        @repeat_previous = @_saved_repeat_previous.pop
      end
def restore invalidate_vector_cache @state = @_saved_state . pop @value = @_saved_value . pop @suspend = @_saved_suspend . pop @invert = @_saved_invert . pop @repeat_previous = @_saved_repeat_previous . pop end
Restores the state of the pin to the last time save was called
Restores the state of the pin to the last time save was called