[sv-bc] Re: [sv-ec] Behaviour of ref port

From: Steven Sharp <sharp_at_.....>
Date: Tue Feb 20 2007 - 12:17:49 PST
Just because the BNF can produce a particular syntax does not make
that code legal.  There are many semantic rules that must also be
satisfied by legal code.

Section 19.12 says "It also creates a new type of port qualifier, ref,
to allow shared variable behavior across a port."

Section 19.12.1 on rules for variables says "A ref port shall be connected
to an equivalent variable data type."

Section 19.12.2 on rules for nets specifies the rules for connecting
the different port directions, and does not include a rule for ref.

So while I didn't find a place where the LRM came out and said that
ref ports could not be nets, it seems clear that is the intent.

Steven Sharp
sharp@cadence.com


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Feb 20 12:18:51 2007

This archive was generated by hypermail 2.1.8 : Tue Feb 20 2007 - 12:18:59 PST