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.

detecting odd number 8-bit number

Status
Not open for further replies.

julian403

Full Member level 5
Joined
Feb 28, 2014
Messages
254
Helped
1
Reputation
2
Reaction score
1
Trophy points
18
Location
Argentina
Activity points
2,105
Hello, for a 8 bit number I have to do a combinational circuit which detect if the number is odd.

I searched a pattern but there isn't. What ca I do? I can't do a karnaugh for 8 bit word
 

Vbase

Full Member level 6
Joined
Apr 7, 2015
Messages
367
Helped
74
Reputation
148
Reaction score
72
Trophy points
28
Activity points
1,997
If the LSB is 1 then its an odd number.
 

hobbyckts

Advanced Member level 1
Joined
Mar 12, 2015
Messages
481
Helped
88
Reputation
176
Reaction score
85
Trophy points
28
Activity points
2,457
Vbase is correct. Just monitor the LSB for high and low. On basis of that reading you can able to get the odd or even number.
 

julian403

Full Member level 5
Joined
Feb 28, 2014
Messages
254
Helped
1
Reputation
2
Reaction score
1
Trophy points
18
Location
Argentina
Activity points
2,105
What do you think i must to do? Put a yes gates or a buffer or just take the bit. For the impedance I meands
 

bigdogguru

Administrator
Joined
Mar 12, 2010
Messages
9,831
Helped
2,348
Reputation
4,690
Reaction score
2,274
Trophy points
1,413
Location
Southwest, USA
Activity points
62,508
Simple, just the bit:

bit0 (LSb) ----> ODD signal

Can you elaborate on your design requirements? Are you implementing this design using a FPGA or CPLD?

Really no need for additional gates, unless you need a latch or a buffer to retain the signal state, of course technically at that point it no longer is classified as a combinational logic, but as sequential logic.

BigDog
 

MSBR

Member level 1
Joined
Jan 9, 2015
Messages
39
Helped
10
Reputation
20
Reaction score
10
Trophy points
8
Location
Pakistan
Activity points
242
Well, you really don't need a circuit element to do that in FPGAs. Just a wire connecting the LSB of the 8-bits number to the ODD Signal. But better help could be provided if you could throw some more light upon your requirements.

MSBR
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top