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.

Verilog Reduction Operators & Logical Operators

Status
Not open for further replies.

choonlle

Full Member level 2
Joined
Jul 18, 2006
Messages
126
Helped
20
Reputation
40
Reaction score
1
Trophy points
1,298
Location
AFRICA
Activity points
2,025
What is the difference between case1 and case2 ?

Case1:
if(&a[3:0])
b<=1'b1;


Case2:
if(a=4'b1111)
b<=1'b1;



Is that any difference in synthesis ??!!!
 

Hi,

It is the same. I've checked in synopsys dc.
 

    choonlle

    Points: 2
    Helpful Answer Positive Rating
but no of gates shall be different for both logic
 

They are same and there is not no diference between the two.
 

Since the behaviour modelling description is the same, it's possilble that the gates logic will be different.


But, which cases should be the best one?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top