1 / 16

2011.04.07 - Presenter: PCLee

Paper presentation: Efficient Automata-Based Assertion-Checker Synthesis of SEREs for Hardware Emulation. 2011.04.07 - Presenter: PCLee Design Automation Conference, 2007. ASP-DAC '07. Asia and South Pacific . Abstract .

tender
Download Presentation

2011.04.07 - Presenter: PCLee

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. Paper presentation:Efficient Automata-Based Assertion-Checker Synthesis of SEREs for Hardware Emulation 2011.04.07 - Presenter: PCLee Design Automation Conference, 2007. ASP-DAC '07. Asia and South Pacific 

  2. Abstract In this paper, we present a method for generating checker circuits from sequential-extended regular expressions(SEREs). Such sequences form the core of increasingly-used Assertion-Based Verification (ABV) languages. A checker generator capable of transforming assertions into efficient circuits allows the adoption of ABV in hardware emulation. Towards that goal, we introduce the algorithms for sequence fusion andlength matching intersection, two SERE operators that are not typically used over regular expressions. We also develop an algorithm for generating failure detection automata, a concept critical to extending regular expressions for ABV, as well as present our efficient symbol encoding. Experiments with complex sequences show that our tool outperforms the best known checker generator.

  3. Research tree Efficient Automata-Based Assertion-Checker Synthesis of PSL properties Efficient Automata-Based Assertion-Checker Synthesis of SEREs for Hardware Emulation Assertion Checkers – Enablers of Quality Design

  4. Relation work • [2]: basic framework of MBAC • [1],[3]: IBM’s FoCs • [4],[6],[7],[8]: converting regular expression to hardware • [5]: hardware compiler • [9],[10]: check property during simulation • [11]: removing ε transition, minimizing and determinization classical automata [4],[6],[7],[8] is a start point of sequence transforming [9],[10] is not a dynamic trace [5] Add boolean nature to [11] Compare [1],[3] with MBAC Add implementation of SERE to [2] This paper

  5. What’s the problem • Problem: • Assertions are usually expressed at higher levels of abstraction that are not easily expressed in a Hardware Description Language (HDL). • The symbols in sequences correspond to many simultaneously interacting Boolean expressions, as opposed to the plain symbols used in pattern matching. • The notion of sequence intersection is often not treated in regular expression matching. • Automata-based regular expression recognizers only require the matching of patterns, assertions often require explicit detection of sequence failures. • Sequence fusionis required in assertions sequences. • Presented method: • MBAC checker generator tool is used to generate resource efficient assertion checker circuits. • This paper presented algorithm for sequence fusion and length- matching, and also develop an algorithm for generating failure detection automata.

  6. Sematic context • Conditional mode: Sub-statement semantic context for which the detection of a sequence must be performed. For each start condition, the result signal is triggered each and every time the chain of events described by the sequence is observed. • It can be used to describe the desired behavior. • Obligation mode: Semantic context for which the failure of a sequence must be identified. For each start condition, if the chain of events described by the sequence does not occur, the result signal is triggered (for a given start condition, the first and only the first failure is identified). • It can be used to detect first error. • always ({b1 ; b2} |-> {b3 ; b4})

  7. Sequence automata • Symbol encoding differs from conventional regular expressions because in SEREs, the alphabet Σ(a non-empty finite set) represents arbitrary Boolean expressions. • Symbol encoding of expression: • One symbol is received at each step, while the Boolean expression symbol encoding causes multiple symbols to be received at each step. • Symbol encoding of sequence: • Encoding of Boolean primitives to s-automaton symbols is to assign a distinct symbol si to each Boolean primitive bi, without concern for the fact that two Boolean primitives may simultaneously evaluate to true. • It is possible to create a symbol encoding which represents the power set of the Boolean primitives. • However, when a SERE references many Boolean primitives, the exponential increase of symbols and edges quickly becomes impractical.

  8. Building Sequence Detection Automata • Sequence automata construction use the recursively construction technique. • Conventional regular expression operator: • Conventional regular expression operators are concatenation(;), choice(|) and kleen star(*). • The boolean expression encoding scheme produces nondeterministic automata because from a given state, two distinct symbols can cause simultaneous outgoing transitions when their respective Boolean expressions are both true. • This can be reused for sequence automata.

  9. Building Sequence Detection Automata - Length-Matching Intersection • Length-Matching Intersection: • Length-Matching intersection needs the evaluation time and match point of each expression are same. • The condition on syntactic equality of symbols must be relaxed and the conjunction of symbols must be considered by the algorithm. • Worst case is mn • m = input number of left • n = input number of right • {s1[*]} && {s2;s3}

  10. Building Sequence Detection Automata - Fusion • Sequence fusion can be seen as an overlapped concatenation. • Worst case is m+n

  11. Building sequence-failure automata • A separate procedure is required to transform the sequence detection automation into a first-failure detection automaton. • If the automata is NFA, it can’t be done. • Classical determinization only consider symbol, but the symbol can be true simultaneously. This paper add boolean nature to this algorithm and form S-Determinize. • The main idea of this algorithm is to catch the case where the automaton dies.

  12. Experimental result • Take software metrics(Modelsim simulator) as a golden reference to ensure proper behavior of the assertion circuits. • Using ISE 6.2.03i from Xilinx and XC2V1500-6 FPGA to synthesize. The number of flip-flop and LUT and operating frequency are required to compare with FoCs. • Assertion distance: the number of clock cycles in which the two assertion signals disagree.

  13. Conditional mode • N.A. happen when assertion circuit only contain FF or the FF has no feedback path. • “r n” noted that Msim can’t catch failure, but MBAC can.

  14. Obligation mode

  15. Conclusion of this paper • Assertion-based verification and emulation become increasingly important in verification, MBAC is a practical tool for generating assertion circuits. • This paper show how to generate efficient circuits from sequence and introduced algorithms for implementing the sequence fusion and intersection operators. • Experimental results show improvements in terms of the resource usage, behavior and capability of assertion circuits.

  16. My conclusion • I think we can follow the same rule to generate circuit from SVA. • Because SystemVerilog is more high level. We can rewrite protocol checker in SVA. • SVA is more readable and more popular.

More Related