Class: AxiStreamBFMParse

Inherits:
Object
  • Object
show all
Defined in:
lib/tdl/bfm/axi_stream/axis_bfm_parse.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(yaml_file) ⇒ AxiStreamBFMParse

Returns a new instance of AxiStreamBFMParse.



6
7
8
# File 'lib/tdl/bfm/axi_stream/axis_bfm_parse.rb', line 6

def initialize(yaml_file)
    @hash = YAML::load(File.open(yaml_file))
end

Instance Attribute Details

#hashObject (readonly)

Returns the value of attribute hash.



4
5
6
# File 'lib/tdl/bfm/axi_stream/axis_bfm_parse.rb', line 4

def hash
  @hash
end