Skip to main content

Reading and Writing Values Using TF Routines

  • Chapter
The Verilog PLI Handbook

Part of the book series: The International Series in Engineering and Computer Science ((SECS,volume 666))

  • 418 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics