RE: [vhdl-200x] Direct Programming Interface for VHDL 201x Proposal Update

From: Radosław Nawrot <Radoslaw.Nawrot@aldec.com.pl>
Date: Tue Dec 10 2013 - 03:43:23 PST
Hi, Peter,
You are right about performance problem with aggreagate and that is the main
problem. I think We should decide which types can and with cannot be passed
via DPI. 
But in sc_signal case It would be easer to have only one case on SC side. I
think it is acceptable because SystemC and SV do not have such strict type
check like VHDL. 
Type check between two layers is unrealistic. User can use different,
extern,  C compilers and it's his responsibility is  to use correct type, so
the less types is the less opportunity  to make mistake. 
Constants of course  should not be overdriven from foreign language side,
 
Regards,
 
Radek Nawrot
 
  _____  

From: owner-vhdl-200x@eda.org [mailto:owner-vhdl-200x@eda.org] On Behalf Of
Peter Flake
Sent: Thursday, December 05, 2013 4:56 PM
To: vhdl-200x@eda.org
Subject: RE: [vhdl-200x] Direct Programming Interface for VHDL 201x Proposal
Update



Hi Radek,

 

Thanks for your input.  I agree that it is useful to extend the data mapping
to SystemC.  Just a couple of comments:

 

The problem with aggregate types is that different languages (or even
different tools) may use different memory maps for aggregates, so converting
from one language to another may involve reordering the whole aggregate,
which could be a performance overhead.  The VHPI specifies an aggregate
organisation for VHDL, and I think we should conform to that.

 

The VHDL data types are not necessarily associated with signals, but could
be variables or constants.  I do not see why they need to be mapped to
sc_signal.

 

Regards,

 

Peter Flake

 

From: owner-vhdl-200x@eda.org [mailto:owner-vhdl-200x@eda.org] On Behalf Of
Radoslaw Nawrot
Sent: 03 December 2013 09:18
To: vhdl-200x@eda.org; john_shields@mentor.com
Subject: RE: [vhdl-200x] Direct Programming Interface for VHDL 201x Proposal
Update

 

So sorry. I've sent old version without vhdl2008 types. Correct one is
attached 

 

  _____  

From: owner-vhdl-200x@eda.org [mailto:owner-vhdl-200x@eda.org] On Behalf Of
Radosław Nawrot
Sent: Tuesday, December 03, 2013 10:09 AM
To: john_shields@mentor.com; vhdl-200x@eda.org
Subject: [vhdl-200x] Direct Programming Interface for VHDL 201x Proposal
Update

Hi All,

I am new here but I like to propose some changes in DPI Proposal. In my
opinion  VHDL DPI should  be able to cooperate not only with basic c99 and
SV types, but also with aggregate types and SystemC types. It's just a
scratch, but I thinks it's enough to start discussion. 

 

Best regards,

Radek Nawrot

 


-- 
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  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 


-- 
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 Tue Dec 10 03:44:06 2013

This archive was generated by hypermail 2.1.8 : Tue Dec 10 2013 - 03:44:41 PST