Re: [sv-ac] CheckerUsability

From: Thomas J Thatcher <thomas.thatcher@oracle.com>
Date: Wed Sep 08 2010 - 18:28:37 PDT

Hi Dmitry,

Here is some feedback on the checker usability document.

First of all, there needs to be some kind of justification or use case
presented at the beginning. Tell everyone what use cases we are trying
to support. I'm not suggesting that you dive in with code examples. I
would like to see high-level block diagrams of the kinds of things we
want checkers to do. Then all the proposed changes will fit into context.

On page 3, where you give the reason for sampling RHS variables of
checker non-blocking assignments:

You don't need a two-clock scenario to show the need for sampling. A
much simpler example will do. If you have a design variable driven by a
non-blocking assignment, which is then passed to a checker, and appears
on the RHS of a checker NBA, you will get the following sequence of events:

        Active Region: clock rises
                        Design always block is triggered
                        Assignment to design variable is scheduled
        NBA Region: design variable assigned
        Reactive Region: Checker always procedure is triggered
                        because of the clock rising:
                        Assignment to checker variable is scheduled
                        If design variable is not sampled, the
                        assignment will use the new value.
        Re-NBA Region: Checker variable NBA occurs

THAT's why we need sampling.

Also, statements like "If checker variables are assigned in the Re-NBA
region, it would be before the Observed region are only going to confuse
people. The Observed region is before the Re-NBA region. Of course,
assignments in the Re-NBA region will cause a trip around the "big
loop", resulting in the simulator visiting the Observed region again in
the time step (which I think is what you meant).

Also, do you envision clock signals being created inside checkers? If
so, why? Better discuss this in your use cases. One person I talked to
today, said, "Don't do that, that is only going to cause scheduling
problems."

That's all for now. I'll send more feedback as I think of it.

Tom

On 09/07/10 10:31, Korchemny, Dmitry wrote:
> The PDF version of the enhancement document describing checker enhancements.
>
> Thanks,
> Dmitry
> ---------------------------------------------------------------------
> Intel Israel (74) Limited
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Sep 8 18:30:28 2010

This archive was generated by hypermail 2.1.8 : Wed Sep 08 2010 - 18:30:36 PDT