I'd think that one could put a bit or int type in the record to indicate the type of partial drive, no?
Jonathan David
Jbdavid@qualcomm.com
(858) 651-0150
Sent from my Qualcomm powered HTC EVO
----- Reply message -----
From: "Little Scott-B11206" <B11206@freescale.com>
Date: Thu, May 19, 2011 9:18 am
Subject: [sv-dc] RE: driver access function in SV
To: "sv-dc@eda.org" <sv-dc@eda.org>
From: "Vreugdenhil, Gordon" <gordon_vreugdenhil@mentor.com>
To: Dave Miller <David.L.Miller@freescale.com>
CC: "sv-dc@eda.org" <sv-dc@eda.org>
Subject: Re: [sv-dc] 3398 proposal
Thread-Topic: [sv-dc] 3398 proposal
Thread-Index: AQHMFi4wv6XY9Ev68k20DdPBKMZthJSUUEsZ
Date: Thu, 19 May 2011 16:03:43 +0000
Message-ID: <DEFB79D4-5FE8-4F2C-8D30-69BC211C1D7B@mentor.com>
References: <5696F65BC5C6014BAC3030460038A8D61501EB5B8E@MAILSJ3.global.cadence.com>
<4DD3D9EC.6070000@model.com>,<4DD5241B.5020205@freescale.com>
In-Reply-To: <4DD5241B.5020205@freescale.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-OriginalArrivalTime: 19 May 2011 16:01:16.0282 (UTC) FILETIME=[FBF475A0:01CC163D]
X-EDA-MailScanner-Information: Please contact the ISP for more information
X-EDA-MailScanner-ID: p4JG3jKO014275
X-EDA-MailScanner: Found to be clean
X-EDA-MailScanner-From: gordon_vreugdenhil@mentor.com
X-Spam-Status: No
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mail.eda.org id p4JG44hP014341
First of all, excuse any typos - I'm on my phone...
The basic issue with a "partial drive" is that the resolution function will still need a mechanism to determine which aspect of the nettype a particular driver is driving. There are no implicit equations so the resolution function does generally need to know. Way back in a very early directions doc, I had suggested some admittedly clunky syntax for determining partial drives but it was pretty ugly and it wasn't clear how all the pieces were going to come together so we decided to go with the most restrictive form for now.
Gordon
===========
Gord Vreugdenhil
gordonv@model.com
On May 19, 2011, at 8:08 AM, "Dave Miller" <David.L.Miller@freescale.com> wrote:
> I have a question regarding 10.3.2.
> Why the restriction on assignment? If I understand the paragraph correctly, you must assign to all of the user defined net. Since everything always has at least a default type why is this needed?
>
> I was thinking something like this:
> typedef struct {
> real val1;
> real abstol=1e-6;
> } T;
>
> nettype T wT;
>
> wT mynet;
>
> Does this mean if I want to drive a value onto mynet, I have to do:
> assign mynet = {3.3, 1e-6};
> instead of just:
> assign mynet.val1 = 3.3;
>
> I don't want to delay the proposal at all, and it is just a restriction that can always be relaxed at a later date once more use cases become available. But the more I thought about it, the more I failed to understand why have the restriction at all.
>
> Of course I come from analog, so maybe the lack of state history and retention of values comes into play here which may be what I am missing? Excuse my ignorance with the SystemVerilog flow, still learning.
>
> Regards
> Dave
>
> On 05/18/2011 09:38 AM, Gordon Vreugdenhil wrote:
>> I have a few minor comments; if those could be updated prior
>> to the meeting, I'd be fine with voting on the proposal today.
>>
>> 1) Shade of blue needs to be made consistent
>>
>> 2) In 6.6.7, just after the grammar:
>> "A net declared with that nettype therefore uses ..."
>> should say:
>> "A net declared with a nettype therefore uses
>>
>> Similarly, in 6.7.1, second sentence:
>> "A net declared with that nettype uses the ..."
>> should say
>> "A net declared with a nettype uses the ..."
>>
>> 3) In the 6.6.7 and 6.22.6 examples, there is the following:
>> // if nettypeid1 is a nettype, create another nettype name nettypeid2
>> Why is this a conditional statement? It should be
>> something like:
>> // declare another name nettypeid2 for nettype nettypeid1
>>
>> 4) In 28.12, there is a missing period at the end of the blue text.
>>
>> 5) The "open items" must be removed from the proposal.
>>
>> Gord.
>>
>>
>> On 5/13/2011 2:08 PM, Francoise Martinolle wrote:
>>> Hi Scott,
>>> I forgot to mention that this proposal version 7 can serve as the basis of
>>> the vote for Wednesday.
>>> Francoise
>>> '
>>>
>>> --
>>> This message has been scanned for viruses and
>>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
>>> believed to be clean.
>>
>> --
>> --------------------------------------------------------------------
>> Gordon Vreugdenhil 503-685-0808
>> Model Technology (Mentor Graphics)gordonv@model.com
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
>> believed to be clean.
>
> --
> ==============================================
> -- David Miller
> -- Design Technology (Austin)
> -- Freescale Semiconductor
> -- Ph : 512 996-7377 Fax: x7755
> ==============================================
>
>
> --
> This message has been scanned for viruses and
> dangerous content by 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.
--
This message has been scanned for viruses and
dangerous content by 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.
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu May 19 12:12:56 2011
This archive was generated by hypermail 2.1.8 : Thu May 19 2011 - 12:12:56 PDT