Class: AxiStreamBFMParse
- Inherits:
-
Object
- Object
- AxiStreamBFMParse
- Defined in:
- lib/tdl/bfm/axi_stream/axis_bfm_parse.rb
Instance Attribute Summary collapse
-
#hash ⇒ Object
readonly
Returns the value of attribute hash.
Instance Method Summary collapse
-
#initialize(yaml_file) ⇒ AxiStreamBFMParse
constructor
A new instance of AxiStreamBFMParse.
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
#hash ⇒ Object (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 |