Expressions as part of port connections in module instantiations

From: David Miller <David.L.Miller_at_.....>
Date: Mon May 11 2009 - 08:24:36 PDT
My apologies if you receive this twice, I sent last week, but it never came 
through for me:

Jonathan David wrote:
 > So this type of connection would only be allowed to verification instances - 
not design instances (modules)?
 > jonathan

Well, not sure we should do that. I don't think we should introduce exceptions 
into the language depending on the type of instance that is being instantiated.

This problem is not directly a result of any SVA work. It is an issue with the 
existing LRM and the use of expressions connected to wreal.

I think maybe we need to take a look at chapter 7 - especially 7.3 for the next 
revision. It might need some more work.

For example, 7.3.6.4 states that only analog variables that are assigned within 
analog event statements can be used in continuous assignments, meaning:
   assign win = V(a);

is disallowed as per the language. If we are disallowing that, then it is 
contradictory to then allow:

   child ch1(V(a));

where port of child is a wreal. We can't really have one and not the other.

Cheers...
Dave



-- 
==============================================
-- It's a beautiful day
-- Don't let it get away
--
-- 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.
Received on Mon May 11 08:26:45 2009

This archive was generated by hypermail 2.1.8 : Mon May 11 2009 - 08:28:19 PDT