Sha256: 0d2da6a1431bb781576eec0a0cbae393f581e88c2a8f39a59d9748fa30824ab3

Contents?: true

Size: 465 Bytes

Versions: 9

Compression:

Stored size: 465 Bytes

Contents

# A benchmark for testing the concat.
system :with_concat do
    [8].inner :count
    [4].inner :val0,:val1
    [8].inner :val2
    [12].inner :val3

    val2 <= [val0,val1]
    val3 <= [val2,val0]

    timed do
        val0 <= _b1111
        val1 <= _b0000
        count <= 0
        !10.ns
        val0 <= _b1001
        val1 <= _b0110
        count <= 1
        !10.ns
        val0 <= _b1010
        val1 <= _b0101
        count <= 2
        !10.ns
    end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
HDLRuby-3.4.0 lib/HDLRuby/hdr_samples/with_concat.rb
HDLRuby-3.3.4 lib/HDLRuby/hdr_samples/with_concat.rb
HDLRuby-3.3.3 lib/HDLRuby/hdr_samples/with_concat.rb
HDLRuby-3.3.1 lib/HDLRuby/hdr_samples/with_concat.rb
HDLRuby-3.3.0 lib/HDLRuby/hdr_samples/with_concat.rb
HDLRuby-3.2.0 lib/HDLRuby/hdr_samples/with_concat.rb
HDLRuby-3.1.0 lib/HDLRuby/hdr_samples/with_concat.rb
HDLRuby-3.0.0 lib/HDLRuby/hdr_samples/with_concat.rb
HDLRuby-2.11.12 lib/HDLRuby/hdr_samples/with_concat.rb