Class: HDLRuby::High::TimeRepeat

Inherits:
Low::TimeRepeat show all
Includes:
HStatement
Defined in:
lib/HDLRuby/hruby_high.rb

Overview

Describes a timed loop statement: not synthesizable!

Constant Summary

Constants included from Low::Low2Symbol

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

Instance Attribute Summary

Attributes inherited from Low::TimeRepeat

#delay, #statement

Attributes included from Low::Hparent

#parent

Instance Method Summary collapse

Methods included from HStatement

#hif

Methods inherited from Low::TimeRepeat

#blocks2seq!, #clone, #each_block, #each_block_deep, #each_node, #each_node_deep, #each_statement_deep, #eql?, #explicit_types!, #extract_declares!, #hash, #initialize, #map_nodes!, #mix?, #replace_expressions!, #replace_names!, #set_delay!, #set_statement!, #to_c, #to_high, #to_upper_space!, #to_vhdl

Methods inherited from Low::Statement

#add_blocks_code, #block, #blocks2seq!, #break_types!, #clone, #delete_unless!, #eql?, #explicit_types!, #extract_declares!, #hash, #mix?, #replace_expressions!, #replace_names!, #to_c, #to_high, #to_upper_space!, #to_vhdl, #top_block, #top_scope, #with_boolean!

Methods included from Low::Low2Symbol

#to_sym

Constructor Details

This class inherits a constructor from HDLRuby::Low::TimeRepeat

Instance Method Details

#to_lowObject

Converts the repeat statement to HDLRuby::Low.



2155
2156
2157
2158
# File 'lib/HDLRuby/hruby_high.rb', line 2155

def to_low
    return HDLRuby::Low::TimeRepeat.new(self.statement.to_low,
                                        self.delay.to_low)
end