lib/origen/pins/pin.rb
# Returns the compare cycle wave assigned to the pin based on the currently enabled timeset,
# or nil if none is set
# Note that if a timeset is set then all pins will always return a wave as they will pick
# up a default waveform if none is explicitly assigned to it.
Returns the compare cycle wave assigned to the pin based on the currently enabled timeset,
or nil if none is set
Note that if a timeset is set then all pins will always return a wave as they will pick
up a default waveform if none is explicitly assigned to it.
Returns the compare cycle wave assigned to the pin based on the currently enabled timeset or nil if none is set Note that if a timeset is set then all pins will always return a wave as they will pick up a default waveform if none is explicitly assigned to it .
def compare_wave(code = nil)
        if t = dut.current_timeset
          @compare_waves ||= {}
          @compare_waves[t.id] ||= {}
          @compare_waves[t.id][code] ||= dut.current_timeset.send(:wave_for, myself, type: :compare, code: code)
        end
      end
def compare_wave ( code = nil ) if t = dut . current_timeset @compare_waves ||= { } @compare_waves [ t . id ] ||= { } @compare_waves [ t . id ] [ code ] ||= dut . current_timeset . send ( :wave_for , myself , type : :compare , code : code ) end end
Returns the compare cycle wave assigned to the pin based on the currently enabled timeset,
or nil if none is set
Note that if a timeset is set then all pins will always return a wave as they will pick
up a default waveform if none is explicitly assigned to it.
Returns the compare cycle wave assigned to the pin based on the currently enabled timeset or nil if none is set Note that if a timeset is set then all pins will always return a wave as they will pick up a default waveform if none is explicitly assigned to it .
# Cache this for performance since potentially this is something that could be called on # every cycle in some applications
code
<not_specific>