Class: HDLRuby::High::Delay
- Inherits:
-
Low::Delay
- Object
- Base::Delay
- Low::Delay
- HDLRuby::High::Delay
- Includes:
- HStatement
- Defined in:
- lib/HDLRuby/hruby_high.rb
Overview
Describes a delay: not synthesizable.
Constant Summary collapse
- High =
HDLRuby::High
Constants included from Low::Low2Symbol
Low::Low2Symbol::Low2SymbolPrefix, Low::Low2Symbol::Low2SymbolTable, Low::Low2Symbol::Symbol2LowTable
Instance Attribute Summary
Attributes inherited from Low::Delay
Attributes included from Low::Hparent
Instance Method Summary collapse
- #! ⇒ Object
-
#to_low ⇒ Object
Converts the delay to HDLRuby::Low.
Methods included from HStatement
Methods inherited from Low::Delay
#clone, #eql?, #hash, #initialize, #replace_expressions!, #set_unit!, #set_value!, #to_c, #to_high, #to_verilog, #to_vhdl
Methods included from Low::Low2Symbol
Constructor Details
This class inherits a constructor from HDLRuby::Low::Delay
Instance Method Details
#! ⇒ Object
2127 2128 2129 |
# File 'lib/HDLRuby/hruby_high.rb', line 2127 def ! High.top_user.wait(self) end |
#to_low ⇒ Object
Converts the delay to HDLRuby::Low.
2132 2133 2134 |
# File 'lib/HDLRuby/hruby_high.rb', line 2132 def to_low return HDLRuby::Low::Delay.new(self.value, self.unit) end |