Partial preview of the text
Download Experiment No 6 Digital and more Lab Reports Physics in PDF only on Docsity!
Lab 6: Implementing Logic Designs Objectives: 1 Develop a function table trom a statement of conditions 2. Extract the Boolean equation from the function table 3. Construct the eweuit from a Boolean equation 4 Verify that the circuil constructed matches the function table Materials List: + — Max-plus I software by Altera Corporation + = University board by Altera Corporation (optional) + = = Computer requirements: Minimum 48 MB RAM + — Floppy disk Discussion: Letus assume a circuit is to be designed that produces a logic-HIGH output (X) when one input (B) is a logic- LOW and the other input (A) is a logic-HIGH. The inputs and output are arbitrarily assigned variables such as A, B, and X. Set up a function luble to represent the design statement, listing all possible combinations for the input variables, A and B. Show a logic-HIGH output for X that satisfies the statement and a logic-LOW for all other input combinations. (See Table 1.) Once a function table has been developed, each logic-HIGH output for a row can be expressed as a multi-input AND gate. The number of inputs to the AND gate is determined by the number of inputs from the logic statement. r Start by drawing the 2-input AND gate with inputs and output at a logic-HIGH as shown in Figure 1. The output of the AND gate is a logic-HIGH only when all inputs are a logic-HIGH. What must be done to input A to 1 provide a logic-HIGH state? For row 2 of the table, when output X is a Table1 logic-HIGH, input A is already a logic-HIGH, so merely wire input A to one of the gate inputs. B 9 0 1 oor ox Hoe olpi However, note that input B for row 2 of the table is a logic-LOW. Input B A- TE ! must be inverted before being wired to the AND gate. Output X for B- 1 row 2 can now be expressed as a function of the inputs. The column equation for the outpul is derived by ORing the individual raw expressions. A i = The individual row expressions represented by the AND gates are called B pel R=AB product terms, The colunm equation ORing the AND terms is called the sum of products, SOP. Figure | Part! Procedure Statement: The output (X) of a circuit is a logic-HIGH only when inputs A and B are a logic-HIGH, when input C is a logic- LOW, or when inputs A and B are a logic-HIGH when input C is a logic-HIGH. 1. Complete the function table (Table 2) for the logic statement. Lab 6: Implementing Logic Designs 69