Class: HDLRuby::High::TimeWait
- Inherits:
-
Low::TimeWait
- Object
- Base::Statement
- Low::Statement
- Low::TimeWait
- HDLRuby::High::TimeWait
- Includes:
- HStatement
- Defined in:
- lib/HDLRuby/hruby_high.rb
Overview
Describes a high-level wait delay statement.
Constant Summary
Constants included from Low::Low2Symbol
Low::Low2Symbol::Low2SymbolPrefix, Low::Low2Symbol::Low2SymbolTable, Low::Low2Symbol::Symbol2LowTable
Instance Attribute Summary
Attributes inherited from Low::TimeWait
Attributes included from Low::Hparent
Instance Method Summary collapse
-
#to_low ⇒ Object
Converts the wait statement to HDLRuby::Low.
Methods included from HStatement
Methods inherited from Low::TimeWait
#boolean_in_assign2select!, #casts_without_expression!, #clone, #each_block, #each_block_deep, #each_deep, #each_node, #each_node_deep, #each_statement_deep, #eql?, #explicit_types!, #extract_selects!, #hash, #initialize, #map_nodes!, #set_delay!, #to_c, #to_hdr, #to_high, #to_verilog, #to_vhdl
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
Methods included from Low::Hparent
Constructor Details
This class inherits a constructor from HDLRuby::Low::TimeWait
Instance Method Details
#to_low ⇒ Object
Converts the wait statement to HDLRuby::Low.
2481 2482 2483 2484 2485 2486 2487 2488 |
# File 'lib/HDLRuby/hruby_high.rb', line 2481 def to_low # return HDLRuby::Low::TimeWait.new(self.delay.to_low) timeWaitL = HDLRuby::Low::TimeWait.new(self.delay.to_low) # # For debugging: set the source high object # timeWaitL.properties[:low2high] = self.hdr_id # self.properties[:high2low] = timeWaitL return timeWaitL end |