← Files Computable Systems EngineeringARCHIVED FILE

examples/sysml/ack.sysml

673 Bytes · Dec 3, 2026 · 18:30 UTC

↓ Download file

package AckExample {
    private import ScalarValues::Boolean;

    doc cseClock /*
    CSE-CLOCK/2.0
    period 1 second
    */

    part def Controller {
        in attribute request : Boolean;
        out attribute acknowledged : Boolean;
    }
    part controller : Controller;

    requirement <R_ACK> TimelyAcknowledgment {
        doc cseSource /*
        CSE-SOURCE/2.0
        SYN-01
        */
        subject unit = controller;
        require constraint responseTime {
            doc cse /*
            CSE-REQ/2.0
            Upon unit.request = true, unit shall within 2 seconds
            satisfy unit.acknowledged = true.
            */
        }
    }
}

SHA-256: 09b9b38851ee6b91c7f97de0ecd847f053dc6e12d6721b6b0d713daea2353807