
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

1
Chien-Chih Yu and Cheng Zhuo {ccyu, czhuo}@umich.edu
Program Implementation
During the past two weeks, we have (1) evaluated the performance of different sampling methodologies; (2) implemented the circuit partition and PTM computation for fan-out free sub-circuits; (3) further improved the partition algorithm for more complex re-convergent sub-circuits.
For the sampling strategies, we compared the likelihood weighting sampling and classical quasi-Monte Carlo sampling method. Likelihood weighting method is efficient for small circuits. However, the complexity goes exponentially as the sampling space goes larger. By noting the fact that with 16 inputs the sampling candidates maybe 2^16 , we prefer the quasi-Monte Carlo (QMC) as the basic sampling strategy. Generally speaking, we use QMC to generate a series of continuous numbers for some specific distribution, which are further decoded to the corresponding discrete input vector. Since our partition algorithm will limit the possible inputs to 16 or even fewer, such a sampling strategy may have a large coverage of the sampling space. For fan-out free sub-circuit, the traditional way is used to compute the corresponding PTM, i.e. we first apply tensor operation to all inputs for each gate and then multiply the PTM to obtain the tensored matrix. This part has been implemented and tested. For the complicated sub- circuit with re-convergence, we tested the same simple partition algorithm and found that it may fail to recognize all the gates when the feed-back loops become complicated.
Uncompleted Issues and Potential Solutions
The reason of the failure in partitioning the complicated sub-circuit with re-convergence is mainly due to the complicated feed-back. If we use brute force method to include all the gates, the possible size of the PTM may again becomes too large to compute. Thus, we improve the algorithm to the following: first we construct the look-up table for all the flip flops and feed backs and replace them with virtual primary input/output; secondly, we perform reversed traversal and levelize this combinational circuit; thirdly, we start from a primary output, go backward and include all the fan-in gates until the number of fronter exceed 16 or it becomes an individual fan-out free sub-circuit; forth, remove this sub-circuit, and mark the fan-out at the boundary as virtual primary output; sixth, perform step 3-6 for all the primary outputs. This algorithm can partition the complex re-convergent circuit to small ones with no more than 16 inputs.
Future Work
(1) Finish the partition of re-convergent circuit and corresponding PTM generation (1 week) (2) Evaluate the reliability under different input distributions (1 week)