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.

signed substraction in verilog

Status
Not open for further replies.

Aimerbhat

Newbie level 5
Joined
May 14, 2010
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
bangalore
Activity points
1,358
i synthesized my code (verilog) containing mainly additions and subtractions and am doing post synthesis simulation in modelsim

in modelsim wave i see,
instead to obtaining differences of two registers , i am now obtaining difference divide by 2

I am not able to figure out the problem.
i even tried re declaring wire resulted by subtraction as wire signed ...but still no change

what is the proper way to give signed operation instructions in verilog..

kindly help

regards
aimer
 

do you use Logic Equivalent Checker to check RTL versus netlist?
because the synthesis can made some simplification, but the result is the same.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top