[sv-bc] Behaviour of ref port

From: Sarani Roy <sarani_at_.....>
Date: Tue Feb 20 2007 - 01:54:35 PST
Hi,

In the Std 1800-2005 LRM section 19, ref has been used in context with 
variables. But according to BNF:

ansi_port_declaration ::= [ net_port_header | interface_port_header ] 
port_identifier { unpacked_dimension }
net_port_header ::= [ port_direction ] net_port_type
port_direction ::= input | output | inout | ref

So we can have a declaration like :

module top(ref wire a);
endmodule

Some tools are failing giving error like : "ref port cannot be of net type"
Some tools are passing.

What is the correct behaviour for ref ?

Thanks,
Sarani



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

This archive was generated by hypermail 2.1.8 : Tue Feb 20 2007 - 01:58:08 PST