RE: [sv-ac] dynamic variables for expect

From: Kulshrestha, Manisha <Manisha_Kulshrestha_at_.....>
Date: Thu Sep 20 2007 - 22:42:50 PDT
Hi Doron,

 

I am not able to find the meeting minutes for the meeting where we
discussed this issue. As far as I remember the issues was about allowing
automatic variables (not dynamic variables). Currently 1549 puts this
restriction that only static variables can be passed as arguments to
properties and sequences. Since expect allows usage of automatic
variables, I raised the question if we should put this restriction or
not.

 

Thanks.

Manisha

 

From: owner-sv-ac@server.eda.org [mailto:owner-sv-ac@server.eda.org] On
Behalf Of Bustan, Doron
Sent: Sunday, September 02, 2007 5:21 PM
To: sv-ac@server.eda-stds.org
Subject: [sv-ac] dynamic variables for expect

 

In the last meeting I took an assignment to check the implications of
referencing dynamic 

variables in expect on properties.

 

My main concern was that it will make the model checking of SVA
un-decidable. I think that

we should try to avoid that.

 

My conclusions are:

 

1.	Once the design includes dynamic variables, SVA become
un-decidable even

       without direct references to the dynamic variables. I did not
proved it, but my intuition 

       is that every Turing machine can be represented by pure Verilog +
two queues. In this 

       case the (fix size) transition relation can be represented by
verilog logic, the tape left to 

       the head of the Turing machine by one queue and the tape to the
right of the head by the 

       other queue. In this case a Boolean property referencing a
verilog variable may determine 

       whether the Turing machine halt, and this is un decidable.

 

2.	 As far as I can tell if there are no syntactic restrictions
that limit the dynamic variables length 

Or the length of the property evaluation to a compile-time bound, then
deciding whether model 

checking of a specific design is decidable, is by itself un-decidable.
(This is a practical statement, 

             I am sure that one can come with non-practical restriction
that do not bound the size but live the problem decidable.)

 

3.	As far as I can tell, if there are syntactic restrictions that
limit the dynamic variables length to a compile-time bound, then

referencing them, or even using them as actual arguments will not  make
the model checking of the properties un-decidable.

 

 

Bottom line : 

*         Do not try to use formal tools on designs with dynamic types.
Be very careful in simulation.

*         Referencing dynamic types or using them as actual arguments,
will not make a situation worth.

*         I don't think that we need to change the language of 16.16.

 

Doron

 


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner <http://www.mailscanner.info/> , 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 Sep 20 22:43:20 2007

This archive was generated by hypermail 2.1.8 : Thu Sep 20 2007 - 22:43:50 PDT