Class: RubyHDL::High::Step
- Defined in:
- lib/HDLRuby/std/sequencer_sw.rb
Overview
Describes a SW implementation of a step statement.
Instance Method Summary collapse
-
#initialize(sequencer) ⇒ Step
constructor
Create a new step statement in sequencer +sequencer+.
-
#to_c ⇒ Object
Convert to C code.
-
#to_ruby ⇒ Object
Convert to Ruby code.
Methods inherited from Statement
#each_statement, #each_statement_deep
Constructor Details
Instance Method Details
#to_c ⇒ Object
Convert to C code.
2438 2439 2440 |
# File 'lib/HDLRuby/std/sequencer_sw.rb', line 2438 def to_c return @sequencer.clk_up_c end |
#to_ruby ⇒ Object
Convert to Ruby code.
2433 2434 2435 |
# File 'lib/HDLRuby/std/sequencer_sw.rb', line 2433 def to_ruby return @sequencer.clk_up end |