Application Note
Virtual Prototyping in PSpice Page 2 of 80
1 Overview
Virtual prototyping is a method in the process of product development, which allows to
validate a design before making a physical prototype. Since V17.2, PSpice offers the
opportunity to simulate System Designs using different kind of abstractions thanks to the
Device Modeling Interface. With GUI, users can define C/C++, SystemC, and Verilog-A
components and simulate them in simulator.
1.1 Contents of this document
• How to use Device Modeling Interface.
• Setup for Visual Studio Community 2013.
• How to integrate C/C++, SystemC and Verilog-A models to be simulated in PSpice.
• Debug of C/C++, SystemC and VerilogA devices.
• Importation of MATLAB Blocks in PSpice.
• Hardware in the Loop using Arduino.
1.2 How to use this AN?
This document explains the steps for integrating C/C++, SystemC and Verilog-A models with
PSpice Device Model Interface (DMI), so that they can be used for PSpice simulations.
This document is valid up Release 17.2. License required for:
a. PSpice DMI – Model development capability:
• OrCAD PSpice Designer OR
• OrCAD PSpice Designer Plus OR
• Allegro PSpice Simulator
b. PSpice DMI – Model Simulation capability:
• OrCAD PSpice Designer Plus OR
• Allegro PSpice Simulator
Examples available:
• Digital Power Supply using C/C++ defined PWM.
• FIR Filter using SystemC.
• Capacitor behavior analysis defined with Verilog-A.
• Noise Filter using a MATLAB Block.
• Hardware in the Loop using Arduino.
The structure of the attached ZIP file is divided in 6 folders: