1 / 20

Functional Notation

Functional Notation. Addendum to Chapter 4. Logic Notation Systems. We have seen three different, but equally powerful, notational systems for describing the behaviour of gates and circuits: Boolean expressions logic diagrams truth tables. Recall that….

aderyn
Download Presentation

Functional Notation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Functional Notation Addendum to Chapter 4

  2. Logic Notation Systems We have seen three different, but equally powerful, notational systems for describing the behaviour of gates and circuits: • Boolean expressions • logic diagrams • truth tables

  3. Recall that… Boolean expressions: expressions in Boolean algebra, a mathematical notation for expressing two-valued logic. This algebraic notation is an elegant and powerful way to demonstrate the activity of electrical circuits.

  4. Recall further that… Logic diagram: A graphical representation of a circuit. Each type of gate is represented by a specific graphical symbol. Truth table: A table showing all possible input values and the output values associated with each set of inputs.

  5. A Fourth System In addition to these three, there is another widely used system of notation for logic. Functional Notation

  6. Functional Notation … uses a function name followed by a list of arguments in place of the operators used in Boolean Notation. For example: A’ becomes NOT(A)

  7. Functional Equivalents

  8. XOR XOR must be defined in terms of the 3 logic primitives: AND, OR, and NOT. Recall its explanation: “one or the other and not both”

  9. XOR This translates into Boolean Notation as follows: “one or the other” and not both X = (A + B)(AB)’

  10. XOR The Boolean Notation X = (A + B)(AB)’ translates as: X = AND( OR(A,B),NOT( AND(A,B))) in Functional Notation. 10

  11. XOR The truth table for XOR reveals a hint for simplifying our expression.

  12. XOR Note that XOR is False (0) when A and B are the same, and True (1) when they are different.

  13. XOR So XOR can be expressed very simply as: X=NOT(A=B) or X=A<>B

  14. XOR Notice that this expression is not strictly functional since it uses the ‘not equal’ operator. However, we’re more interested in implementing logic in Excel, than strict Functional Notation.

  15. Consider this familiar circuit How can this circuit be expressed in Functional Notation?

  16. Equivalent expressions Recall the Boolean expression for the circuit: X=(AB+AC) Page 99

  17. Equivalent expressions Replace the most “internal” operators with functional expressions: X=(AB+AC) AND(A,B)AND(A,C)

  18. Equivalent expressions Now replace the “external” operators, working “outwards”: X=(AB+AC) X=OR(AND(A,B),AND(A,C))

  19. The equivalent circuit

  20. The equivalent circuit The Boolean expression: X = A  (B + C) X = AND(A,OR(B,C)) and its Functional equivalent.

More Related