RE: [sv-bc] Interesting .* port connection ambiguity

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Tue Jun 16 2009 - 21:35:17 PDT
The LRM requires that the names match, but the data types need only be equivalent.

Shalom 

> -----Original Message-----
> From: owner-sv-bc@server.eda.org 
> [mailto:owner-sv-bc@server.eda.org] On Behalf Of Clifford E. Cummings
> Sent: Wednesday, June 17, 2009 6:49 AM
> To: sv-bc@eda.org
> Subject: [sv-bc] Interesting .* port connection ambiguity
> 
> Hi, All -
> 
> While teaching a class this week, someone asked the question about 
> ports connected to buses with the same name and size, but different 
> indices and reversed indices.
> 
> For example, look at alu_accum5 module example just before clause 
> 23.3.3 in the ballot draft. If you change the declaration for the 
> alu_out wire bus to:
> wire [1:8] alu_out;
> There are at least two implementations that make the .* connections 
> and simulate the design just fine.
> 
> I don't know if we said whether or not this was legal or whether or 
> not it should even be legal. The alu_out bus does match in name and 
> size, so I guess it is legal. Is there any reason it should not be 
> legal? Have we adequately described this possibility in the LRM? Too 
> late to update now but we could put it into our Mantis todo list.
> 
> Regards - Cliff
> 
> ----------------------------------------------------
> Cliff Cummings - Sunburst Design, Inc.
> 14314 SW Allen Blvd., PMB 501, Beaverton, OR 97005
> Phone: 503-641-8446 / FAX: 503-641-8486
> cliffc@sunburst-design.com / www.sunburst-design.com
> Expert Verilog, SystemVerilog, Synthesis and Verification Training
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Jun 16 21:36:02 2009

This archive was generated by hypermail 2.1.8 : Tue Jun 16 2009 - 21:36:46 PDT