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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
John Ousterhout, “Tcl and the Tk Toolkit,” p. xvii, Addison-Wesley, 1994.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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