Re: [sv-bc] Erratum 325 -- "logic [P] [Q] id;" should be legal if "logic id [P][Q];" is

From: <Shalom.Bresticker@freescale.com>
Date: Wed Nov 24 2004 - 19:57:49 PST

I find it confusing and inconsistent that one form gives
you ascending index order whereas the other gives you descending order.

Shalom

> It should be legal to write
>
> module m #(P=8) (input [P] in,
> output [P] out);
>
> instead of
>
> module m #(P=8) (input [P-1:0] in,
> output [P-1:0] out);
>
> just as one can already write
>
> module m #(P=8) (input in [P],
> output out [P]);
>
> instead of
>
> module m #(P=8) (input in [0:P-1],
> output out [0:P-1]);

-- 
Shalom Bresticker                        Shalom.Bresticker @freescale.com
Design & Verification Methodology                    Tel: +972 9  9522268
Freescale Semiconductor Israel, Ltd.                 Fax: +972 9  9522890
POB 2208, Herzlia 46120, ISRAEL                     Cell: +972 50 5441478
  
[ ]Freescale Internal Use Only      [ ]Freescale Confidential Proprietary
Received on Wed Nov 24 19:58:03 2004

This archive was generated by hypermail 2.1.8 : Wed Nov 24 2004 - 19:58:11 PST