1 / 14

Diagnosis and Correction of Logic Errors in Circuits based on probability

Diagnosis and Correction of Logic Errors in Circuits based on probability. Student: Yu-Lin Hsiao Advisor: Chun-Yao Wang 2006.3.08 Department of Computer Science National Tsing Hua University, Taiwan. Outline. Problem Description Diagnosis Preliminary idea Correction Future work.

kalei
Télécharger la présentation

Diagnosis and Correction of Logic Errors in Circuits based on probability

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. Diagnosis and Correction of Logic Errors in Circuits based on probability Student: Yu-Lin Hsiao Advisor: Chun-Yao Wang 2006.3.08 Department of Computer Science National Tsing Hua University, Taiwan

  2. Outline • Problem Description • Diagnosis • Preliminary idea • Correction • Future work

  3. Problem Description • Given two netlists C_org and C_opt C_org is the original circuit C_opt is the timing/area optimal circuit • If at least one function among both circuits is not equivalent, the C_opt is consider as having design errors.

  4. Problem Description (Cont’d) • Assume only one simple design error in the C_opt, and its error type is missing inverter or extra inverter. • The whole circuit only has AND, OR, NOT gates, and it has no redundant sub-circuit.

  5. Diagnosis • When the probability of two functions are not equivalent, the diagnosis procedure is called. • Diagnosis procedure will trace back the circuit and find out a potential error location. • A potential error location may not be an actual error, diagnosis procedure is repeated until an actual error is found.

  6. Search potential error location • It is very expensive to examine all lines until an error location is found. • We have to reduce our search space. Some impossible potential error locations can be pruned.

  7. Search potential error location (Cont’d) Potential Error location a Potential Error location b An error location must exist within the intersection of the backtrace cones of all erroneous POs

  8. Preliminary idea f = ab+c a 01010101 b 00110011 c 00001111 0001 00010001 1/3 = 0011 0111 a 00011111 0111 b 1/5 f c 00001111 1/17 0111 a: positive unate b: positive unate c: positive unate

  9. Preliminary idea (Cont’d) f = ab+c a 01010101 b 00110011 c 00001111 a:negative unate 11101111 11100000 a 0111 b f c a: positive unate b: positive unate c: positive unate a: negative unate b: negative unate c: negative unate a: negative unate b: negative unate c: positive unate

  10. Preliminary idea (Cont’d) • If a variable which only appears at most one cube in a function is either positive or negative phase , we can check its change of unate property to detect where an error is. • Extra or missing inverter in a circuit can inverse the unate property of relative variables.

  11. Preliminary idea (Cont’d) f = ab + bc+ ac May locate wrong line!! a b 01001111 c 11110111 a: positive unate b: positive unate c: negative unate a: positive unate b: negative unate c: positive unate

  12. Preliminary idea (Cont’d) • If a variable has both phases in cubes in a function , it can be positive unate, negative unate or binate. • In this case, extra or missing inverter in a circuit may not change the unate property of variables. • This idea can’t solve a circuit with signal correlation.

  13. Correction • We define two types of error model, however we don’t have to check a circuit twice. If error occurs, we only need to add a new inverter If error occurs, add a new inverter means deleting the original inverter.

  14. Future work • Based on unate property checking method, try to solve signal correlation problem.

More Related