Sha256: 3cb573f4426dc8e80e4607c5b7e4dae2610ac8dc90eee4a8a159f849b5618c20

Contents?: true

Size: 298 Bytes

Versions: 100

Compression:

Stored size: 298 Bytes

Contents

# Simple program for testing the variable generation for HDLRuby::Low objects.
require 'HDLRuby'
require 'HDLRuby/hruby_low2high'
include HDLRuby::Low

# Read a yaml file.
hardwares = HDLRuby::from_yaml(File.read($*[0]))

# Generate the corresponding HDLruby::High code.
puts hardwares[-1].to_high

Version data entries

100 entries across 100 versions & 1 rubygems

Version Path
HDLRuby-2.2.9 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.8 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.7 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.6 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.5 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.3 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.2 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.0 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.1.6 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.1.5 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.1.2 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.1.0 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.0.18 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.0.17 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.0.16 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.0.15 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.0.14 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.0.13 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.0.9 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.0.8 lib/HDLRuby/low_samples/yaml2hdr.rb