ENTITY and_2input IS
PORT (a, b: IN BIT;
c: OUT BIT);
END and_2input;
ARCHITECTURE foreign_model OF and_2input IS
ATTRIBUTE FOREIGN OF foreign_model:
ARCHITECTURE IS ffand_2input(A, B, C);
BEGIN
END foreign_model;
The foreign_model architecture is declared as FOREIGN
No statements are needed in the architecture body as they will
never be executed
The implementation calls the ffand_2input function to perform the
actions for the and_2input entity