Ouch! Good catch Tapati. There is precedence for this. We had vpiPortType return vpiPort when it was an ordinary port. I think we should do the same in this case. Looks like we should probably re-number the return values to begin with 2 instead of 1. This would be one of those things that Stu would be able to go in front of the P1800 committee tomorrow and ask to fix. -Chas Tapati Basu wrote: > Hi, > > I have a question realted to vpiAlwaysType. I have not searched our database > yet, but if you are already aware of this, please let me know. > > My understanding is, if vpi_get(vpiType, process) return vpiAlways (value = 1) > then we can query to find out what type of always it is. > > vpi_get(vpiAlwaysType, process) can return only vpiAlwaysComb, vpiAlwaysFf and > vpiAlwaysLatch. What is it supposed to return if a process is just plain and > simple V2K like always block ? I guess we can not return vpiAlways here as > vpiAlwaysComb and vpiAlways both is defined as value = 1. > > - Regards, > Tapati > > > > >>X-Authentication-Warning: server.eda.org: majordom set sender to > > owner-sv-cc@eda.org using -f > >>Date: Wed, 01 Jun 2005 11:48:42 -0400 >>From: Charles Dawson <chas@cadence.com> >>User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 > > Netscape/7.0 > >>X-Accept-Language: en-us, en >>MIME-Version: 1.0 >>To: SV-CC <sv-cc@eda.org> >>Subject: [POSSIBLE VIRUS:###] [sv-cc] [Fwd: P1800/draft5 sv_vpi_user.h file] >>X-Received: By mx-sanjose.cadence.com as j51Fmi1B013710 at Wed Jun 1 08:48:44 > > 2005 > >>X-Virus-Scanned: ClamAV 0.83/905/Wed Jun 1 00:28:38 2005 on server.eda.org >>X-Virus-Scanned: ClamAV 0.83/905/Wed Jun 1 00:28:38 2005 on server.eda.org >>X-Virus-Status: Clean >>X-pstn-levels: (S:99.90000/99.90000 R:95.9108 P:95.9108 M:97.0232 C:98.7678 ) >> >>Hi All, >> >>I suggest trying this out ASAP to make sure it has not obvious >>syntax errors, ...etc. >> >>Thanks. >> >> -Chas >> >> >>-------- Original Message -------- >>Subject: P1800/draft5 sv_vpi_user.h file >>Date: Wed, 1 Jun 2005 08:30:18 -0700 >>From: "Stuart Sutherland" <stuart@sutherland-hdl.com> >>Reply-To: <stuart@sutherland-hdl.com> >>Organization: Sutherland HDL, Inc. >>To: <chas> >> >>Chas., >> >>I have attached a .h file with what is in the final version P1800/draft5 >>Annex I. Any struck-through lines have been deleted from this file, so it >>should be good-to-go. Please forward this to any SV-CC committee members >>that may wish to test the file. Testing should be done ASAP. If any errors >>are found, we can ask the working group at tomorrow's meeting to allow me to >>make corrections and regenerate draft 5. >> >>Note that the attached file has Unix style carriage returns. In case this >>does not e-mail well, I have also attached a zip file version (which will >>probably convert the file to DOS style returns). I can create a tar file >>version if needed, but have to reboot my laptop into Linux to do so, and >>then reboot in Windows to e-mail it (and to continue editing the P1364 LRM. >> >>Stu >>~~~~~~~~~~~~~~~~~~~~~~~~~ >>Stuart Sutherland >>stuart@sutherland-hdl.com >>+1-503-692-0898 >> >> >> >>-- >>Charles Dawson >>Senior Engineering Manager >>NC-Verilog Team >>Cadence Design Systems, Inc. >>270 Billerica Road >>Chelmsford, MA 01824 >>(978) 262 - 6273 >>chas@cadence.com >> > > > Tapati Basu > > > -- Charles Dawson Senior Engineering Manager NC-Verilog Team Cadence Design Systems, Inc. 270 Billerica Road Chelmsford, MA 01824 (978) 262 - 6273 chas@cadence.comReceived on Wed Jun 1 11:13:13 2005
This archive was generated by hypermail 2.1.8 : Wed Jun 01 2005 - 11:13:16 PDT