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.

how to build a non-signed subtractor efficiently

Status
Not open for further replies.

JesseKing

Advanced Member level 4
Joined
Nov 12, 2004
Messages
100
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,298
Activity points
838
subtract a positive number from another, and use a sign extension format to represent the result, the msb is the sign bit.

For example
0011-0010=0001
0010-0011=1001

Can this subtractor be implemented efficiently as a complementry subtractor?

Regards!
 

JesseKing said:
subtract a positive number from another, and use a sign extension format to represent the result, the msb is the sign bit.

For example
0011-0010=0001
0010-0011=1001

Can this subtractor be implemented efficiently as a complementry subtractor?

Regards!

assuming the inputs are 4 bit unsigned
you need five bit represent signed output.
 

whizkid said:
assuming the inputs are 4 bit unsigned
you need five bit represent signed output.

i know, the function is not hard to understand and it's easy just to build it with a comparator and a traditional complementary adder.

what I really want to know is how to implement it efficiently.

any advice?
 

hi,
the best way is to use design ware from syn@psys
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top