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_04 is
21
22  attribute cell_name : string;
23
24end package inline_04;
25
26
27
28entity flipflop is
29
30end entity flipflop;
31
32
33
34use work.inline_04.all;
35
36-- code from book:
37
38architecture std_cell of flipflop is
39
40  attribute cell_name of std_cell : architecture is "DFF_SR_QQNN";
41
42  -- . . .       -- other declarations
43
44begin
45  -- . . .
46end architecture std_cell;
47
48-- end of code from book
49
50
51
52-- code from book:
53
54package model_utilities is
55
56  attribute optimize : string;
57  attribute optimize of model_utilities : package is "level_4";
58
59  -- . . .
60
61end package model_utilities;
62
63-- end of code from book
64