Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

can I can include 2 statement inside if condition in Verilog

Status
Not open for further replies.

Irfansw07

Member level 1
Joined
Dec 8, 2008
Messages
35
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,511
VerilogA in Analog

Can anyone help me out in giving answer if I can include 2 statement inside if condition in VerilogA....

I mean to say when I write like this
if ( a = 0 and b = 0) begin

then Above statement is incorrect in VerilogA and showing error
Can some one please tell me how to write in correct form

Thanks in advance
 

VerilogA in Analog

maybe if ( a == 0 and b == 0)
or
if (( a == 0) && (b == 0))
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top