On Dec 31, 2011, at 8:53 AM, René Doß wrote:

> ghdl -m -g -Psimprim -Wa,--32 -Wl,-m32 --warn-no-vital-generic 
> --ieee=synopsys -fexplicit tb_lm_cpu
> ../../../src/vital2000/timing_b.vhdl:196:15:warning: procedure "vitalerror" 
> is never referenced
> ../../../src/vital2000/timing_b.vhdl:217:15:warning: procedure "vitalerror" 
> is never referenced
> ../../../src/vital2000/prmtvs_b.vhdl:1041:15:warning: function "toedge" is 
> never referenced
> /opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/X_RAMB16BWER.vhd:277:5:
>  VITAL scalar timing type expected

The warnings can be ignored.  The VITAL scalar timing type expected message can 
be disabled.

See https://mail.gna.org/public/ghdl-discuss/2009-08/msg00007.html
Re: [Ghdl-discuss] Xilinx 11.2 unisim/simprim  11 Aug 2009

(and yes the certificate is likely out of date or otherwise not recognized, 
you're only trying to read this particular ghdl-discuss post. Neither I nor 
Tristan have any control over Gna.)

or:

http://www.mail-archive.com/[email protected]/msg00725.html

with the original message:

http://www.mail-archive.com/[email protected]/msg00721.html


There's a flag --no-vital-checks mentioned in section 6.2 of the ghdl guide 
which should allow you to use the VITAL 2000 compliant simprim models for mti.  
I note that the other models also used the array types.but didn't specify VITAL 
2000.  They'd require the flag too.

The last paragraph of 6.2 is off interest:

The analysis of a non-conformant VITAL model fails. You can disable the checks 
of VITAL restrictions with the ‘--no-vital-checks’. Even when restrictions are 
not checked, SDF annotation can be performed.
 --

You can still back annotate.  This is a shortcoming in GHDL not properly 
performing VITAL checks.  In the above referenced ghdl-discuss link, Tristan 
notes that the checks aren't compliant, and a check in ieee-vital_timing.adb in 
the ghdl source shows the patch described by the original poster hasn't been 
implemented for ghdl (because of the --no-vital-checks link and the lack of a 
copy of the standard apparently).  

So anyway, give the --no-vital-checks flag a try in your elaboration.

http://www.mail-archive.com/[email protected]/msg00721.html




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

Reply via email to