Skip to main content

TCL_PLI, a Framework for Reusable, Run Time Configurable Test Benches

  • Chapter
System-on-Chip Methodologies & Design Languages
  • 148 Accesses

Abstract

As ASIC complexity keeps increasing, the time spent in design and maintenance of test benches has grown to become a disproportionately large part of the total design effort. Verilog test benches have become slow to compile and cumbersome to maintain.

This paper discusses a scripting approach to managing the test bench complexity issue. Partitioning the functionality of a test bench between Verilog and a scripting language allows for a significant reduction in compile times during ASIC verification. If done correctly, partitioning also offers great potential for re-use of test bench components.

The Tcl ianguage was chosen as a basis for implementing a library of PLI routines that allow fully customizable interpreters to be instantiated in Verilog test benches. This library allows multiple Tcl interpreters to be instantiated in a Verilog simulation. The Tcl interpreters can interact with the simulation and cause tasks to be executed in the Verilog simulation.

We have found the TCL_PLI library to be extremely valuable in speeding up our verification efforts on multi-million gate ASICs and have decided to make the library available to the general design community. The source code for the library may be obtained by contacting the authors.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. John Ousterhout, “Tcl and the Tk Toolkit,” p. xvii, Addison-Wesley, 1994.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer Science+Business Media New York

About this chapter

Cite this chapter

Voges, S., Andrews, M. (2001). TCL_PLI, a Framework for Reusable, Run Time Configurable Test Benches. In: Ashenden, P.J., Mermet, J.P., Seepold, R. (eds) System-on-Chip Methodologies & Design Languages. Springer, Boston, MA. https://doi.org/10.1007/978-1-4757-3281-8_23

Download citation

  • DOI: https://doi.org/10.1007/978-1-4757-3281-8_23

  • Publisher Name: Springer, Boston, MA

  • Print ISBN: 978-1-4419-4901-1

  • Online ISBN: 978-1-4757-3281-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics