Sha256: 2f16da8e65eba1a881a3b12ad632ae074963116a561f93573f7875aeaf11b91f
Contents?: true
Size: 506 Bytes
Versions: 5
Compression:
Stored size: 506 Bytes
Contents
# A benchmark for testing the use of Ruby software code. system :with_ruby_prog do inner :clk [8].inner :count, :echo program(:ruby,:echo) do actport clk.posedge inport inP: count outport outP: echo code "ruby_program/echo.rb" end timed do clk <= 0 count <= 0 !10.ns repeat(10) do clk <= 1 !10.ns count <= count + 1 clk <= 0 !10.ns end end end
Version data entries
5 entries across 5 versions & 1 rubygems