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?
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.
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?
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
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
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
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?
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
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
Dear spiceupyourcircuit,
Thank you so much for your reply.
We can further correspond via my e-mail: david.hee@liteon.com
Many thanks!
David