I am running a simple circuit with a source and a memristor and a resistor. Apparently, Xyce is giving an error related to the memristor subcircuit. I cannot seem to understand these particular errors.
User error: Unintelligible syntax in: EXP(-{ALPHAP}*(X - XP))* ((XP-X)/(1-XP)
+1) *STP(X-XP) + STP(XP-X)
User error: Unintelligible syntax in: EXP(-{ALPHAP}*(X - XP))* ((XP-X)/(1-XP)
+1) *STP(X-XP) + STP(XP-X)
User error: Unintelligible syntax in: EXP(-{ALPHAP}*(X - XP))* ((XP-X)/(1-XP)
+1) *STP(X-XP) + STP(XP-X)
My code is :
EG dx 0 value={Ap*(exp(V(Plus, Minus)) - exp(Vp))* winYP(V(x), Xp, Xn)*stp(V(Plus, Minus)-Vp) -An*(exp(-V(Plus, Minus)) - exp(Vn))* winYN(V(X), Xp, Xn)*stp(-V(Plus, Minus)-Vn)}
Thank you