Sha256: 5c5383d1eecbd50a85c7cc9b13406031fa374d93479475caf334430e89566946

Contents?: true

Size: 400 Bytes

Versions: 105

Compression:

Stored size: 400 Bytes

Contents

require 'HDLRuby'

configure_high

# System with scopes within scopes.
system :scopescope do
    input  :i0,:i1
    output :o0,:o1
    inner  :s0

    sub do
        inner :s0
        sub do
            inner :s0
        end
    end
end

# Instantiate it for checking.
scopescope :scopescopeI

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

# Displays it
puts low.to_yaml

Version data entries

105 entries across 105 versions & 1 rubygems

Version Path
HDLRuby-3.6.2 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-3.6.1 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-3.6.0 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-3.5.1 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-3.5.0 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-3.4.0 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-3.3.4 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-3.3.3 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-3.3.1 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-3.3.0 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-3.2.0 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-3.1.0 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-3.0.0 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-2.11.12 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-2.11.11 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-2.11.10 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-2.11.9 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-2.11.8 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-2.11.7 lib/HDLRuby/high_samples/scopescope.rb
HDLRuby-2.11.5 lib/HDLRuby/high_samples/scopescope.rb