Class: RubyRTL::Fsm
Overview
FSM ===
Instance Attribute Summary collapse
-
#assignments ⇒ Object
Returns the value of attribute assignments.
-
#body ⇒ Object
Returns the value of attribute body.
-
#default_assigns ⇒ Object
Returns the value of attribute default_assigns.
-
#name ⇒ Object
Returns the value of attribute name.
-
#states ⇒ Object
hash.
Attributes inherited from Ast
Instance Method Summary collapse
-
#initialize(name, body = nil) ⇒ Fsm
constructor
A new instance of Fsm.
Methods inherited from Ast
Constructor Details
#initialize(name, body = nil) ⇒ Fsm
Returns a new instance of Fsm.
148 149 150 151 152 |
# File 'lib/ruby_rtl/ast.rb', line 148 def initialize name,body=nil @name,@body=name,body @default_assigns=[] # external to states structures @assignments=[] # to generate VHDL end |
Instance Attribute Details
#assignments ⇒ Object
Returns the value of attribute assignments.
147 148 149 |
# File 'lib/ruby_rtl/ast.rb', line 147 def assignments @assignments end |
#body ⇒ Object
Returns the value of attribute body.
144 145 146 |
# File 'lib/ruby_rtl/ast.rb', line 144 def body @body end |
#default_assigns ⇒ Object
Returns the value of attribute default_assigns.
146 147 148 |
# File 'lib/ruby_rtl/ast.rb', line 146 def default_assigns @default_assigns end |
#name ⇒ Object
Returns the value of attribute name.
144 145 146 |
# File 'lib/ruby_rtl/ast.rb', line 144 def name @name end |
#states ⇒ Object
hash
145 146 147 |
# File 'lib/ruby_rtl/ast.rb', line 145 def states @states end |