From: Clifford E. Cummings (cliffc@europa.com)
Date: Thu Jun 05 1997 - 09:56:37 PDT
Subject: BTF - B24 - Add `ifndef conditional compilation
Behavioral Task Force - Enhancement Request
Assigned Enhancement Request Number: B24
Enhancement Name (Description): Add `ifndef conditional compilation
Date Submitted: 970505
Requestor: tfitz@cadence.com (Tom Fitzpatrick)
Status: Passed by the BTF
(VSG proposal TBD)
Is enhancement intended to be synthesizable?: No
LRM wording:
Section 16.4 `ifdef, `ifndef, `else, `endif
...The `ifndef compiler directive checks for the definition of a variable name.
If the variable name is not defined, then the lines following the `ifndef
directive are included.
BNF addition:
conditional_compilation_directive ::=
ifdef_directive | ifndef_directive
ifdef_directive ::=
`ifdef text_macro_name
first_group_of_lines
[`else
second group of lines
`endif]
ifndef_directive ::=
`ifndef text_macro_name
first_group_of_lines
[`else
second group of lines
`endif]
//********************************************************************//
// Cliff Cummings E-mail: cliffc@europa.com //
// Sunburst Design Phone: 503-579-6362 / FAX: 503-579-7631 //
// 15870 SW Breccia Dr., Beaverton, OR 97007 //
// //
// Verilog & Synthesis Training / On-Site Training //
// Verilog, VHDL, Synopsys, LMG, FPGA, Consulting and Contracting //
//********************************************************************//
This archive was generated by hypermail 2.1.4
: Mon Jul 08 2002 - 12:54:40 PDT
and
sponsored by Boyd Technology, Inc.