RE: Mantis 2593 about non-ANSI port declarations (Was: [sv-bc] Mantis 1111, omitting range on port declaration)

From: Mark Hartoog <Mark.Hartoog_at_.....>
Date: Tue Apr 28 2009 - 15:26:04 PDT
I think it is clear that the following has always been legal verilog:

module test(out);
output [5:0] out;
reg [5:0] out;
endmodule

Doesn't the proposal make that illegal?

-----Original Message-----
From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of Brad Pierce
Sent: Monday, April 27, 2009 3:05 PM
To: sv-bc@eda.org
Subject: Mantis 2593 about non-ANSI port declarations (Was: [sv-bc] Mantis 1111, omitting range on port declaration)

Following up to http://www.eda-stds.org/sv-bc/hm/8973.html , which became Mantis item http://www.eda-stds.org/svdb/view.php?id=2593 , which became ballot comment #4, Steven Sharp has uploaded a proposal that would clarify that the following declarations are illegal

    input [5:0] in1;
    bit [5:0] in1;

    typedef logic [1:5] T;
    input [1:10] in2;
    T [1:10] in2; // 1 to 5 varies most rapidly

But the following declarations would still be legal

    input var bit [5:0] in; // input variable
    input T [5:0] in;       // input net
    input var T [1:10] in;  // input variable

-- Brad



--
This message has been scanned for viruses and
dangerous content by MailScanner, 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 Tue Apr 28 15:26:46 2009

This archive was generated by hypermail 2.1.8 : Tue Apr 28 2009 - 15:27:36 PDT