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.

Consider a 2:1 mux , what will output if sel is"x"

Status
Not open for further replies.

abhineet22

Advanced Member level 4
Full Member level 1
Joined
Jan 25, 2005
Messages
105
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
bangalore
Activity points
1,017
mux + select x

Consider a 2:1 mux , what will be the output F if the Select (sel) is "X" ?
 

madhan_gopalan

Junior Member level 2
Junior Member level 2
Joined
Dec 14, 2002
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Chennai
Activity points
20
mux select x

Hi,

I donot think when you go put the code in FPGA there will be a state called "X". This will be considered either as '0' or '1' in FPGA and the corresponding action will be taken. But we cannot say whether FPGA will understand it as '0' or '1'.

Please correct me if I am wrong...

Bye,
S.Madhanagopalan
 

nand_gates

Advanced Member level 3
Advanced Member level 3
Joined
Jul 19, 2004
Messages
899
Helped
175
Reputation
350
Reaction score
53
Trophy points
1,308
Activity points
7,037
o/p of mux when select is x

F will be 'x' if any or both inputs are '1'
will be '0' if both the inputs are '0';
 

jas_bakshi

Junior Member level 2
Junior Member level 2
Joined
May 13, 2005
Messages
21
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,283
Activity points
1,491
mux +select (sel) is x

Hi

Try using casex construct,as it can resolve the contention(x) input to ur system.

Regards
 

spauls

Advanced Member level 2
Advanced Member level 2
Joined
Dec 17, 2002
Messages
524
Helped
26
Reputation
52
Reaction score
9
Trophy points
1,298
Activity points
3,354
2 to 1 mux with unknown

you can also use //synopsys full case dir.
 

zysmith

Member level 1
Member level 1
Joined
Apr 30, 2004
Messages
33
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
261
2:1 mux sel is x

maybe it varied from simulation tool to simulation tool. optimistic or pessimistic
 

shashi_reddy21

Junior Member level 3
Junior Member level 3
Joined
Feb 9, 2005
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
213
2:1 mux, select is x

hi if select is x ,then the output should be x only
 

JesseKing

Advanced Member level 4
Full Member level 1
Joined
Nov 12, 2004
Messages
100
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,298
Activity points
838
what will be output if mux sel is x

If you mean the simulation behavior, I think the result might have a strong relation with your rtl code.

such as
assign f=(sel == 1) a:b;
assign f=(sel == 0) b:a;

these two code will give two different result when 'sel' is x.
 

haosg

Advanced Member level 4
Full Member level 1
Joined
Nov 25, 2004
Messages
103
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
968
sel.is

in simulaiton, the output should be x.
of courst , there are no x state in real circuits.
 

eeeraghu

Full Member level 4
Full Member level 4
Joined
Jun 3, 2005
Messages
221
Helped
26
Reputation
50
Reaction score
9
Trophy points
1,298
Activity points
3,384
independent 2:1 mux

If both the inputs are 0's then the output is 0
If both the inputs are 1's then the output is 1
if both inputs are different then the output is X,

May be it depends on the simulation tool we use, dobt about this please clarify?
 

manik_vivek_82

Newbie level 6
Newbie level 6
Joined
May 26, 2005
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,390
Re: Consider a 2:1 mux , what will output if sel is"x&a

if sel=x,output is also x ..
 

nand_gates

Advanced Member level 3
Advanced Member level 3
Joined
Jul 19, 2004
Messages
899
Helped
175
Reputation
350
Reaction score
53
Trophy points
1,308
Activity points
7,037
Re: Consider a 2:1 mux , what will output if sel is"x&a

eeeraghu said:
If both the inputs are 0's then the output is 0
If both the inputs are 1's then the output is 1
if both inputs are different then the output is X,

May be it depends on the simulation tool we use, dobt about this please clarify?

This is Simulator independent! If any simulator does not reproduce this behavior
means that that simulator has a serious bug!
 

power-twq

Full Member level 6
Full Member level 6
Joined
Jun 10, 2005
Messages
373
Helped
8
Reputation
16
Reaction score
3
Trophy points
1,298
Activity points
4,550
Re: Consider a 2:1 mux , what will output if sel is"x&q

The output will be up to DC's assumption.




abhineet22 said:
Consider a 2:1 mux , what will be the output F if the Select (sel) is "X" ?
 

girish_wabale

Member level 3
Member level 3
Joined
Mar 21, 2005
Messages
66
Helped
7
Reputation
14
Reaction score
2
Trophy points
1,288
Location
Pune
Activity points
1,861
Re: Consider a 2:1 mux , what will output if sel is"x&a

what means by x wheather unknown or high impedance state??


if select is unknown output is also unknown


for high impedence stage it depends on type of mux used refer manufacturers datasheet
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top