Am 17.01.2014 um 11:41 schrieb Brian Drummond <[email protected]>:

> On Fri, 2014-01-17 at 00:41 +0100, Torsten Meißner wrote:
>> Hello guys,
>> 
>> 
>> it's good to see the new 0.32 release, great work :)
>> 
>> Last year there were some efforts of Brian to get the OSVVM library running 
>> with GHDL . So, I've tried it today.
>> I took the latest release of  OSVVM which is 2013.05. The first thing I 
>> noticed: there is no Demo_Rand.vhd design anymore.
> 
> Thanks for the report. Demo_Rand was part of an older package
> OS-VVM_2_3_1, which was the latest (when I looked) to provide the -2002
> packages.

I don't have found Demo_Rand.vhd, even in the OSVVM 2.3.1 version which you can 
download from their website ...
So, for further tests I took the "Test_Rand.vhd" from your bugreport  at 
http://gna.org/bugs/?20769

When I compile the latest OSVVM library and these test design with these 
commands:

        ghdl -a --std=93 --work=ieee_proposed 
../../../ieee_proposed/standard_additions_c.vhd
        ghdl -a --std=93 --work=ieee_proposed 
../../../ieee_proposed/standard_textio_additions_c.vhd
        ghdl -a --std=93 --work=ieee_proposed ../../../ieee_proposed/env_c.vhd
        ghdl -a --std=93 --work=ieee_proposed 
../../../ieee_proposed/numeric_std_additions.vhd
        ghdl -a --std=93 --work=ieee_proposed 
../../../ieee_proposed/numeric_std_unsigned_c.vhd
        ghdl -a --ieee=synopsys --std=02 ../../../packages/SortListPkg_int.vhd
        ghdl -a --ieee=synopsys --std=02 ../../../packages/RandomBasePkg.vhd
        ghdl -a --ieee=synopsys --std=02 -fexplicit 
../../../packages/RandomPkg.vhd
        ghdl -a --ieee=synopsys --std=02 ../../../packages/CoveragePkg.vhd
        ghdl -a --ieee=synopsys --std=02 ../src/Test_Rand.vhd
        ghdl -e --ieee=synopsys --std=02 -fexplicit Test_Rand
        ghdl -r --ieee=synopsys --std=02 -fexplicit Test_Rand

It all compiles with some warning about unreferenced functions. Running the 
test design in the last step results in an error:

ghdl -a --std=93 --work=ieee_proposed 
../../../ieee_proposed/standard_additions_c.vhd
ghdl -a --std=93 --work=ieee_proposed 
../../../ieee_proposed/standard_textio_additions_c.vhd
../../../ieee_proposed/standard_textio_additions_c.vhd:368:13:warning: 
procedure "read" is never referenced
../../../ieee_proposed/standard_textio_additions_c.vhd:391:13:warning: 
procedure "read" is never referenced
../../../ieee_proposed/standard_textio_additions_c.vhd:413:13:warning: 
procedure "write" is never referenced
ghdl -a --std=93 --work=ieee_proposed ../../../ieee_proposed/env_c.vhd
ghdl -a --std=93 --work=ieee_proposed 
../../../ieee_proposed/numeric_std_additions.vhd
../../../ieee_proposed/numeric_std_additions.vhd:1176:12:warning: function 
"sll" is never referenced
../../../ieee_proposed/numeric_std_additions.vhd:1191:12:warning: function 
"sll" is never referenced
../../../ieee_proposed/numeric_std_additions.vhd:1206:12:warning: function 
"srl" is never referenced
../../../ieee_proposed/numeric_std_additions.vhd:1221:12:warning: function 
"srl" is never referenced
../../../ieee_proposed/numeric_std_additions.vhd:1236:12:warning: function 
"rol" is never referenced
../../../ieee_proposed/numeric_std_additions.vhd:1251:12:warning: function 
"rol" is never referenced
../../../ieee_proposed/numeric_std_additions.vhd:1266:12:warning: function 
"ror" is never referenced
../../../ieee_proposed/numeric_std_additions.vhd:1281:12:warning: function 
"ror" is never referenced
ghdl -a --std=93 --work=ieee_proposed 
../../../ieee_proposed/numeric_std_unsigned_c.vhd
ghdl -a --ieee=synopsys --std=02 ../../../packages/SortListPkg_int.vhd
ghdl -a --ieee=synopsys --std=02 ../../../packages/RandomBasePkg.vhd
ghdl -a --ieee=synopsys --std=02 -fexplicit ../../../packages/RandomPkg.vhd
ghdl -a --ieee=synopsys --std=02 ../../../packages/CoveragePkg.vhd
../../../packages/CoveragePkg.vhd:681:12:warning: function "inside" is never 
referenced
ghdl -a --ieee=synopsys --std=02 ../src/Test_Rand.vhd
ghdl -e --ieee=synopsys --std=02 -fexplicit Test_Rand
ghdl -r --ieee=synopsys --std=02 -fexplicit Test_Rand
symbol __ghdl_value_e8 is undefined
symbol __ghdl_value_e8 is undefined
make: *** [tb_top.ghw] Error 1

This error looks like that one in a post in this mailinglist from april: 
https://mail.gna.org/public/ghdl-discuss/2013-04/msg00026.html

ghdl -e --std=02 --ieee=synopsys Demo_Rand
RandomPkg.o: In function `work__randompkg__readO1':
RandomPkg.vhd:(.text+0x955): undefined reference to `__ghdl_value_e8'
RandomPkg.o: In function `work__randompkg__readO3':
RandomPkg.vhd:(.text+0xecb): undefined reference to `__ghdl_value_e8'
collect2: error: ld returned 1 exit status
ghdl: compilation error

I use the latest mcode version on OSX 10.9 which is 32 bit, right? So I think I 
don't need this patch?


> 
> OSVVM_2013_04 was supplied without the -2002 packages at all. I believe
> I got it to compile but can't remember if I tried the sensors example.
> 
>> Next step was getting the ieee_proposed packages:
>> 
>> env_c.vhd
>> numeric_std_additions.vhd
>> numeric_std_unsigned_c.vhd
>> standard_additions_c.vhd
>> standard_textio_additions_c.vhd
> 
> And there are some new packages here, which I have not tested. It looks
> as if newer OSVVM releases are not routinely tested in -2002 mode, and
> may require some maintenance to work that way.
> 
> Thanks for the report, I'll look into it.
> 

Thanks :)

> - Brian
> 
> 

Greetins,
Torsten

> 
> 
> _______________________________________________
> Ghdl-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/ghdl-discuss


_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to