I have a problem in SystemC trying to write a signal after some time passes...
Consider the following:
process (clk)
begin
-- Updating my signal, out signal, in order to get result, but after a certain delay.
signal1 <= 0 after 2 ns;
OK! I can do the same in SystemC:
SC_CTOR(MyModule) {
SC_METHOD(mymethod);
sensitive << ....
}
void mymethod() {
mysig = 0 ; // HOW TO SAY AFTER 2 NS?????????
}
How can I specify a delay for signal assignment in SystemC????