AHDL



         


, GND. , .

daisy.tdf, , -. . , .

SUBDESIGN daisy

(

/local_request : INPUT;

/local_grant : OUTPUT;

/request_in : INPUT; % %

/request_out : OUTPUT; % %

/grant_in : INPUT; % %

/grant_out : OUTPUT;% %

)

BEGIN

DEFAULTS

/local_grant = VCC;% %

/request_out=VCC;

% %

/grant_out = VCC; % VCC %

END DEFAULTS;

IF /request_in == GND # /local_request == GND THEN

/request_out = GND;

END IF;

IF /grant_in == GND THEN

IF /local_request == GND THEN

/local_grant = GND;

ELSIF /request_in == GND THEN

/grant_out = GND;

END IF;

END IF;

END;

. Altera , , , , "n" (/).

If Then

, .. GND. , , If Then.