I'm not that familiar with memristors (other than the odd article I've read on them) and so I didn't check to see whether the model you gave made sense. However, I can see that the idt is definitely working. If I do: // M1 (pos 0) memristor V1 (pos 0) vsource type=sine ampl=1 freq=1k ahdl_include "forummemristor.va" myopts options saveahdlvars=all tran tran stop=2m I can then plot the voltage across the memristor and the value of r1 (which includes the integral of the voltage across the device) - you can see from this that the integral is working: Regards, Andrew.
↧