class HDLRuby::High::Print

Describes a print statement: not synthesizable!

Constants

High

High-level libraries for describing digital hardware.

Public Class Methods

new(*args) click to toggle source

Creates a new statement for printing args.

Calls superclass method HDLRuby::Low::Print::new
# File lib/HDLRuby/hruby_high.rb, line 3299
def initialize(*args)
    # Process the arguments.
    super(*args.map(&:to_expr))
end

Public Instance Methods

to_low() click to toggle source

Converts the connection to HDLRuby::Low.

# File lib/HDLRuby/hruby_high.rb, line 3305
def to_low
    return HDLRuby::Low::Print.new(*self.each_arg.map(&:to_low))
end