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.4.8 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.4.6 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.4.1 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.3.8 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.3.7 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.3.6 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.3.5 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.3.4 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.3.3 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.3.2 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.3.1 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.3.0 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.17 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.16 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.15 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.14 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.13 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.12 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.11 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.2.10 lib/HDLRuby/low_samples/yaml2hdr.rb