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.

Which of the == or === operator is synthesizable in verilog?

Status
Not open for further replies.

snlaron

Newbie level 4
Newbie level 4
Joined
Jan 6, 2014
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
28
which of the == or === operator is synthesizable in verilog?
 

Re: verilog operator,which of the == or === operator is synthesizable in verilog?

Both. However you use === when you want to compare with X or Z, and that is not synthesizable.
 
Re: verilog operator,which of the == or === operator is synthesizable in verilog?

Both. However you use === when you want to compare with X or Z, and that is not synthesizable.

Thank you sir. Since X or Z are not snythesizable , === is not snythesizable?
 

Re: verilog operator,which of the == or === operator is synthesizable in verilog?

if (A === 0)

is functionally equivalent to

if (A == 0)

and both are synthesizable. However, some synthesis tools may choose not to support it.
 
Re: verilog operator,which of the == or === operator is synthesizable in verilog?

Thank you again sir.
can you name some synthesis tools that can synthesize === operator?
 

Re: verilog operator,which of the == or === operator is synthesizable in verilog?

if (A === 0)

is functionally equivalent to

if (A == 0)

and both are synthesizable. However, some synthesis tools may choose not to support it.

Thank you again sir.
can you name some synthesis tools that can synthesize === operator?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top