Comments on DirectC


Subject: Comments on DirectC
From: Swapnajit Mittra (mittra@juno.com)
Date: Tue Sep 24 2002 - 22:15:25 PDT


   Hello all,

   Thanks Joao for a great presentations today.
   I have couple of comments on DirectC that I hope
   would not be inappropriate to raise here. Since
   this was my first participation, these issues may have been
   discussed in earlier meetings already. Also, all my
   comments are based on what I have seen in VCS doc.
   for DirectC - I am assuming the main framework will
   remain the same for SV too.

   o It appears to me (and somebody pointed this out during
   the meeting too) that in DirectC there is no straightforward
   way of calling a Verilog task from C function. I mention this
   because I run a Verilog PLI related website and I get the
   question on how to call a Verilog task from C function
   (reverse direction of PLI) regularly. I believe CBlend of
   Superlog provides this already. I think we should consider
   providing this feature in SV-CC too.

   o Does DirectC provide a callback mechanism (a la
   reason, data etc.) ? According to the DirectC manual
   that I have, it does not. Probably we should consider
   providing that too if DirectC is accepted as part of SV.
   There are two reasons for this:
   - The first reason is practical - as an end user, if I write
   an external application in C, I think I would rather prefer
   to use only one of acc_*, vpi_* or DirectC, but probably
   not a mixture of both of them - acc_ for callback and
   DirectC for fast execution.
   - The second reason is more pedantic - if DirectC is
   provided as an independent API, it should contain all the
   features of a standard API (like PLI).

   Comments ?

--
Swapnajit Mittra
http://www.angelfire.com/ca/verilog

________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/web/.



This archive was generated by hypermail 2b28 : Tue Sep 24 2002 - 22:17:14 PDT