RE: [vhdl-200x] VHDL-200x will need changes in VHPI examples

From: Radosław Nawrot <Radoslaw.Nawrot@aldec.com.pl>
Date: Fri Nov 14 2014 - 00:34:04 PST
http://www.eda-twiki.org/cgi-bin/view.cgi/P1076/RepairExampleInSection2321Propos
al
 
 
Regards,
Radek


  _____  

From: owner-vhdl-200x@eda.org [mailto:owner-vhdl-200x@eda.org] On Behalf Of
Radosław Nawrot
Sent: Thursday, September 18, 2014 11:54 AM
To: vhdl-200x@eda.org
Subject: [vhdl-200x] VHDL-200x will need changes in VHPI examples


Hi,
I've looked into LRM on VHPI examples and my only comment is that : VHPI
examples definitely need correction
 
Examples from 1076-2008 do not compile
 
please see page 407 :
 
is:
value.value->integer = &val;
 
 
 
Should be:
 
value.value.intg = val;
 
 
 
Is:
 
vhpi_put_value(formal1, &value);
 
 
 
vhpi_put_value have 3 arguments so it should be i.e:
 
vhpi_put_value(formal1, &value,vhpiDepositPropagate);
 
 
 
or
 
vhpi_put_value(formal1, &value,vhpiDeposit);
 

Regards,
Radek

 

-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Nov 14 02:11:38 2014

This archive was generated by hypermail 2.1.8 : Fri Nov 14 2014 - 02:17:00 PST