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().
CppSim Primer: cppsim_primer4.pdf
(Note that advanced features of Version 4 will be documented soon)
CppSim Reference Document: cppsimdoc.pdf
For those wishing to simulate phase-locked loops, a GUI-based tool for transfer
function level PLL design is provided within the CppSim package called the PLL
Design Assistant. pll_manual.pdf
For those wishing to compile mex functions and S-Functions generated by CppSim
for Matlab and Simulink, you need to install a C++ compiler. Microsoft provides a free
"Express" version of their C++ compiler, and instructions for utilizing this with Matlab
are found at: http://www.mathworks.com/matlabcentral/fileexchange/22689
For those wishing to use the Hspice Toolbox for Matlab, it is contained within the
CppSim package in directory CppSim/CppSimShared/HspiceToolbox.
hspice_toolbox.pdf
For those wishing to use the HSPC package, it is contained within the CppSim
package in directory CppSim/CppSimShared/HspiceToolbox/HSPC.
hspc.pdf
