Could some SystemC guru please shed some light on this ?
How could I make feedback loops work in SystemC ?
Consider the simple JK flip-flop in the attachment. If for each
of the NAND gates, I try to print out the time stamp at which
the output is changing, I always get a 0. But the circuit is driven
by a clock, so why does the time stamp not change ? The
code compiles and runs in an infinite loop, and completely
ignores the clock. Any hints, suggestions would be immensely
helpful.
How could I make feedback loops work in SystemC ?
Consider the simple JK flip-flop in the attachment. If for each
of the NAND gates, I try to print out the time stamp at which
the output is changing, I always get a 0. But the circuit is driven
by a clock, so why does the time stamp not change ? The
code compiles and runs in an infinite loop, and completely
ignores the clock. Any hints, suggestions would be immensely
helpful.