Login Join Maker Pro

# 1-bit magnitude comparator.

#### timmy1521

Apr 28, 2020
4
with the following outputs int the pdf file

#### Attachments

• BIT 220 - Assignment 2.pdf
285.6 KB · Views: 6

#### Harald Kapp

##### Moderator
Moderator
Nov 17, 2011
12,737
???
What is your question?
What have you done so far to solve the task?
We will give you useful advice, but we will not do your homework. Only by solving the task yourself (with helpful nudges from us) will you be able to learn something - not from copying ready made solutions.

#### timmy1521

Apr 28, 2020
4
???
What is your question?
What have you done so far to solve the task?
We will give you useful advice, but we will not do your homework. Only by solving the task yourself (with helpful nudges from us) will you be able to learn something - not from copying ready made solutions.
i have managed to identify X Y Z being A.B', A'.B, A'B' respectively.
Have slightly drown a circuit diagram but my doubt is on the relationship of Z is it supposed to be attached to the output of X and Y?

#### Harald Kapp

##### Moderator
Moderator
Nov 17, 2011
12,737
Z is it supposed to be attached to the output of X and Y?
You can either define Z = f(A,B), as you did, or Z = f(X,Y) as you asked.
Using the correct boolean operations both methods will produce the right output.
The difference is in the timing: Assume some arbitrary runtime T for the calculation of a boolean function f(). What is the runtime for Z = F(A,B) expressed in terms of T and what is the runtime of Z = f(X,Y), also expressed in terms of T? Hint: X = f(A,B) and y = f(A,B).
f() indicates the required boolean operation which are of course different for each output.

#### bertus

Moderator
Nov 8, 2019
2,726
Hello,

Here is the question in full:

In the case A=B , both are either 0 or 1.

Bertus

#### timmy1521

Apr 28, 2020
4
Hello,

Here is the question in full:

View attachment 48015

In the case A=B , both are either 0 or 1.

Bertus
yeah i was thinking in that question they have only picked were both are 0 to reference the relationship where A=B.
.

#### timmy1521

Apr 28, 2020
4
You can either define Z = f(A,B), as you did, or Z = f(X,Y) as you asked.
Using the correct boolean operations both methods will produce the right output.
The difference is in the timing: Assume some arbitrary runtime T for the calculation of a boolean function f(). What is the runtime for Z = F(A,B) expressed in terms of T and what is the runtime of Z = f(X,Y), also expressed in terms of T? Hint: X = f(A,B) and y = f(A,B).
f() indicates the required boolean operation which are of course different for each output.
ok thanks

#### AnalogKid

Jun 10, 2015
2,671
Have slightly drown a circuit diagram

ak

Replies
1
Views
1K
Replies
3
Views
1K
Replies
8
Views
888
Replies
2
Views
922
Replies
1
Views
443