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.

Why we write numbers in gray code in k map rather than in ordinary sequence?

Status
Not open for further replies.

lordsathish

Full Member level 5
Joined
Feb 11, 2006
Messages
246
Helped
33
Reputation
66
Reaction score
3
Trophy points
1,298
Location
Asia
Activity points
2,698
hey could any one tell me why we write numbers in gray code in k map rather than ordinary sequnce...
 

Re: karnaugh map

i think its because gray code numbers differ by only one bit... so it will be easy to group similar numbers...
 

    lordsathish

    Points: 2
    Helpful Answer Positive Rating
Re: karnaugh map

We write numbers at k-maps in gray code in order to make adjacent columns or rows vary only in one bit i.e vary in one input variable only .When the required output variable is the same at two adjacent rows or columns, then the output variable is independent on the input variable that is different between these 2 rows (columns) .This originated form the boolean property :

(a and(not b)) or (a and b)=a
 

    lordsathish

    Points: 2
    Helpful Answer Positive Rating
Re: karnaugh map

karnaugh map is based on the adjascence between the blocks
each block shpould be adjascent to the one next to him (left right up down)
each block has an equivalent number that represents it in binary. 2 consecutive numbers should differ by only one bit.
example 00 01 11 10 (we replce 10 by 11)
without the adjascence the karnaugh map would never give the right answer
 

    lordsathish

    Points: 2
    Helpful Answer Positive Rating
Re: karnaugh map

In the case of K-Map, we have difference of only 1-bit b/w adjacent cells.
Consider the case of first 2 cells: 00 01

In case(SOP) if we have 1 in both these cells then it will produce
A'B'+A'B.
Which will give A' .
Because B+B'=1.
To utilise this concept of B+B'=1 easily we have Gray code in K-Map.

When we have a difference of 1 bit b/w two adjacent cells we can easily eliminate Redundant literals from the expression & then we can minimize our function which is the aim of K-Map !

Cheers

puneet bansal
 

    lordsathish

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top