[sv-ac] Procedural checkers

From: Korchemny, Dmitry <dmitry.korchemny@intel.com>
Date: Tue Jul 26 2011 - 06:03:45 PDT

Hi all,

I would like to discuss today the following issue with the procedural checkers brought by Jacob.

Consider the following code:

module m(...);
                bit a;
                ...
                always_comb begin
                                a = 1'b1;
                                check mycheck(a);
                                a = 1'b0;
                                check mycheck(a);
                end
endmodule : m

checker check(x);
                bit y;
                assign y = x & 1'b1; //Redundant but needed to illustrate the problem
                assert #0 (y);
endchecker : check

The semantics of procedural checkers with procedural code (except for always_ff) is not clear. The existing semantics does not work anymore. The easiest way is to forbid procedural instantiation of checkers containing procedural code.

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 Tue Jul 26 06:05:41 2011

This archive was generated by hypermail 2.1.8 : Tue Jul 26 2011 - 06:05:48 PDT