Giter VIP home page Giter VIP logo

jtag_dpi's Introduction

JTAG DPI Module

This module emulates a JTAG port for a remote debug bridge. It can be used together with the JTAG bridge, to debug an RTL simulation. It has been adapted from the OpenRISC debug interface for the PULP project.

The module has been developed and tested with Mentor Graphics ModelSim, but should work with other SystemVerilog compatible simulators.

ModelSim Build

To use the module inside of ModelSim, it has to be built using the following commands first:

vlog -sv -dpiheader dpiheader.h jtag_dpi.sv
vlog -64 -ccflags "-I./" jtag_dpi.c

Note that ModelSim automatically creates the dpiheader.h file.

The -64 switch is necessary if you are using ModelSim in 64 bit mode.

Usage

Contrary to the Verilog legacy VPI interface, the DPI interface is used automatically with the simulation, there is no need to explictly specify the shared library or object file.

jtag_dpi's People

Contributors

atraber avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.