Creating PLI Applications Using TF and ACC Routines
This chapter uses two short examples to introduce how the Verilog PLI works. The first example will allow a Verilog simulator to execute the ubiquitous Hello World C program. The second example uses the PLI to access specific activity within a Verilog simulation, by listing the name and current logic value of a Verilog net. The purpose of these examples is to introduce how to write a PLI application using the TF and ACC routine libraries in the Verilog PLI standard. Subsequent chapters in this part of the book build on the concepts presented in this chapter and show how to write more complex PLI applications.
Unable to display preview. Download preview PDF.