The CppSim approach to documentation is to provide a rich set of examples which users can build on top of to create their own systems. The manuals provided here guide the user through several of the examples included within the package, which include phase-locked loop circuits and a simple wireless transceiver performing phase modulation. However, CppSim supports simulation of any system that can be described in block diagram form assuming that all signals associated with the blocks are unilateral in nature (i.e., signals are not influenced by loading effects when connected to other blocks). CppSim has been used to simulate a rich variety of systems, including OFDM communication systems, continuous-time Sigma-Delta A/D converters, transmission lines, high gain amplifiers with fast offset correction, decision feedback equalizers, optical/electrical downconverters, and digital phase-locked loops. Examples of such systems are provided in the tutorials available at this site.

The best way to begin is to work through the CppSim Primer document below, which will walk you through several examples that teach the basics of simulating existing systems, creating new systems and new modules, generating MatlabĀ® mex functions and Simulink S-functions, and Importing/Exporting libraries. For those who are migrating from previous versions of CppSim, instructions are provided to easily transfer your previous CppSim libraries to this new version.

For more advanced users, the CppSim Reference Manual provides further details on running more complex simulations (such as leveraging alter statements) and making use of CppSim classes such as Filter() and Rand().

Getting Started with CppSim/VppSim

Back to the top of the page
  • CppSim/VppSim Primer (Version 5)
  • Talk on System Level Simulation Using CppSim/VppSim
  • CppSim Reference Manual (Version 5)

Making Use of NGspice

Back to the top of the page
  • NGspice Primer Within CppSim (Version 5) Framework
  • Hspice Toolbox for MatlabĀ® and Octave (also for use with Ngspice)
  • Tutorial on the HSPC program (also for use with NGspice)

Designing Phase-Locked Loops

Back to the top of the page
  • PLL Design Using the PLL Design Assistant Program