Workflow
路径覆盖率
icon
Search documents
关于芯片验证,一些思考
半导体行业观察· 2026-02-04 01:38
Group 1 - The article emphasizes the necessity of reference models in verifying designs, particularly when constrained random testing becomes the standard method for validation [2] - Coverage models are essential to determine the effectiveness of generated tests and to ensure that previously untested aspects of the design are evaluated [2] - The author critiques the industry's reliance on coverage points and groups, arguing that they do not adequately correspond to the functionalities being simulated and checked, leading to costly mistakes [2] Group 2 - Various types of code coverage are discussed, including line coverage, toggle coverage, decision coverage, and branch coverage, with a particular focus on the often-overlooked path coverage [3] - Path coverage is highlighted as crucial because it encompasses all functionalities implemented in the design, despite its complexity when expanded [3] - The concept of "unique hardware" is introduced, stating that if hardware is tested and proven effective, it remains valid unless other hardware operates under specific conditions [3] Group 3 - A simple example is provided to illustrate the importance of verifying conditional statements in RTL code, emphasizing the need for multiple values to fully validate the conditions [4][5] - The article discusses the implications of replacing registers and the necessity of ensuring that the same operator is used across different instances without needing to re-validate all original tests [5] - The author argues that once a statement is verified to write results correctly, there is no need for redundant validation as long as no unique hardware is involved [5] Group 4 - The article asserts that path coverage can help identify unique code and reduce the need for extensive cross-validation, although it cannot completely eliminate the need for exploring all paths [6] - The author expresses frustration over the lack of acceptance of the path coverage concept in the industry, despite advocating for it for nearly 30 years [6]