|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
Table of Contents
1.0 Introduction ............................................................................................................................2
2.0 An overview of the DPI .........................................................................................................2
3.0 Verilog PLI capabilities .........................................................................................................3
3.1 How the PLI calls C functions ..................................................................................... 3
3.2 The evolution of the Verilog PLI ................................................................................. 4
3.3 Verilog PLI standards — Where they’ve been and where they’re heading ................ 6
4.0 A more detailed look at the SystemVerilog DPI ...................................................................7
4.1 The DPI import declaration ......................................................................................... 8
4.2 Function formal arguments .......................................................................................... 8
4.3 Function return values ................................................................................................. 9
4.4 Data type restrictions ................................................................................................... 9
4.5 Pure, context and generic C functions ....................................................................... 10
4.6 Referencing PLI libraries from DPI functions ........................................................... 11
5.0 Exporting Verilog tasks and functions .................................................................................11
6.0 Using the DPI to interface to C++, SystemC, and other languages .....................................12
7.0 Does the SystemVerilog DPI replace the Verilog PLI? ......................................................13
8.0 Conclusions ..........................................................................................................................16
8.1 When to use the DPI .................................................................................................. 16
8.2 When to use the PLI ................................................................................................... 16
8.3 Can the PLI 1.0 standard be deprecated? ................................................................... 17
8.4 The correct chant ....................................................................................................... 17
9.0 References ............................................................................................................................17
10.0 Glossary of acronyms ..........................................................................................................17
11.0 About the author ..................................................................................................................18 |
|