Modeling Digital Content with a SIMPLIS DLL-defined Device

Date

Previously Held on September 17th, 2020

Included with the release of SIMetrix/SIMPLIS 8.40 is the introduction of the SIMPLIS C/C++ code DLL-defined device.  This feature is available to all SIMPLIS users with a Pro or Elite license.  In this one hour webinar, we will walk through the entire lifecycle of a DLL-defined Digital Voltage Controlled Oscillator.

Abstract

Creating a DLL-defined Digital Device requires both SIMetrix/SIMPLIS Pro or Elite and a C/C++ compiler toolchain. In this webinar, we will switch between them in order to create and test our example device.

SIMPLIS:

  • Device Definition
    • input buses/pins
    • output buses/pins
    • user-configurable parameters
  • Code Generation
    • Visual Studio project definition
    • auto-generation of C source files

Visual Studio:

  • Initial DLL Compilation
    • explore source files
    • build Debug and Release DLLs

SIMPLIS:

  • Create a Symbol for our DLL-defined Device
    • instantiate the device on a schematic
    • verify the auto-generated configuration dialog
    • enable debugging

Visual Studio:

  • Begin Code Customization
    • explore the setup routine
    • set initial conditions for the device
  • Explore the Device Behavior in Simulation
    • read from input buses/pins
    • write to output buses/pins
    • schedule wake events

SIMPLIS:

  • Verify Device Performance
    • compare device output to expected measurements

Link to Webinar Recording

The webinar recording can be viewed at this link: Modeling Digital Content with a SIMPLIS DLL-defined Device (56:37)

Reference Materials

Schematics and presentation slides for the webinar can be downloaded here: sep_2020.zip