Interfacing With HDL Simulator Part I

Print

ntroduction
When SystemC is purely used for modelling purpose, SystemC can be run in standalone mode. But when SystemC Verification Extension is used for Verifying HDL DUT,

 like one written in Verilog, then we need to interface SystemC to Verilog/VHDL simulator.
Verilog Simulator Interface

Interfacing with Verilog simulator is very straight forward. This is due to the fact that Verilog language defines Programming Language Interface (PLI) for interfacing with C or C++ code. Which is external to Verilog Simulator.

I am going to show how to interface with PLI 1.0 and PLI 2.0 (VPI). Followed by DPI which is latest SystemVerilog way of interfacing.

PLI 1.0 Interface
For the SystemC to work with Verilog PLI following sequence of operations need to be performed.

Other then this, we need to perform few other tasks listed below.

Last Updated ( Tuesday, 29 March 2022 00:51 )