Class: HDLRuby::Low::Fm

Inherits:
Object
  • Object
show all
Defined in:
lib/HDLRuby/hruby_verilog.rb

Overview

Class summarizing "hash" used for "par" or "seq" conversion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFm

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_parObject (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_seqObject (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

#repObject (readonly)

Returns the value of attribute rep.



36
37
38
# File 'lib/HDLRuby/hruby_verilog.rb', line 36

def rep
  @rep
end

#rep_sharpObject (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