Method: AxiStreamBFMModuleBuild#build_streams_bfm
- Defined in:
- lib/tdl/bfm/axi_stream/axis_bfm_module_build.rb
#build_streams_bfm(sdlm, yaml_hash) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/tdl/bfm/axi_stream/axis_bfm_module_build.rb', line 13 def build_streams_bfm(sdlm,yaml_hash) yaml_hash.each do |k,v| if(v['type'] == "master") build_single_master_stream_bfm(sdlm,k,v) elsif v['type'] == "slaver" build_single_slaver_stream_bfm(sdlm,k,v) else raise TdlError.new(" Error type[#{v['type']}] for #{k}") end end end |