Subject: DirectC vote
From: Michael Rohleder (michael.rohleder@motorola.com)
Date: Mon Sep 30 2002 - 08:59:02 PDT
Hello Yatin,
below is my input on the DirectC interface donation from Synopsys.
Short feedback the interface:
- I very much like the clear and simple way of interfacing to C/C++
- I also like that each function has a clearly defined scope of objects it can affect;
this helps in optimizations and I expect some major performance improvements here.
- the overall interface methodology is a good step in the right direction
BUT
- Having abstract access and direct access exhibited to an user is a big failure
- we need to make sure there is a 1:1 relationship between data types provided in SystemVerilog and the data types defined for DirectC; otherwise this interface is useless
- I have some doubts that the functionality of DirectC (on its own) is sufficient for its stated purpose (e.g. permit to integrate a system consisting of multiple C/C++ into a Verilog simulation)
- cmodules are an interesting concept, but I am not sure whether this method is not too specific for a compiled simulator like VCS (just from a gut feeling). I like the overall methodology, but I am unsure whether it might not be too specific or too
stringent. But, as said this is something that needs to be evaluated in more depth.
- there seems to be some inconsistencies between the usual SystemVerilog language nomenclature (this needs some more elaboration, I think)
- I have some concerns about how to use DirectC (it looks like you always have to start with the SystemVerilog side); but I am not sure whether this is imposed by the standard. Very like I just misunderstood the standard ...
- Last but not least we need to clearly define the intended relationship to PLI and VPI (is it forbidden or permitted to run related functions within a DirectC code; I think it is essential to define this UPFRONT -- don't care is the wrong statement)
As everybody sees, I am having some problems and concerns with the DirectC interface. On the other side, I think it would be a very valuable starting point for defining an interface. Starting from here is for sure much, much better than doing everything
from the scratch. Within our team in Motorola we have three possible results of a review: accepted, conditionally accepted, denied.
DirectC is clearly a candidate for the second.
As such my vote is YES to accept DirectC as the basis for the work to define an interface, but it would be clearly NO, if someone would ask me to accept it as is. There is a good deal of work that needs to be done to make it an excellent and easy to use /
easy to understand interface.
Just my $0.02.
-Michael
-- Quote of the day: "Better to remain silent and be thought a fool than to speak out and remove all doubt." [Abraham Lincoln (1809-1865)]NOTE: The content of this message may contain personal views which are not neccessarily the views of Motorola, unless specifically stated.
The information contained in this email has been classified as: Motorola General Business Information (x) Motorola Internal Use Only ( ) Motorola Confidential Proprietary ( ) when marked, please note: This e-mail and any attachments are confidential and Motorola reserves all rights of privilege in respect thereof. It is intended for the use by the addressee only. Please delete it from your system, if you are not the intended recipient. Any use, disclosure, or copying of the included information is unauthorised. ___________________________________________________ | | _ | Michael Rohleder Tel: +49-89-92103-259 | _ / )| Software Technologist Fax: +49-89-92103-680 |( \ / / | Motorola, Semiconductor Products, ASA Methodology | \ \ _( (_ | _ Schatzbogen 7, D-81829 Munich, Germany _ | _) )_ (((\ \>|_/ > < \_|</ /))) (\\\\ \_/ / mailto:Michael.Rohleder@motorola.com \ \_/ ////) \ /_______________________________________________\ / \ _/ \_ / / / \ \
***This note may contain Motorola Confidential Proprietary or Motorola Internal Use Only Information and is intended to be reviewed by only the individual or organization named above. If you are not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any review, dissemination or copying of this email and its attachments, if any, or the information contained herein is prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. Thank you!***
This archive was generated by hypermail 2b28 : Mon Sep 30 2002 - 09:10:26 PDT