Method: AxiStreamBFMModuleBuild#use_yaml_bfm

Defined in:
lib/tdl/bfm/axi_stream/axis_bfm_module_build.rb

#use_yaml_bfm(yaml_file) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/tdl/bfm/axi_stream/axis_bfm_module_build.rb', line 4

def use_yaml_bfm(yaml_file)

    sdlm = TechBenchModule.new(name:File.basename(yaml_file,".*"),out_sv_path:File.expand_path(File.dirname(yaml_file)))
    axis_bp = AxiStreamBFMParse.new(yaml_file)
    AxiStreamBFMModuleBuild.new.build_streams_bfm(sdlm,axis_bp.hash)

    return sdlm
end