1 / 14

Teaching Functional Verification: Lab Mechanics

Teaching Functional Verification: Lab Mechanics. Design Automation Conference Sunday, June 9, 2002. Agenda. Administration Lab 1 Lab 2 Lab 3 Grading. Administration. Length of labs Lab 1 – 1 week Lab 2 – 4 weeks Lab 3 – 4-6 weeks Instructor/TA Availability

Download Presentation

Teaching Functional Verification: Lab Mechanics

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. Teaching Functional Verification: Lab Mechanics Design Automation Conference Sunday, June 9, 2002

  2. Agenda • Administration • Lab 1 • Lab 2 • Lab 3 • Grading

  3. Administration • Length of labs • Lab 1 – 1 week • Lab 2 – 4 weeks • Lab 3 – 4-6 weeks • Instructor/TA Availability • Lab 1 – e-mail/office hours • Lab 2 – e-mail/office hours/1-2 lab days • Lab 3 – e-mail/office hours/3-4 lab days

  4. Administration (continued) • Website with lab specifications • Student Message Board • Students helping students • Monitored/Administrated by Instructor • Student Team Sizes • Lab 1 – Individual • Lab 2 – Individual • Lab 3 – Individual or groups of 2 • Individual requires more time

  5. Lab 1 • Focused on directed type testing • Black box approach • No visibility into RTL • Input to output type tests • Bus Functional Models (BFM) provided • Students need only to use the BFM’s • Bugs fixed by setting “error” input signal • Students hand in bug analysis

  6. Post Lab 1 exercise • Discuss deficiencies of lab 1 • Specification • Directed nature • Discuss better approach • Pseudo-random stimulus • Self-checking • Discuss nature of bugs

  7. Lab 2 • Build upon lab 1 and lecture material • Given starting point reference from solution (better approach) of lab 1 • Introduce High Level Verification Languages (HVL’s) • Grey box approach • Provide a testplan from lab 1 • Introduce students to debug

  8. Lab 2 (continued) • Bug fixes are done by “forcing” internal nets • If using VHDL, use procedures with FLI calls • This reduces instructors maintenance work load on design • If using Verilog/HVL, force nets directly • Introduce students to “regression” • Provide ability for students to regress • Students hand in testplan and bug analysis

  9. Post Lab 2 exercise • Discuss deficiencies of lab 2 • When are we done? • Coverage • Maintenance of code in environment • Lab 1 solution not well commented • Reuse • Discuss nature of bugs • Establish Coding guidelines for regression purposes (pass, fail, etc)

  10. Lab 3 • Builds upon lab 2 and lecture material • Provide lab 2 solution • Coverage oriented • Provide mechanism for code coverage • Provide functional coverage goals • Testplan becomes more of a functional coverage plan • Same approach as lab 2 for bug fixes and debug • Students hand in testplan

  11. Grading • Lab 1 • Bug analysis • Lab 2 • Testplan and bug analysis • Lab 3 • Perform “escape analysis” for each group • “Panel” session • What bugs were found • What techniques were used • Poke holes in environment • Ensure environment followed testplan

  12. Grading (continued) • Complete bug discovery isn’t necessary for “A” • Testplan • Environment • Methodology

  13. Summary • Each lab builds upon itself • Emphasizes reuse and maintenance • Labs emphasize lecture material • Testplan • Pseudo-random • Self-checking • Regressions • Coverage

  14. Summary (continued) • Labs are time intensive • Students time • Instructors time • May opt to have some classes as “lab sessions” depending on schedule and syllabus

More Related