I am interested in Device Model Interface (DMI), unfortunately I could only find these two documents
1-PSpice Device and System Modeling in C/C++ and SystemC Tutorial
2-PSpice Device Modeling Interface API Reference
which is very rare to understand DMI and used it with C/C++. Are there any other documents or videos?
Kindly refer this - https://www.pspice.com/resources/application-notes/device-model-interface
this is almost the same as
PSpice Device and System Modeling in C/C++ and SystemC Tutorial
the analog part (Noise Filter using a MATLAB Block) is identical. There should be a user guide. How should a newbie learn it if it's not adequately documented? An example, PSpice Device Modeling Interface API Reference page 29
typedef void(* pPSpiceIntegrate_t) (double &pConductance, double &pCurrent, double pCapacitance, qi_def&pSV0, qi_def &pSV1, qi_def &pSV2, int pInitFlag)
how to use it if you don't know what these parameters are or how to use them. That must be documented, shouldn't it? I'm a bit disappointed in terms of documentation and help for students who aren't allowed to open a help case in Cadence.
I am in a similar situation. Just started on the SystemC /DMI modelling, but very little documentation on how to use the function calls in Visual Studio.
To begin with I just need a simple analog in and analog out device, but have no luck getting it working.
For a simple working example you can refer to the tutorial link on Cadence Support website. Check the section "Generating and Simulating a SystemC based PSpice DMI Model" in below link
Thanks. That provided at least a little deeper insight.
I also found this reference:
SystemC WP_1 (uw.edu)