Class: HDLRuby::High::Configure

Inherits:
Low::Configure show all
Includes:
HStatement
Defined in:
lib/HDLRuby/hruby_high.rb,
lib/HDLRuby/hruby_rsim.rb,
lib/HDLRuby/hruby_rcsim.rb

Overview

Extends the Configure class for hybrid Ruby-C simulation.

Constant Summary collapse

High =
HDLRuby::High

Constants included from Low::Low2Symbol

Low::Low2Symbol::Low2SymbolPrefix, Low::Low2Symbol::Low2SymbolTable, Low::Low2Symbol::Symbol2LowTable

Instance Attribute Summary collapse

Attributes inherited from Low::Configure

#index, #ref

Attributes included from Low::Hparent

#parent

Instance Method Summary collapse

Methods included from HStatement

#hif

Methods inherited from Low::Configure

#clone, #each_block_deep, #each_deep, #each_node_deep, #each_statement_deep, #eql?, #explicit_types!, #hash, #to_c

Methods inherited from Low::Statement

#add_blocks_code, #add_make_block, #behavior, #block, #blocks2seq!, #break_types!, #clone, #delete_related!, #delete_unless!, #each_deep, #each_statement, #eql?, #explicit_types!, #extract_declares!, #hash, #mix?, #par_in_seq2seq!, #parent_system, #replace_expressions!, #replace_names!, #scope, #to_c, #to_ch, #to_hdr, #to_high, #to_seq!, #to_upper_space!, #to_vhdl, #top_block, #top_scope, #use_name?, #with_boolean!

Methods included from Low::Low2Symbol

#to_sym

Methods included from Low::Hparent

#hierarchy, #no_parent!, #scope

Constructor Details

#initialize(ref, num) ⇒ Configure

Creates a new (re)configure statement for system instance refered by +ref+ with system number +num+.



3683
3684
3685
# File 'lib/HDLRuby/hruby_high.rb', line 3683

def initialize(ref,num)
    super(ref,num)
end

Instance Attribute Details

#rcstatementObject (readonly)

Returns the value of attribute rcstatement.



557
558
559
# File 'lib/HDLRuby/hruby_rcsim.rb', line 557

def rcstatement
  @rcstatement
end

Instance Method Details

#to_lowObject

Converts the connection to HDLRuby::Low.



3688
3689
3690
# File 'lib/HDLRuby/hruby_high.rb', line 3688

def to_low
    return HDLRuby::Low::Configure.new(self.ref.to_low, self.index)
end