EE6250 Homework 1 Solved

30.00 $

Category:

Description

Rate this product

1.  Consider the testing of a complex CMOS logic cell.

  1. (a)   Draw the transistor schematic for a logic cell with the following functionality:

    Y = (A + CD + EFG)’

  2. (b)   Write a C or C++ program to generate the truth table of this logic cell. Your program

    should print out the response of each of the 26 = 64 input combinations. Also, report the

    cardinalities of the ON-SET and the OFF-SET, respectively.

  3. (c)  A transistor could have unexpected short fault (meaning that the source and drain are

    connected at all times independent of the value of its gate). Consider one such type of logic cell with E-controlled nMOS having a short fault. Modify your program to show the truth table for this faulty cell. (Note that the output signal may not be perfectly logical under some input combinations due to the fighting of paths to VDD and ground. Use logic symbol ‘X’ to represent an ambiguous output value. The input combinations that cause an ‘X’ at the output can be considered as potential test vector for the short fault).

  4. (d)  A transistor could have unexpected open fault as well (meaning that the source and drain are disconnected at all times independent of the value of its gate). Consider one such type of logic cell with E-controlled pMOS having an open fault. Modify your program to show the truth table for this faulty cell. (Note that the output signal could be floating under some input combinations. Use logic symbol ‘Z’ to represent it when it occurs.)
  5. (e)   An open fault is more deterministically testable than the short fault but requires two-pattern tests. Modify your program to list all 2-pattern tests for the faulty cell described in part (d). Report the total number of tests you derived.

Note: 繳交資料: Combine all of the following items into a single PDF file for the submission to the iLMS system. On top of the combined PDF file there should be a cover page with your 系 所,中英文姓名,學號等資訊.

 In addition to the answers to the above questions, you should include all the source codes of your C or C++ programs for sub-problems (b) to (d) as appendices.