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-3.4.0 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-3.3.4 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-3.3.3 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-3.3.1 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-3.3.0 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-3.2.0 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-3.1.0 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-3.0.0 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.11.12 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.11.11 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.11.10 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.11.9 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.11.8 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.11.7 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.11.5 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.11.4 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.11.3 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.11.2 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.11.0 lib/HDLRuby/low_samples/yaml2hdr.rb
HDLRuby-2.10.5 lib/HDLRuby/low_samples/yaml2hdr.rb