[Libre-soc-dev] daily kan-ban update 30oct2020

Cesar Strauss cestrauss at gmail.com
Sat Oct 31 12:33:21 GMT 2020

Em 31/10/2020 09:14, Luke Kenneth Casson Leighton escreveu:
> On Sat, Oct 31, 2020 at 11:46 AM Cesar Strauss <cestrauss at gmail.com> wrote:
>> Add a "yield Passive()" at the top of you process, and you can forget
>> about these "stop" variables.
> or, if it is conditional to stop, call Passive() when the time is right?

Well, if you really want to kill a process right away, do use a "stop"
signal paired with a return statement. Passive() will only defer killing
the process to the end of the simulation (assuming it did not terminate
itself before that).

By the way, do use a Signal to communicate among parallel process. You
can leverage "yield" to act as a synchronization point / barrier at the
clock edge.



More information about the Libre-soc-dev mailing list