10.11 Summary
This chapter has presented one of more powerful additions to the Verilog language for modeling very large designs: interfaces. An interface encapsulates the communication between major blocks of a design. Using interfaces, the detailed and redundant module port and netlist declarations are greatly simplified. The details are moved to one modeling block, where they are defined once, instead of in many different modules. An interface can be defined globally, so it can be used by any module anywhere in the design hierarchy. An interface can also be defined to be local to one hierarchy scope, so that only that scope can use the interface.
Interfaces do more than provide a way to bundle signals together. The interface modport definition provides a simple yet powerful way to customize the interface for each module that it is connected to. The ability to incorporate methods (tasks and functions) and procedural code within an interface make it possible instrument and drive the simulation model in one convenient location.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 Springer Science+Business Media, LLC
About this chapter
Cite this chapter
(2006). SystemVerilog Interfaces. In: SystemVerilog for Design. Springer, Boston, MA. https://doi.org/10.1007/0-387-36495-1_10
Download citation
DOI: https://doi.org/10.1007/0-387-36495-1_10
Publisher Name: Springer, Boston, MA
Print ISBN: 978-0-387-33399-1
Online ISBN: 978-0-387-36495-7
eBook Packages: EngineeringEngineering (R0)