Reading and Modifying Values Using ACC Routines
Kluwer Academic Publishers eBooks · 2005
This chapter has presented the ACC routines which read property values, read/modify logic values and read/modify delay values in Verilog simulations. The ability to access objects anywhere in a Verilog design hierarchy, and to read and modify the values of those objects, provides a great deal of power for PLI applications. The next chapter presents another powerful aspect of the ACC library, the ability to synchronize PLI application activity with simulation logic value changes. When the concepts presented in this chapter are combined with those presented in the next chapter, another useful capability of the PLI is made possible—interfacing C language models to Verilog simulations. Examples of how this is done are presented in Chapter 18.