AXI Stream BFM compile script

The AXI Stream BFM compile script does not compile correctly. It is a copy/past clone of the ‘bitvis_vip_avalon_mm’ script.

You need to change the BFM name:

Line 77: quietly set lib_name bitvis_vip_avalon_mm
Line 122: eval vcom $compdirectives $source_path/src/avalon_mm_bfm_pkg.vhd

to make it work correctly.

Gerald

1 Like

Hi,
Thank you for sharing. Could you also create a pull-request with the fix at https://github.com/UVVM/UVVM/pulls?

Br,
Marius

I compiled the UVVM from a ZIP-Download, not sure how to add a pull-request. Anyhow here is the diff for ‘UVVM/bitvis_vip_axistream/script/compile_bfm.do’

@@ -74,7 +74,7 @@
#------------------------------------------------------

Set lib_name

#------------------------------------------------------
-quietly set lib_name bitvis_vip_avalon_mm
+quietly set lib_name bitvis_vip_axistream

#------------------------------------------------------
@@ -118,5 +118,5 @@

Compile BFM file

#------------------------------------------------------
echo “\nCompiling $lib_name BFM source\n”
-echo “eval vcom $compdirectives $source_path/src/avalon_mm_bfm_pkg.vhd”
-eval vcom $compdirectives $source_path/src/avalon_mm_bfm_pkg.vhd
+echo “eval vcom $compdirectives $source_path/src/axistream_bfm_pkg.vhd”
+eval vcom $compdirectives $source_path/src/axistream_bfm_pkg.vhd

Gerald

1 Like

Great, thanks. I can create an internal ticket so we can have the fix in the next release of UVVM.

Kind regards,
Marius