Hello everyone,
Here is my code :
Code:`include "disciplines.vams"
module allo(out);
parameter real td = 10n;
parameter real tt = 10n;
parameter real t1 = 0n;
output out;
voltage out;
real Vout, tend;
analog begin
@ (initial_step) begin
Vout = 0;
tend = $abstime + td; //return simulation time + td;
end
@(timer(tend))
Vout = 1.8;
V(out) <+ transition(Vout,0, td, tt);
end
endmodule
I expect to get a pulse with a finite rise and fall time. Instead i get this: