Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Implementing 2 inputs and gate with mux(2:1)

Status
Not open for further replies.

vijay_nag

Advanced Member level 4
Joined
Apr 26, 2005
Messages
107
Helped
8
Reputation
16
Reaction score
4
Trophy points
1,298
Location
india
Activity points
2,089
Interview question

Implement 2 input and gate with mux(2:1)
 

tiger_shark

Member level 1
Joined
Feb 20, 2006
Messages
39
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,783
Re: Interview question

Hi,

Let's say you have a (2:1) mux with inputs M1 (corresponding to S= 0),M2 (corresponding to S = 1) and select line S. You have two signals A, B and you need your mux output to be AND(A,B). Here is what you do:


Connect M1 to '0' (ground)
Connect M2 to B
Connect S to A

In this way, if A is zero, M1 goes to output ('0'). if A is one , M2 goes to output (B), now, if B is zero, output is zero and if B is one , output is one. This is what an AND function does.

Regards - TS

Added after 42 minutes:

Hi,

Let's say you have a (2:1) mux with inputs M1 (corresponding to S= 0),M2 (corresponding to S = 1) and select line S. You have two signals A, B and you need your mux output to be AND(A,B). Here is what you do:


Connect M1 to '0' (ground)
Connect M2 to B
Connect S to A

In this way, if A is zero, M1 goes to output ('0'). if A is one , M2 goes to output (B), now, if B is zero, output is zero and if B is one , output is one. This is what an AND function does.

Regards - TS
 

Santoshalagawadi

Member level 3
Joined
Jan 23, 2006
Messages
61
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Activity points
1,869
Re: Interview question

hello you can go through the interview tips give in the attachment
 

Santoshalagawadi

Member level 3
Joined
Jan 23, 2006
Messages
61
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Activity points
1,869
Re: Interview question

hello you can go through the interview tips give in the attachment
 

vlsiattitude

Junior Member level 3
Joined
Mar 5, 2005
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,523
Re: Interview question

u can get ii quicklt from

output = AS +AS*

AS cab be used to implement and gate
 

ferrite

Member level 1
Joined
May 8, 2005
Messages
33
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Activity points
1,633
Re: Interview question

vijay_nag said:
Implement 2 input and gate with mux(2:1)

roughly every digital circuit books give many different styles of logic, for ex Rabaey's book. including
mux logic
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top