Queue Example

Architecture Body (Cont.)


QUO1 : queue1
        GENERIC MAP (100000, "Q1", LIFO)
        PORT MAP (arc3, arc4);
    FO1 : fork1
        GENERIC MAP (unif, 3, "F1", 0, (0.0001, 1.0))
        PORT MAP (arc4, out_arc(1)=>5, out_arc(2)=>arc6,
                  out_arc(3)=>arc7);
    SE3 : server1
        GENERIC MAP (1 fs, "S3", unif, single_token, 1, 5, (20.0, 30.0))
        PORT MAP (arc5, arc8);
                ..................
    JO2 : join1
        GENERIC MAP (3, "J2")
        PORT MAP (in_arc(1)=>arc8, in_arc(2)=>arc9, in_arc(3)=>arc10,
                  out_arc=>arc11);
    SI6 : sink1
        GENERIC MAP ("S6")
        PORT MAP (arc11);
END example;