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.

A Question About Building A Circuit That Complements a num

Status
Not open for further replies.

transgalactic

Newbie level 6
Joined
Apr 4, 2008
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,367
i need to build a circuit that its input is a 4 digit binary number
and its output is the complement to 2 of this input number

i need to implement this circuit only using FS and NOT components.

i know that in order change a number into a complement of 2
we need to keep the first three digits as they were
and flip the value on each digit for the rest of the number.
(X) -xor opearation

y(+)0=y

y(+)1=y'

thats how we flip the numbers so i dont no why to use the FS component

i will live the first 3 inputs as they were and the last one will have this operation
y(+)1=y'

lol i can accomplish this using one XOR gate
but i think that i made a mistake regarding this sort of solution

am i right??
 

Re: A Question About Building A Circuit That Complements a n

Hi,
Use the NOT gates first and get the 1's complement. Then add 1 to it to get 2's complement, does your FS block will hep to do the addition?

Regards,
Laktronics
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top