From: Jay Lawrence (lawrence@cadence.com)
Date: Sun Aug 24 2003 - 18:40:04 PDT
Precedence: bulk
The following reply was made to PR enhancement/430; it has been noted by GNATS.
From: "Jay Lawrence" <lawrence@cadence.com>
To: <Shalom.Bresticker@motorola.com>, <etf-bugs@boyd.com>
Cc:
Subject: RE: enhancement/430: PROPOSAL - Add `pragma compiler directive
Date: Sun, 24 Aug 2003 21:03:26 -0400
`ifdef is subtly different. With a `ifdef the code is treated by the
pre-processor and never even seen by the lexer as if it didn't exist.
With `translate_on/off, it can be treated as if it exists and stored
specially so that a single compile can be used for both simulation and
synthesis.
A better name would be appropriate if the committee so decided.
Transalate_on/off were suggested because of the existing wied-spread
use.
Jay
===================================
Jay Lawrence
Senior Architect
Functional Verification
Cadence Design Systems, Inc.
(978) 262-6294
lawrence@cadence.com
===================================
> -----Original Message-----
> From: Shalom.Bresticker@motorola.com
> [mailto:Shalom.Bresticker@motorola.com]
> Sent: Saturday, August 23, 2003 4:50 PM
> To: etf-bugs@boyd.com
> Subject: Re: enhancement/430: PROPOSAL - Add `pragma compiler
> directive
>
>
> Precedence: bulk
>
> The following reply was made to PR enhancement/430; it has
> been noted by GNATS.
>
> From: Shalom.Bresticker@motorola.com
> To: lawrence@cadence.com
> Cc: etf-bugs@boyd.com
> Subject: Re: enhancement/430: PROPOSAL - Add `pragma compiler
> directive
> Date: Sat, 23 Aug 2003 23:37:46 +0300 (IDT)
>
> Why should $translate_off be specifically for synthesis?
> Why not a more meaningful name?
> Why not `ifdef?
>
> > The $translate_off/$translate_on pragma are intended to
> bracket code that is included in an RTL description but is
> not appropriate for synthesis or inclusion in an actual
> physical implementation of a description.
>
>
This archive was generated by hypermail 2.1.4
: Sun Aug 24 2003 - 18:41:18 PDT
and
sponsored by Boyd Technology, Inc.