[sv-bc] Fwd: BOUNCE sv-bc@eda.org: Non-member submission from [Michael Burns <Michael.Burns@motorola.com>]


Subject: [sv-bc] Fwd: BOUNCE sv-bc@eda.org: Non-member submission from [Michael Burns ]
From: Karen Pieper (Karen.Pieper@synopsys.com)
Date: Thu Apr 24 2003 - 12:28:11 PDT


>Date: Thu, 24 Apr 2003 12:22:48 -0700 (PDT)
>From: owner-sv-bc@eda.org
>To: owner-sv-bc@eda.org
>Subject: BOUNCE sv-bc@eda.org: Non-member submission from [Michael
>Burns <Michael.Burns@motorola.com>]
>X-Spam-Status: No, hits=0.7 required=5.0
> tests=NO_REAL_NAME
> version=2.52
>X-Spam-Checker-Version: SpamAssassin 2.52 (1.174.2.8-2003-03-24-exp)
>
> >From owner-sv-bc Thu Apr 24 12:22:18 2003
>Received: from motgate5.mot.com (motgate5.mot.com [144.189.100.105])
> by server.eda.org (8.12.0.Beta7/8.12.0.Beta7) with ESMTP id
> h3OJMHoV023909;
> Thu, 24 Apr 2003 12:22:18 -0700 (PDT)
>Received: from az33exr02.mot.com (az33exr02.mot.com [10.64.251.232])
> by motgate5.mot.com (Motorola/Motgate5) with ESMTP id h3OJMGjx000612;
> Thu, 24 Apr 2003 12:22:16 -0700 (MST)
>Received: from adttx.sps.mot.com (adttx.sps.mot.com [163.12.136.93])
> by az33exr02.mot.com (Motorola/az33exr02) with ESMTP id
> h3OJNKE8012971;
> Thu, 24 Apr 2003 14:23:21 -0500
>Received: from nacho.sps.mot.com (nacho [163.12.136.116])
> by adttx.sps.mot.com (8.11.6+Sun/8.10.2) with ESMTP id h3OJM9H22101;
> Thu, 24 Apr 2003 14:22:09 -0500 (CDT)
>Received: (from burns@localhost)
> by nacho.sps.mot.com (8.11.7+Sun/8.10.2) id h3OJM8A12356;
> Thu, 24 Apr 2003 14:22:08 -0500 (CDT)
>Date: Thu, 24 Apr 2003 14:22:08 -0500 (CDT)
>Message-Id: <200304241922.h3OJM8A12356@nacho.sps.mot.com>
>To: david.smith@synopsys.com
>CC: sv-bc@server.eda.org, sv-ec@server.eda.org
>In-reply-to: <000701c30a7d$4b945d30$3c29040a@Ramirez>
> (david.smith@synopsys.com)
>Subject: Re: FW: [sv-ec] Section 19 of Draft - Interfaces
>From: Michael Burns <Michael.Burns@motorola.com>
>Reply-to: Michael.Burns@motorola.com
>References: <000701c30a7d$4b945d30$3c29040a@Ramirez>
>
>
>The problem I see with your proposed syntax is that, without looking
>at the port declaration (i.e., without knowing how big the port is or
>how the bits are numbered), you have no idea if you're connecting to
>the MSB of the port, the LSB, some bit in the middle, or even an
>illegal bit (for example, the port declaration could specify a range
>of [7:4]). Right now, I think you can also do this:
>
> wire wir1,wir2,wir3;
> dummy dummy_inst(.A({wir1,,}), .B(wir2), .Y(wir3));
>
>to connect to the third-least-significant bit, though you may have to
>endure compiler warnings about mismatched connection sizes.
>
>Mike Burns
>
> >A question sent to the EC reflector that I think BC may also want to answer.
> >
> >Regards
> >David
> >
> >David W. Smith
> >Synopsys Scientist
> >
> >Synopsys, Inc.
> >Synopsys Technology Park
> >2025 NW Cornelius Pass Road
> >Hillsboro, OR 97124
> >
> >Voice: 503.547.6467
> >Main: 503.547.6000
> >FAX: 503.547.6906
> >Email: david.smith@synopsys.com
> >http://www.synopsys.com
> >
> >
> >
> >-----Original Message-----
> >From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of
> >Raghuraman R
> >Sent: Wednesday, April 23, 2003 11:11 PM
> >To: sv-ec@eda.org
> >Subject: [sv-ec] Section 19 of Draft - Interfaces
> >
> >
> >Hi,
> >
> >In the module instantiation section, I have this issue.
> >
> >If we are having a module having a port say
> >
> >module dummy (A, B, Y)
> >input [0:3] A;
> >input B;
> >output Y;
> >endmodule
> >
> >and we want to instantiate the module dummy with only bit of the port A
> >instantiated, we need something like this
> >
> >wire wir1,wir2,wir3;
> >dummy dummy_inst(.A[1](wir1), .B(wir2), .Y(wir3));
> >
> >Currently the way to do it is
> >
> >dummy dummy_inst(.A{,wir1,,,},.B(wir2), .Y(wir3));
> >But for this, we have to know the size of the port, but I think with the
> >existing information, one should to be able to instantiate and proceed.
> >
> >Thanks.
> >
> >Thanks.
> >--
> >Regds,
> >
> >Raghuraman R
> >ASIC
> >Texas Instruments (India) Ltd.
> >Phone : +91-80-5099113
> >http://www.india.ti.com/~raghu
> >
> >* Think. *



This archive was generated by hypermail 2b28 : Thu Apr 24 2003 - 12:32:05 PDT