Example 4: VHDL code (3) WHEN gnt3 => IF r(3) = 1 THEN y <= gnt3 ; ELSE y <= Idle ; END IF ; END CASE ; END IF ; END PROCESS ; g(1) <= 1 WHEN y = gnt1 ELSE 0 ; g(2) <= 1 WHEN y = gnt2 ELSE 0 ; g(3) <= 1 WHEN y = gnt3 ELSE 0 ; END Behavior ;
{}