Code Monkey home page Code Monkey logo

shunt's Introduction

Welcome to the SystemVerilog/SystemC/Python "TCP/IP Shunt"!

The Shunt is an Open Source Client/Server TCP/IP socket-based communication library designed for integrating SystemVerilog simulations with external applications in C, SystemC, and Python.

  • It aims to enable quick and easy development of communication between stand-alone SystemVerilog/SystemC simulations and/or external applications

  • It provides a common SystemVerilog/C API and supports mostly all System Verilog data types and data structures.

The Shunt is available under a "MIT" License. It can be used without restriction in an open-source or commercial application.

Articles/Conference papers

Shunt documentation

Commercial support

Starting from version 2.2.0, "IC VERIMETER" is pleased to announce the availability of commercial support. Whether you need assistance with the Shunt integration into your project or customization, please contact us at [email protected]

We have received numerous requests for new features and extensions beyond the initial scope of the product. To continue to keep "TCP/IP Shunt" as an open tool and address all extension requests, we are seeking funding to support the project's growth and development. You can support us through this link: ❤️ Sponsor

Please, report bugs to Issues.

Getting Started

Install the following prerequisites:

Library Installation

Download Shunt from https://github.com/xver/Shunt

Setup following variables:

  • “SHUNT_HOME” to the SHUNT home directory.
  • “SHUNT_SVDPI” to the location of svdpi.h file

Library compilation

  • cd to $SHUNT_HOME/utils/makedir/
  • run make clean;make all Compile result will be placed under ${SHUNT_HOME}/bin with dpi:“libutils.so” and without dpi:”libCutils.so”

NOTE: use the USER_OPT to add compiler options. (Example all debug options: make USER_OPT='-g3 -DSHUNT_CLIENT_SERVER_C_DEBUG -DSHUNT_TLM_DEBUG -DSHUNT_DPI_C_DEBUG -DSHUNT_PRIMITIVES_C_DEBUG')

Compile and run all examples (SV/C/SC/PY)

  • cd to $SHUNT_HOME/examples/makedir
  • run ./run_examples or ./run_examples_debug

Compile and run Python examples

  • cd to example makedir root directory. (Example: $SHUNT_HOME/examples/py/sv2py/makedir)
  • To compile the library and launch test run ```./run ``

Compile and run C examples

  • cd to example makedir root directory. (Example: $SHUNT_HOME/examples/c/primitives/makedir)
  • To compile the library and launch test run make all

Compile and run SV examples

  • cd to example makedir root directory. (Example: $SHUNT_HOME/examples/sv/sv2c/makedir/)
  • To compile the library and launch test run ./run

TLM-2.0 over TCP/IP "loosely timed model" SystemC-to-SystemC and SystemC-to-SV examples

SystemC to SystemC b_transport over TCP/IP :

  • cd to $SHUNT_HOME/examples/sc/LT_simple_cs/makedir
  • run make all

SystemC to SV b_transport over TCP/IP :

  • cd to $SHUNT_HOME/examples/sc/LT_simple_sv/makedir
  • run make all

Release History:


v3.0.0 (Current Version) System Verilog - Python integration

v2.3.0 - Regression mode support: Simultaneous allocation of TCP/IP ports.

v2.2.1 - cumulative updates: c++ namespaces no extern "C" & minor cosmetic updates

v2.2.0 - The ARM AXI (Advanced eXtensible Interface) bus support & cumulative bug fixes, cleanups, and updates. 

2.1.2 - Cumulative release: cleanup & SystemC related fixes

2.1.1 - SystemC compile/link cleanup: tab & trailing whitespaces, c++ compile/link -Wall -Werror -Wpedantic -Wextra -Wno-odr

2.1.0 - System Verilog TLM-2.0 generic payload over TCP/IP

2.0.0 - SystemC TLM-2.0 over TCP/IP

1.2.0 - TCP/IP optimization ,new fixed size packet communication functions,big/little endian support.examples and doc updates

1.1.2 - various accumulated fixes and verilator 4.20 support

1.1.1 - TCP/IP socket manipulation: block/unblock , tcp delay/nodelay, get socket status

1.1.0 - TCP/IP socket manipulation: new Multi-Slave support and close socket functions

1.0.3 - API docs update

1.0.2 - shunt-verilator integration update: long(longint) header & hash data type was: real,double is: long,longint

1.0.1 - shunt-verilator integration Verilator 3.916 2017-11-25 rev verilator_3_916

1.0.0 - initial release


"Copyright (c) 2023 IC Verimeter" Copyright (c) 2016-2023 IC Verimeter

shunt's People

Contributors

iliadav avatar xver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

shunt's Issues

TODO 2/16/2015

TODO:
Minor releases:
• Add makefile targets for all major SV simulators
• SV Queue and Associative array support

Major releases:
• Add UVM and TLM 2.0 support.
• TCP/IP client-server optimization

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.