Because, most of the time we can save significant amount of logic.





                                                                                                                                                                                                             


6 5ubYX0W/WqWAsBa8fZOnO6Omh/J8UY9rZyrL37wdLHqtm2Te9SojUfhxXy/R6Cd4qwEPAen1xbPH Yh0qZbZivt4mjZ6HyYDHCXLeF39W8ksXhNJ87Udcz+K+80TBvGmvvOtShsuwf3DLYJQ5+puSMRiM ImFlzGCUPayMGYyyh5Uxg1H2sDJmMMqe/wGuQJPWzll9NQAAAABJRU5ErkJgglBLAQItABQABgAI AAAAIQCxgme2CgEAABMCAAATAAAAAAAAAAAAAAAAAAAAAABbQ29udGVudF9UeXBlc10ueG1sUEsB Ai0AFAAGAAgAAAAhADj9If/WAAAAlAEAAAsAAAAAAAAAAAAAAAAAOwEAAF9yZWxzLy5yZWxzUEsB Ai0AFAAGAAgAAAAhAAmXQAs6BAAA/goAAA4AAAAAAAAAAAAAAAAAOgIAAGRycy9lMm9Eb2MueG1s UEsBAi0AFAAGAAgAAAAhAKomDr68AAAAIQEAABkAAAAAAAAAAAAAAAAAoAYAAGRycy9fcmVscy9l Mm9Eb2MueG1sLnJlbHNQSwECLQAUAAYACAAAACEAdlvdJOAAAAAKAQAADwAAAAAAAAAAAAAAAACT BwAAZHJzL2Rvd25yZXYueG1sUEsBAi0ACgAAAAAAAAAhAGRmZAZHBgAARwYAABQAAAAAAAAAAAAA AAAAoAgAAGRycy9tZWRpYS9pbWFnZTEucG5nUEsFBgAAAAAGAAYAfAEAABkPAAAAAA== "> Converting from PoS into SoP

 

Method 1:

- use classic boolean algebra simplifications from Lecture 1.

- This method always works, but often takes lots of time.

 

 


 


 

                                                                                                                                                                                                          


Converting

 

 


 

Method 1:

Example

 

 


 

                                                                                                                                                                                                          



Method 1:



                                                                                                                                                                                                          



 

Method 2:

- use some advanced simplification rules.

- or apply duality which also works.

 



 

 


 


 

 


 

 


 


 

 

 

Method 2:


Continue from previous slide

 

 



 

 

 

Method 2:

Example


 

 



 


Back to DeMorgan’s Algebra

 

 

Example 1:                                                            Example 2:



                                                                                                                                                                                                               


Example 3:                                                                      Example 4:


Example 5:



                                                                                                                                                                                                          



 

Method 3:

- use DeMorgan’s to get inverse F, then simplify using K-map.




 




 


I ACBcpgYsDSdfrlYKerIoJalxlIqNyS/YiPcICkRXW/d1JWb92HSpOty0r0NJ6/sewdJoRx64Hkyo bKkkgzeuypo8DmRZHKDKV28EV+5EzEMieH1A1nIErisx64dImVqQ/Pv61dGXY+8s/J4sUkmqHMWZ M1FfO+O4G0wH3A6wM77oU75+c/E06jvDON7fnA24GVi7L6plUutKzPrBW6YGZG9xte2+yddOFa8n i1KSOkdJmUxmA3KJIAjdQltGCMLoUAoQhNGhFCAIo0MpQBBGh1KAIIwOpQBBGB1KAYIwOv8DKxKQ 6CiexuEAAAAASUVORK5CYIJQSwECLQAUAAYACAAAACEAsYJntgoBAAATAgAAEwAAAAAAAAAAAAAA AAAAAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLAQItABQABgAIAAAAIQA4/SH/1gAAAJQBAAALAAAA AAAAAAAAAAAAADsBAABfcmVscy8ucmVsc1BLAQItABQABgAIAAAAIQASbCIvNwQAAPwKAAAOAAAA AAAAAAAAAAAAADoCAABkcnMvZTJvRG9jLnhtbFBLAQItABQABgAIAAAAIQCqJg6+vAAAACEBAAAZ AAAAAAAAAAAAAAAAAJ0GAABkcnMvX3JlbHMvZTJvRG9jLnhtbC5yZWxzUEsBAi0AFAAGAAgAAAAh AMPDCTrgAAAACgEAAA8AAAAAAAAAAAAAAAAAkAcAAGRycy9kb3ducmV2LnhtbFBLAQItAAoAAAAA AAAAIQD302bAnwYAAJ8GAAAUAAAAAAAAAAAAAAAAAJ0IAABkcnMvbWVkaWEvaW1hZ2UxLnBuZ1BL BQYAAAAABgAGAHwBAABuDwAAAAA= "> Converting from SoP into PoS

 

 

Method 1:

- use classic boolean algebra simplifications such as D2, from Lecture 1.

- This method always works, but often takes lots of time.

 

 



 

 

Method 1:


                                                                                                                                                                                                                


 

Method 2:

- use duality, simplify using familiar D1



 

 

 

Method 2:

Example

 


 




Method 2: Example


 


 

 




Method 2:


S ACIFIFIAIgUgUgAiBaBsfUoR9lmOca/oIUcKQKQApPIGkCMFIFIAIgUgUgBelWJGzmg2uL8426tS lCJSAB6Xgv5v663ORpcfTjwuRQ0el3Ktq6l69zT7QcR0/TcwHpeiBpEC8LiUwon2S/b2n4V4XIoa RApApABECkCkAKQcCZAjBSBSACIFIFIAIgXwH1Iky1zVxVekAAAAAElFTkSuQmCCUEsBAi0AFAAG AAgAAAAhALGCZ7YKAQAAEwIAABMAAAAAAAAAAAAAAAAAAAAAAFtDb250ZW50X1R5cGVzXS54bWxQ SwECLQAUAAYACAAAACEAOP0h/9YAAACUAQAACwAAAAAAAAAAAAAAAAA7AQAAX3JlbHMvLnJlbHNQ SwECLQAUAAYACAAAACEANyCrx9wDAACRDQAADgAAAAAAAAAAAAAAAAA6AgAAZHJzL2Uyb0RvYy54 bWxQSwECLQAUAAYACAAAACEALmzwAMUAAAClAQAAGQAAAAAAAAAAAAAAAABCBgAAZHJzL19yZWxz L2Uyb0RvYy54bWwucmVsc1BLAQItABQABgAIAAAAIQD8ioIB4gAAAAsBAAAPAAAAAAAAAAAAAAAA AD4HAABkcnMvZG93bnJldi54bWxQSwECLQAKAAAAAAAAACEACAygmKIAAACiAAAAFAAAAAAAAAAA AAAAAABNCAAAZHJzL21lZGlhL2ltYWdlMS5wbmdQSwECLQAKAAAAAAAAACEAPuiGG8gFAADIBQAA FAAAAAAAAAAAAAAAAAAhCQAAZHJzL21lZGlhL2ltYWdlMi5wbmdQSwUGAAAAAAcABwC+AQAAGw8A AAAA ">

 


 

Method 3:

- use K-maps





 


                                                                                                                                                                                                               

 


 


 


 


 

                                                                                                                                                                                                               


 

 

Karnaugh Maps (K-Maps)   So what is Karnaugh Map?

  A visual way to simplify logic expressions It gives the most simplified form of the expression

 



Goals of Circuit Minimization

 

(1) Minimize the number of primitive Boolean logic gates needed

to implement the circuit.

Ultimately, this also roughly minimizes the number of transistors, the chip

area, and the cost.

Also roughly minimizes the energy expenditure

among traditional irreversible circuits.

This will be our focus.

(2) It is also often useful to minimize the number of

combinational stages or logical depth of the circuit.

This roughly minimizes the delay or latency through the circuit, the time

between input and output.

Note: Goals (1) and (2) are often conflicting!

In the real world, a designer may have to analyze and optimize some

complex trade-off between logic complexity and latency.


Rules to obtain the most simplified expression

 


🞂 Simplification of logic expression using Boolean algebra is awkward because:

🞂 it lacks specific rules to predict the most suitable next step in the

simplification process

🞂 it is difficult to determine whether the simplest form has been achieved.

🞂 A Karnaugh map is a graphical method used to obtained the most simplified form of an expression in a standard form (Sum-of- Products or Product-of-Sums).

🞂 The simplest form of an expression is the one that has the minimum number of terms with the least number of literals (variables) in each term.

🞂 By simplifying an expression to the one that uses the minimum number of terms, we ensure that the function will be implemented with the minimum number of gates.

🞂 By simplifying an expression to the one that uses the least number of literals for each terms, we ensure that the function will be implemented with gates that have the minimum number of inputs.



Terminology/Definition

🞂 Implicant

🞂 Product term that could be used to cover minterms of a function

🞂 Prime Implicant

🞂 An implicant that is not part of another implicant

🞂 Essential Prime Implicant

🞂 A prime implicant that covers at least one minterm that is not contained in another prime implicant

🞂 Cover

🞂 A minterm that has been used in at least one group



Guidelines for Simplifying Functions

🞂 Each square on a K-map of n variables has n logically adjacent squares. (i.e. differing in exactly one variable)

🞂 When combing squares, always group in powers of 2m ,

where m=0,1,2,….

🞂 In general, grouping 2m variables eliminates m variables.



Guidelines for Simplifying Functions

🞂 Group as many squares as possible.This eliminates the most variables.

🞂 Make as few groups as possible. Each group represents a separate product term.

🞂 You must cover each minterm at least once. However, it may be covered more than once.



K-map Simplification Procedure

🞂 Plot the K-map

🞂 Circle all prime implicants on the K-map

🞂 Identify and select all essential prime implicants for the cover.

🞂 Select a minimum subset of the remaining prime implicants to complete the cover.

🞂 Read the K-map


 

 


 

                                                                      

 


 

                                                                                                                                                                                                            


 


 

 



 


 

                                                                                                        



 


 

 


 



 


 


 

 


 




 

 


 



 


 


 



Multiple input variables of Karnaugh Maps


 

 


 


 

 

                                                                                                                                                            


 


 

Adjacent cells on a Karnaugh map are those that differ by only one variable.

Arrows point between adjacent cells.


 

 

                                                                                                                                                              


 


 

 

 


 

                                                                                                                                                              


 



 


 

 




 

 


 

                                                                                                                                                            


 


 


 

 




                                        

 



 

 

 


 



                                                                                           



                                                                                           


 


 


 

                                                                          

 

 



 


 

                                                                     


 



 

 


 

 


 

 



 

 

 



 

 

 

 



 


 


 

 


 

 

 




 



 



 

 


 

 

 

 



 

 


 


 

 



 

 


 


 



 


 


                                                                                                                                                                                          


 



 

 


Дата добавления: 2022-06-11; просмотров: 23; Мы поможем в написании вашей работы!

Поделиться с друзьями:






Мы поможем в написании ваших работ!