Class: HDLRuby::Low::Fm
- Inherits:
-
Object
- Object
- HDLRuby::Low::Fm
- Defined in:
- lib/HDLRuby/hruby_verilog.rb
Overview
Class summarizing "hash" used for "par" or "seq" conversion.
Instance Attribute Summary collapse
-
#fm_par ⇒ Object
readonly
Returns the value of attribute fm_par.
-
#fm_seq ⇒ Object
readonly
Returns the value of attribute fm_seq.
-
#rep ⇒ Object
readonly
Returns the value of attribute rep.
-
#rep_sharp ⇒ Object
readonly
Returns the value of attribute rep_sharp.
Instance Method Summary collapse
-
#initialize ⇒ Fm
constructor
A new instance of Fm.
Constructor Details
#initialize ⇒ Fm
Returns a new instance of Fm.
37 38 39 40 41 42 |
# File 'lib/HDLRuby/hruby_verilog.rb', line 37 def initialize @fm_seq = {} # Used to seq -> par. @fm_par = {} # Used to par -> seq. @rep = {} # Used to give ' to variables @rep_sharp = {} # Used to give # to variables end |
Instance Attribute Details
#fm_par ⇒ Object (readonly)
Returns the value of attribute fm_par.
36 37 38 |
# File 'lib/HDLRuby/hruby_verilog.rb', line 36 def fm_par @fm_par end |
#fm_seq ⇒ Object (readonly)
Returns the value of attribute fm_seq.
36 37 38 |
# File 'lib/HDLRuby/hruby_verilog.rb', line 36 def fm_seq @fm_seq end |
#rep ⇒ Object (readonly)
Returns the value of attribute rep.
36 37 38 |
# File 'lib/HDLRuby/hruby_verilog.rb', line 36 def rep @rep end |
#rep_sharp ⇒ Object (readonly)
Returns the value of attribute rep_sharp.
36 37 38 |
# File 'lib/HDLRuby/hruby_verilog.rb', line 36 def rep_sharp @rep_sharp end |