Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Here are a few documents outlining the use of stimulus in MPLAB SIM. There are examples of a ADC register injection.
**broken link removed**
You'll basically need to create a file, "adcstimulus.txt" which contain datum representing the register values of the ADC which SIM will consecutively load into your simulation.
Once I tried to simulate the AD converter also.
What I did is to open the stimulus window, and put direct the value I wanted in the register (ADCBUF or something lke this).. I don't know if it's sufficient for you, but works..
Stimulus Control Language (SCL) is used for controlling the synchronous stimulation of the application under test. An SCL Generator component (dialog) is provided for automatically generating SCL stimulus programs, which can then be attached to the simulation session. A separate Stimulus Control component (dialog) also supports generation of asynchronous stimulus, which may be used independently of, or in conjunction with, the synchronous stimulus.
MPLAB's Help will assist you in the usage of SCL.
"Select Debugger>Stimulus Controller and then click the Pin Stimulus tab."
Thanks you very much for your reply
As per MPLAB simulator user guide, Asynchronous Stimulus Dialog box can't see in my MPLAB IDE (V8.53) (see photo)
Can I have an advice on this View attachment 60477
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.