Fixed missed change from sim_is_active to sim_activate_time.
This commit is contained in:
parent
744f65a36c
commit
6a08c3c283
2 changed files with 2 additions and 2 deletions
|
@ -482,7 +482,7 @@ int32 clk_cosched (int32 wait)
|
||||||
{
|
{
|
||||||
int32 t;
|
int32 t;
|
||||||
|
|
||||||
t = sim_is_active (&clk_unit);
|
t = sim_activate_time (&clk_unit);
|
||||||
return (t? t - 1: wait);
|
return (t? t - 1: wait);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -157,7 +157,7 @@ int32 clk_cosched (int32 wait)
|
||||||
{
|
{
|
||||||
int32 t;
|
int32 t;
|
||||||
|
|
||||||
t = sim_is_active (&clk_unit);
|
t = sim_activate_time (&clk_unit);
|
||||||
return (t? t - 1: wait);
|
return (t? t - 1: wait);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue