Sha256: 65802077c2059a0acb689824356a24f65dfca430e9c08db7b5a1aa7f237bf2c9

Contents?: true

Size: 428 Bytes

Versions: 100

Compression:

Stored size: 428 Bytes

Contents

require 'HDLRuby'

configure_high

# Describes a system including several vector types.
system :vectors do
    [7..0].input :byte
    [ bit[8], signed[16], unsigned[16] ].output :bss

    # For testing each_type, no hardware is generated.
    bss.type.each_type {|t| }
end


# Instantiate it for checking.
vectors :vectorsI

# Generate the low level representation.
low = vectorsI.systemT.to_low

# Displays it
puts low.to_yaml

Version data entries

100 entries across 100 versions & 1 rubygems

Version Path
HDLRuby-2.6.2 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.5.1 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.5.0 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.29 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.28 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.27 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.26 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.25 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.22 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.21 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.20 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.19 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.18 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.17 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.15 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.14 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.12 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.11 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.10 lib/HDLRuby/high_samples/vector.rb
HDLRuby-2.4.9 lib/HDLRuby/high_samples/vector.rb