Sha256: c6a3093df30c941798e2d19f6d466017c2badfc0cb5cb5f7e0ce50ccaaadfccd

Contents?: true

Size: 354 Bytes

Versions: 5

Compression:

Stored size: 354 Bytes

Contents

system :accum do
  inner :clk
  [32].inner :sigI, :sigO

  program(:ruby,:stdrw) do
    actport clk.posedge
    outport sigI: sigI
    inport  sigO: sigO
    code "ruby_program/stdrw.rb"
  end

  (sigO <= sigO+sigI).at(clk.negedge)

  timed do
    clk <= 0
    sigO <= 0
    sigI <= 0
    repeat(10) do
       !10.ns
       clk <= ~clk
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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