RE: [sv-ac] question on inferred clocks

From: Korchemny, Dmitry <dmitry.korchemny_at_.....>
Date: Tue Jan 08 2008 - 08:08:16 PST
Hi Lisa,

 

Please, see my comments below.

 

Thanks,

Dmitry

 

________________________________

From: owner-sv-ac@server.eda.org [mailto:owner-sv-ac@server.eda.org] On
Behalf Of Lisa Piper
Sent: Tuesday, January 08, 2008 5:31 PM
To: sv-ac@server.eda.org
Subject: [sv-ac] question on inferred clocks

 

I need a clarification on the inferred clock determination for
concurrent

assertions in the procedural block. From LRM section 16.14.5, pg366,
there

are two rules to infer clock for the concurrent assertions in the
procedural

block:

1. the clock to be inferred must be placed as the first term of the
event

control as an edge specifier

  -- does this mean that the inferred clock has to be edge expression
and only

the first term? if so, what is the reason for this restriction?

for example:

     always @(posedge clk1 or negedge clk2) begin

           A1: assert property (a |=> b);

     end

the inferred clock for A1 will be just "posedge clk1" or "posedge clk1
or negedge clk2"?

[Korchemny, Dmitry] The first option is correct: posedge clk1 the reason
should be that the second edge usually specifies the reset.

2. The variables in clock expression must not be used anywhere in the
always or

initial block.

   -- Does this mean the clock variables should not be written to or
even read in the always or initial block?

[Korchemny, Dmitry] My understanding is that the clock should not be
written, but I am not 100% sure.


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner <http://www.mailscanner.info/> , and is

believed to be clean. 
---------------------------------------------------------------------
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 Jan 8 08:09:15 2008

This archive was generated by hypermail 2.1.8 : Tue Jan 08 2008 - 08:09:33 PST