1
2-- Copyright (C) 2001 Bill Billowitch.
3
4-- Some of the work to develop this test suite was done with Air Force
5-- support.  The Air Force and Bill Billowitch assume no
6-- responsibilities for this software.
7
8-- This file is part of VESTs (Vhdl tESTs).
9
10-- VESTs is free software; you can redistribute it and/or modify it
11-- under the terms of the GNU General Public License as published by the
12-- Free Software Foundation; either version 2 of the License, or (at
13-- your option) any later version.
14
15-- VESTs is distributed in the hope that it will be useful, but WITHOUT
16-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17-- FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
18-- for more details.
19
20-- You should have received a copy of the GNU General Public License
21-- along with VESTs; if not, write to the Free Software Foundation,
22-- Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23
24-- ---------------------------------------------------------------------
25--
26-- $Id: tc64.vhd,v 1.2 2001-10-26 16:29:58 paw Exp $
27-- $Revision: 1.2 $
28--
29-- ---------------------------------------------------------------------
30
31ENTITY c04s03b01x02p02n01i00064ent IS
32END c04s03b01x02p02n01i00064ent;
33
34ARCHITECTURE c04s03b01x02p02n01i00064arch OF c04s03b01x02p02n01i00064ent IS
35  signal C1 : Boolean      := TRUE;          -- No_failure_here
36  signal C2 : bit          := '1';          -- No_failure_here
37  signal C3 : integer      := 12345;          -- No_failure_here
38  signal C4 : positive     := 54321;          -- No_failure_here
39  signal C5 : natural      := 12121;          -- No_failure_here
40  signal C6 : real         := 1.345;          -- No_failure_here
41  signal C7 : character    := 'N';          -- No_failure_here
42  signal C8 : time         := 100 ns;          -- No_failure_here
43  signal C9 : String    (1 to 8)    := "AAAAAAAA";  -- No_failure_here
44  signal C10 : bit_vector(0 to 7)    := "11111111";  -- No_failure_here
45BEGIN
46  TESTING: PROCESS
47  BEGIN
48    wait for 10 ns;
49    assert NOT(    C1   = TRUE   and
50                   C2   = '1'   and
51                   C3   = 12345   and
52                   C4   = 54321   and
53                   C5   = 12121   and
54                   C6   = 1.345   and
55                   C7   = 'N'   and
56                   C8   = 100 ns   and
57                   C9   = "AAAAAAAA"   and
58                   C10   = "11111111"   )
59      report "***PASSED TEST:c04s03b01x02p02n01i00064"
60      severity NOTE;
61    assert (    C1   = TRUE   and
62                C2   = '1'   and
63                C3   = 12345   and
64                C4   = 54321   and
65                C5   = 12121   and
66                C6   = 1.345   and
67                C7   = 'N'   and
68                C8   = 100 ns   and
69                C9   = "AAAAAAAA"   and
70                C10   = "11111111"   )
71      report "***FAILED TEST: c04s03b01x02p02n01i00064 - Syntactic test for signal assignment failed."
72      severity ERROR;
73    wait;
74  END PROCESS TESTING;
75
76END c04s03b01x02p02n01i00064arch;
77