Sha256: a7f2c57ad9fc9814462cf4d5d8301c9585d656a43846243ca8d745bf48e8f6f6

Contents?: true

Size: 169 Bytes

Versions: 5

Compression:

Stored size: 169 Bytes

Contents

require 'rubyHDL'

# Ruby program ment to eb executed within HDLRuby hardware.

def echo
    val = RubyHDL.inP
    puts "Echoing: #{val}"
    RubyHDL.outP = val    
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
HDLRuby-3.4.0 lib/HDLRuby/hdr_samples/ruby_program/echo.rb
HDLRuby-3.3.4 lib/HDLRuby/hdr_samples/ruby_program/echo.rb
HDLRuby-3.3.3 lib/HDLRuby/hdr_samples/ruby_program/echo.rb
HDLRuby-3.3.1 lib/HDLRuby/hdr_samples/ruby_program/echo.rb
HDLRuby-3.3.0 lib/HDLRuby/hdr_samples/ruby_program/echo.rb