Method: HDLRuby::High::Print#to_rcsim

Defined in:
lib/HDLRuby/hruby_rcsim.rb

#to_rcsimObject

Generate the C description of the print.



640
641
642
643
644
645
646
647
648
649
650
651
# File 'lib/HDLRuby/hruby_rcsim.rb', line 640

def to_rcsim
    # Create the print C object.
    @rcstatement = RCSim.rcsim_make_print()

    # Adds the arguments.
    if self.each_arg.any? then
        RCSim.rcsim_add_print_args(@rcstatement,
                                   self.each_arg.map(&:to_rcsim))
    end

    return @rcstatement
end