Hi everyone,
I’m working with SPI BFM on GHDL and I had a run time error with the UVVM_SUPLEMETARY sample code (spi_vvc_tb.vhd):
UVVM-master/bitvis_vip_scoreboard/src/generic_sb_pkg.vhd:546:14:error: type of variable “vr_sb_queue” referenced before its elaboration
variable vr_sb_queue : sb_queue_pkg.t_generic_queue;
Compilation in GHDL:
ghdl -a --work=bitvis_vip_spi --std=08 -frelaxed -fsynopsys spi_common_pkg.vhd
ghdl -a --work=bitvis_vip_spi --std=08 -frelaxed -fsynopsys spi_master.vhd
ghdl -a --work=bitvis_vip_spi --std=08 -frelaxed -fsynopsys spi_slave.vhd
ghdl -a --work=bitvis_vip_spi --std=08 -frelaxed -fsynopsys spi_pif.vhd
ghdl -a --work=bitvis_vip_spi --std=08 -frelaxed -fsynopsys spi_vvc_tb.vhd
ghdl -e --work=bitvis_vip_spi --std=08 -frelaxed -fsynopsys spi_vvc_tb
ghdl -r --work=bitvis_vip_spi --std=08 -frelaxed -fsynopsys spi_vvc_tb --vcd=GTK_spi_vvc_tb.vcd
It seems that the error comes from line 126 of the vvc_methods_pkg.vhd file.
Best regard,
Thanks.
Oscar.