Re: [sv-bc] Mantis 1090: `undefineall

From: Jonathan Bradford;Freiburg <bradford_at_.....>
Date: Thu Aug 24 2006 - 00:52:00 PDT
On a similar note, allow for further 'tool specifc' command line 
switches in the style of
  -undefine <arg>
  -undefineall
that override `define etc. in the HDL.

The actual switch names are probably beyond the LRM, but the 
functionality can be  described.

A command line '-undefine <arg>' mechanism would be really useful to 
overcome hardwired
`define settings that influence `ifdef decisions in an HDL file.

   Regards

        Jonathan Bradford


Feldman, Yulik wrote:
>   
>
> Should the directive undefine all macros defined with `define only or
> also macros defined through the tool's command line switches (like -D)?
> I understand that this may be beyond the LRM, but it may be quite
> important in practice. 
>
> Probably the directive should undefine only the `define macros, because
> otherwise the directive won't be too useful (since once the command line
> macros are undefined, there will be no way to define them again). In
> that case, it may be better to change the wording to refer to `define
> explicitly, to avoid ambiguity.
>
> --Yulik.
>
>  
>
> ________________________________
>
> From: owner-sv-bc@server.eda.org [mailto:owner-sv-bc@server.eda.org] On
> Behalf Of Bresticker, Shalom
> Sent: Thursday, August 24, 2006 9:32 AM
> To: sv-bc@server.eda-stds.org
> Subject: [sv-bc] Mantis 1090: `undefineall
>
>  
>
> I added the following proposal to Mantis 1090:
>
> In 1800, 
>
> INSERT
>
> 23.5 `undefineall
>
> The `undefineall directive shall undefine all previously defined text
> macros. This directive takes no arguments and may appear anywhere.
>
> Shalom
>
> Shalom Bresticker
>
> Intel Jerusalem LAD DA
>
> +972 2 589-6852
>
> +972 54 721-1033
>
> I don't represent Intel 
>
>  
>
>
>   


-- 

Jonathan Bradford
CAD Engineer
Phone +49 (0)761 517 2884
Fax   +49 (0)761 517 2880
mailto:jonathan.bradford@micronas.com

MICRONAS GmbH
Hans-Bunte-Str.19
D-79108 Freiburg
Germany
http://www.micronas.com
Received on Thu Aug 24 00:52:08 2006

This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 00:52:28 PDT