1 2-- Copyright (C) 2002 Morgan Kaufmann Publishers, Inc 3 4-- This file is part of VESTs (Vhdl tESTs). 5 6-- VESTs is free software; you can redistribute it and/or modify it 7-- under the terms of the GNU General Public License as published by the 8-- Free Software Foundation; either version 2 of the License, or (at 9-- your option) any later version. 10 11-- VESTs is distributed in the hope that it will be useful, but WITHOUT 12-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14-- for more details. 15 16-- You should have received a copy of the GNU General Public License 17-- along with VESTs; if not, write to the Free Software Foundation, 18-- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 20package inline_10 is 21 22 -- code from book 23 24 attribute foreign : string; 25 26 -- end code from book 27 28end package inline_10; 29 30 31 32entity and2 is 33end entity and2; 34 35 36-- code from book 37 38architecture accelerated of and2 is 39 attribute foreign of accelerated : architecture is 40 "accelerate/function:and_2in/nocheck"; 41begin 42end architecture accelerated; 43 44-- end code from book 45