Skip to the content.

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.

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 icshunt.help@gmail.com

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: :heart: 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:

Library compilation

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)

Compile and run Python examples

Compile and run C examples

Compile and run SV examples

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 :

SystemC to SV b_transport over TCP/IP :

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