Re: [sv-bc] Is number assigned to generate block reset at the end of design unit

From: Gordon Vreugdenhil <gordonv@model.com>
Date: Mon Sep 13 2010 - 12:52:19 PDT

I was going to mention that too. In 1364-2001, bare "begin-end" blocks
were legal generate blocks but as of 1364-2005 that became illegal.
You may see tools that allow bare begin-end "generate blocks" but
that isn't strictly legal in 1364-2005 and later (including 1800-2009).

Gord.

On 9/13/2010 11:26 AM, Steven Sharp wrote:
> First, let me point out that those begin-end blocks are not generate scopes.
> An if/case/for is a generate construct and creates a scope.
>
> Assuming that you add an "if(1)" before each of those begin-end blocks,
> they would both be genblk1. The second generate construct is the first
> one in its scope, so its number will be 1.
>
>
> Steven Sharp | Architect | Cadence
>
> P: 508.459.1436 M: 774.535.4149 www.cadence.com
>
>
>

-- 
--------------------------------------------------------------------
Gordon Vreugdenhil                                503-685-0808
Model Technology (Mentor Graphics)                gordonv@model.com
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Sep 13 12:52:39 2010

This archive was generated by hypermail 2.1.8 : Mon Sep 13 2010 - 12:55:13 PDT