Re: [sv-bc] Mantis 1111, omitting range on port declaration

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Thu Oct 02 2008 - 13:52:25 PDT
Following up to http://www.eda-stds.org/sv-bc/hm/6078.html ...

Is the following a legal port declaration? 

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

or must they be combined?

    input var bit [5:0] in;

Also, is the following a legal port declaration?

    typedef logic [1:5] T;

    input [1:10] in;
    T [1:10] in; // 1 to 5 varies most rapidly

or must they be combined?

    input T [1:10] in;

-- Brad



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Oct 2 13:53:30 2008

This archive was generated by hypermail 2.1.8 : Thu Oct 02 2008 - 13:54:13 PDT