RE: [sv-bc] Generate with multiple begins

From: Bresticker, Shalom <shalom.bresticker@intel.com>
Date: Thu Feb 24 2011 - 01:39:57 PST

Hi,

Regarding #1, they were allowed in Verilog-2001 and then disallowed in Verilog-2005 and SystemVerilog.

Shalom

From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of Gal Vardi
Sent: Thursday, February 24, 2011 10:09 AM
To: SV-BC
Subject: RE: [sv-bc] Generate with multiple begins

Hi,

We just ran into this limitation with one of the synthesis tools.

In the plain Verilog-2001 code we currently use, there are begin-end at the toplevel, and "bare" begin-ends inside generate. No tool complained until Jan 2011 (and we usually check a wide range of them from different vendors)

1. Can I understand exactly which standard allows each of "toplevels" and "bares", and which standard forbids. It is not straightforward from the text in the standards.

2. If it is not too late to argue, I'd like to humbly add my personal opinion:

            Both the begin-end at the toplevel and the bare ones inside are useful:

Toplevels: if you have couple of if/case/for statements within a single generate block

Bares: within a hierarchical if/then/else or hierarchical case statements.

I also like the orthogonally raised by Paul Graham. Orthogonally for a designer means simplicity: You can place a [named] begin-end wherever you like, it will never be an error.

A related issue is the naming convention of the un-named begin-end blocks, and how to keep hierarchical naming consistency between different tools, from Equivalence to SDC format.

I prepared a suggestion regarding that issue and can post it if there is a related thread in this workgroup or else where you may suggest.

Regards,

Gal Vardi

________________________________
Gal Vardi, Marvell Israel - Staff Silicon Integration Engineer
6 Hamada Street
Mordot HaCarmel Industrial Park
Yokneam, 20692, Israel
Email: vardi@marvell.com<mailto:vardi@marvell.com>
Office: +972.4.9091274 OnNet: 704.1274
Fax: +972.4.9091501
Web site: http://www.marvell.com<http://www.marvell.com/>

This message may contain confidential, proprietary or legally privileged information. The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone or by e-mail and delete the message from your computer.
________________________________

--
This message has been scanned for viruses and
dangerous content by MailScanner<http://www.mailscanner.info/>, 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 Thu Feb 24 01:42:42 2011

This archive was generated by hypermail 2.1.8 : Thu Feb 24 2011 - 01:42:59 PST