Multiple `ifndef requirement

Hello,

I have requirement where a certain piece of code must not be executed:



`ifndef BRIDGE and TOP
$display ("Don't execute this ");
`endif

This gives compile error :

I can do this `define BRIDGEandTOP and then use in `ifndef BRIDGEandTOP 

But that is not what i want 

Can i do this ?
`ifndef BRIDGE
  `ifndef TOP
$display ("Don't execute this ");
  `endif
`endif 

Will this work ?

Thanks

In reply to tejasakulu:

I think the following becomes logical AND.

`ifndef BRIDGE
  `ifndef TOP

In reply to yourcheers:

Sorry i updated my post i want that piece of code not to get execute for BRIDGE and TOP

Thanks,
Tejas

In reply to tejasakulu:

there are 3 negative statements in the above code snippet.

if<font size=20>n</font>def BRIDGE ifndef TOP
$display ("Don’t execute this ");

if the BRIDGE and TOP are not defined, then the $display statement is executed.