Presentation is loading. Please wait.

Presentation is loading. Please wait.

2011.07.21 - Presenter: PCLee VLSI Design, Automatic and Test, 2005. (VLSI-TSA-DAT).

Similar presentations

Presentation on theme: "2011.07.21 - Presenter: PCLee VLSI Design, Automatic and Test, 2005. (VLSI-TSA-DAT)."— Presentation transcript:

1 Presenter: PCLee VLSI Design, Automatic and Test, (VLSI-TSA-DAT).

2 Verifying whether a building block conforms to certain interface protocol is one of the important steps while constructing an SOC. However, most existing methods have their own limitations. Simulation-based methods have the false positive problem while formal property checking method may suffer from memory explosion and excessive runtime. In this paper, we propose a novel branch-and-bound algorithm for interface protocol compliance verification. The properties of the interface protocol are specified as a specification FSM, and the interface logic is formally verified at the higher FSM level. Using the FSM for property specification is relatively systematic than using other proprietary property languages, which greatly reduces the possibility of incomplete property identification. And it is shown theoretically and experimentally that the proposed algorithm can finish in reasonable time complexity.

3 This paper Virtual component interface standard[1] On Compliance Test of On-Chip Bus for SOC [8]

4 Simulation-based method(dynamic):  Even the coverage can achieve 100%, but the compliance can not be assured. Because it may suffer from false positive problem.  It is hard to determine whether all properties are completely identified or not. Formal method(static):  Formal verification can avoid false positive problem.  Properties are described in CTL language. The process of extracting properties form a specification document written by natural languages is complicated.  It may suffer from memory explosion and excessively long runtime may be further serious problems while the design size increases. Assertion-based verification:  More easily understood than CTL.  But it also suffers from the same problems above.

5 Specification FSM  Possible DUV behavior: 1.don’t care: The behavior is not defined since the input sequence is not supposed to appear. 2.Legal: The output sequence is allowed by the protocol under a valid input sequence. 3.Illegal: The output sequence is prohibited by the protocol under a valid input sequence. dc Idle/ busy orig Seq/ nseq vio wait e1 e3 e7 e2 e7 e6 e10 e6 e10 e5 e8 e6 e5 e7 e4 e5 e9

6 FSM of an AHB slave interface design prep sleep write read eS/100(HREADY, HRESP[1], HRESP[0]) eS/100 eR/100 eW/000 eW/100 eR/000

7 There may have relation between two FSM for each states(state pair).  The orig and idle/busy state can corresponds to sleep state.  The seq/nseq state can corresponds to read and write state. The DUV must be proved to be compliant if and only if all possible state pairs are examined and none of them includes the vio state.  Growing a tree to find all state pairs.

8 Consider e2 and eW/100. The intersection of two edges is non- zero, which infers there exists certain input along with the corresponding output that can drive both transitions.  HSEL=HWRITE=HREADYin=1, HTRANS=NSEQ can drive eW and e2. orig, sleep idle/busy, sleep seq/nseq, prep seq/nseq, write xx … … …

9 It is impossible to finish the whole tree. The tree will have infinite depth. So we must have certain bounding condition to prune the tree to be finite and without losing any possible state pair.  We can stop one node growing child if this node has presented.

10 The algorithm is implemented in C. The result indicate that the actual iteration count is far less than the worst case. Each verification run finishes within just 1 second.

11 Since the verification is done at the higher FSM level and only the separated interface logic under verification, this paper’s approach can efficiently complete the verification even if it is a formal method indeed. a novel branch-and-bound algorithm is then proposed to formally solve the FSM compliance problem in polynomial time complexity. In comparison with static formal methods, our algorithm hardly suffers from memory explosion and excessive runtime issuses in practice.

12 FSM verification can verify the bus protocol correctly and systematically. And the verification is still efficient.

13 Efficient Automata- Based Assertion- Checker Synthesis of SEREs for Hardware Emulation Efficient Automata-Based Assertion-Checker Synthesis of PSL properties Assertion Checkers – Enablers of Quality Design Assertion-based This paper Formal method

Download ppt "2011.07.21 - Presenter: PCLee VLSI Design, Automatic and Test, 2005. (VLSI-TSA-DAT)."

Similar presentations

Ads by Google