RE: SDL-News: Priority of signals

Subject: RE: SDL-News: Priority of signals
From: Eric Lefevre (
Date: Wed Oct 13 1999 - 16:12:32 GMT

Dear Juan Pablo

I'm afraid that it is not possible to set several priority levels when doing
a PRIORITY INPUT. I think that you should try to use the "enabling
conditions" (with the keyword "provided").

Your SDL code could look like this:
  STATE idle;
    INPUT sig;
      PROVIDED is_sig_fired = FALSE;
      TASK is_sig_fired := TRUE;
    INPUT ack;
      PROVIDED is_sig_fired = TRUE;

A screenshot is included to shows how you can do that with 3 or more

I hope this helps


> -----Original Message-----
> From: []On
> Behalf Of Juan Pablo Albaladejo (Javier)
> Sent: Wednesday, October 13, 1999 3:27 AM
> To:
> Subject: SDL-news: Priority of signals
> The originator of this message is responsible for its content.
> -----From (Juan Pablo Albaladejo (Javier)) to sdlnews -----
> Dear sirs:
> Last monday I maked you a question, but I forgot to include my own
> e-mail address in the text. That is the reason why I send my
> message once more,
> but now with the address to which you can send your answer in
> case you can help
> me:
> This is my question:
> I am interested in definig the priority of three signals
> that must be
> received in one state. I know that there is a symbol called
> priority input that
> enables reception of prioritised signals, but it allows only two
> priority levels
> and I would like to work with three levels.
> I wold be very grateful if you could send me information on
> how can I
> define the priority of signals. Either if it must be done when
> definig the
> signals or if it is a matter of their reception.
> Thanks in advance.
> Juan Pablo.

This archive was generated by hypermail 2a23 : Sun Jun 16 2013 - 10:41:41 GMT