The behavior I want to see is, "sIntegral" starts at 0.5 and (if V(bj) is negative), keeps decreasing until int(Vdt) becomes less than zero, at which point I want the integration to stop.
Instead, "integrand" initializes to zero, sIntegral initializes to 0.5, and neither change in the simulation as verified with the strobe statements (even though there is definitely a voltage present).
How can I make the conditional statement re-evaluate at each time step so that the integral/integrand will update?
VerilogA executes the statements with "<+" assignment everytime any variable in RHS changes so this should work. Along with initial statement this should work.
I didnt try to verify either of them, but you can give it a try.