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.



50
51
52
53
54
55
# File 'lib/HDLRuby/hruby_verilog.rb', line 50

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.



49
50
51
# File 'lib/HDLRuby/hruby_verilog.rb', line 49

def fm_par
  @fm_par
end

#fm_seqObject (readonly)

Returns the value of attribute fm_seq.



49
50
51
# File 'lib/HDLRuby/hruby_verilog.rb', line 49

def fm_seq
  @fm_seq
end

#repObject (readonly)

Returns the value of attribute rep.



49
50
51
# File 'lib/HDLRuby/hruby_verilog.rb', line 49

def rep
  @rep
end

#rep_sharpObject (readonly)

Returns the value of attribute rep_sharp.



49
50
51
# File 'lib/HDLRuby/hruby_verilog.rb', line 49

def rep_sharp
  @rep_sharp
end