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.



52
53
54
55
56
57
# File 'lib/HDLRuby/hruby_verilog.rb', line 52

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.



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

def fm_par
  @fm_par
end

#fm_seqObject (readonly)

Returns the value of attribute fm_seq.



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

def fm_seq
  @fm_seq
end

#repObject (readonly)

Returns the value of attribute rep.



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

def rep
  @rep
end

#rep_sharpObject (readonly)

Returns the value of attribute rep_sharp.



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

def rep_sharp
  @rep_sharp
end