Summary
This chapter has presented the routines contained in the PLI TF library, which are used to read and write the logic values of system task and system function arguments, and to specify the return value of a system function. The Verilog HDL provides a number of logic value constructs which do not have a direct counterpart in the C language, such as 4-state logic and vectors with arbitrary bit widths The TF routines provide several options for converting values from Verilog to C and from C to Verilog.
The next chapter is a continuation of the discussion of the TF library, and presents how to use the TF library with misctf routines.
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
© 2002 Kluwer Academic Publishers
About this chapter
Cite this chapter
(2002). Reading and Writing Values Using TF Routines. In: The Verilog PLI Handbook. The International Series in Engineering and Computer Science, vol 666. Springer, Boston, MA. https://doi.org/10.1007/0-306-47665-7_12
Download citation
DOI: https://doi.org/10.1007/0-306-47665-7_12
Publisher Name: Springer, Boston, MA
Print ISBN: 978-0-7923-7658-3
Online ISBN: 978-0-306-47665-5
eBook Packages: Springer Book Archive