I really appreciate your help on this. Unfortunately, I am unable to post my model here at this time.
I tried 'transition' filter and it gives me a perfectly delayed output only when I add an
extra terminal.
Code:V(D,S)<+transition(vout,Tau,100E-12,100E-12);
V(state,S)<+transition(V(D,S),Tau,100E-12,100E-12);
In the above code, only after adding "state" as an extra terminal, I could delay the output V(D,S). "vout" is an internal node being assigned the value of the output per the cases in if-else statements. Tau is the delay I want to introduce in the output.
I really want to remove the extra terminal since it affects the device performance and functionality as a whole.
Best,
Nishtha