Back to Forums
7 posts / 0 new
Last post
#1 Mar 15, 2017
Ranjana
Offline
Last seen: 7 years 2 weeks ago
Joined: 2017-03-15 06:14

Device Modelling Interface

Im using ORCAD PSPICE 16.6 and need to integrate the EKV 3.0 Verilog-AMS code through DMI for which i need to use the Model Editor. Im not able to find the Model Editor in the PSPICE Menu. Can it be launched some other way?

Thu, 2017-03-16 04:25
Alicia
Offline
Last seen: 6 years 2 months ago
Joined: 2016-06-07 09:43

16.6 Model Editor is available:

1. From Start > Programmi > Cadence > Release 16.6 > Pspice Accesories > Model Editor

2. From executable path: "C:\Cadence\SPB_16.6\tools\pspice\ModelEd.exe"

3. From Capture's schematic page, select a schematic part with Implemetation property defined and RightClick Edit Pspice Model.

Regards,

Alicia

 

 

Wed, 2020-03-18 04:11
DavidHEE
Offline
Last seen: 3 years 10 months ago
Joined: 2020-03-18 03:46

Dear PSpice Experts,

I am trying to source for information on how to model a (16-bit NXP/Freescale) MCU within my PSpice simulation, and I came across the said topic of DMI in the "Virtual Prototyping in PSpice" AN.

Just to understand, I presume this sort of 'MCU in PSpice' modelling will more-or-less entail using the DMI to develop it, am I correct? Or are there other better methods, as of today, to go about doing it?

I was looking into this DMI process first, is because it seems to indicate (from the AN) that it can take in my MCU's C++ firmware coding (i.e. how I want my MCU to perform/operate) to generate its corresponding PSpice component. Is this rationale of mine correct as well?

I will temporarily stop here, as I will like to hear some feedbacks from the Experts.

Many thanks and best regards,

David

Fri, 2020-03-20 12:20
spice_up_your_c...
Offline
Last seen: 3 years 9 months ago
Joined: 2020-01-26 09:49

Hi David,

Yes, you can use PSpice DMI to develop your MCU model using C/C++ code and generate a dynamic link library (dll) for that model. Generally, PSpice models behavior is characterised by .lib file, but here the behavior will be coded in C/C++ language.

I have a lab that I would like to share which explains the process of developing a model for digital PWM controller and using it in PSpice simulation. This may give you an good idea of the required process. But, I am not not able to post the document here. Could you tell me your email-ID?

 

Tue, 2020-05-05 04:39 (Reply to #4)
DavidHEE
Offline
Last seen: 3 years 10 months ago
Joined: 2020-03-18 03:46

Dear spiceupyourcircuit,

I wasn't sure if you'd overlooked my reply, but definately, I'll be very appreciative if you can share the lab-document that you'd mentioned with me.

My e-mail will be: david.hee@liteon.com

Many thanks,

David

Tue, 2020-05-05 10:47 (Reply to #5)
spice_up_your_c...
Offline
Last seen: 3 years 9 months ago
Joined: 2020-01-26 09:49

Hi David,

Actually, I did share the lab folder via google drive back then, but seems like the shared folder did not go through. I will try sending bits of the same folder in attachments via gmail instead

Mon, 2020-03-23 00:19
DavidHEE
Offline
Last seen: 3 years 10 months ago
Joined: 2020-03-18 03:46

Dear spiceupyourcircuit,

Thank you so much for your reply.

We can further correspond via my e-mail: david.hee@liteon.com

Many thanks!

David

Download PSpice and try it for free! Download Free Trial
Cadence