OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [ada/] [acats/] [tests/] [a/] [ad7001b.ada] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
-- AD7001B.ADA
2
 
3
--                             Grant of Unlimited Rights
4
--
5
--     Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
6
--     F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained 
7
--     unlimited rights in the software and documentation contained herein.
8
--     Unlimited rights are defined in DFAR 252.227-7013(a)(19).  By making 
9
--     this public release, the Government intends to confer upon all 
10
--     recipients unlimited rights  equal to those held by the Government.  
11
--     These rights include rights to use, duplicate, release or disclose the 
12
--     released technical data and computer software in whole or in part, in 
13
--     any manner and for any purpose whatsoever, and to have or permit others 
14
--     to do so.
15
--
16
--                                    DISCLAIMER
17
--
18
--     ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
19
--     DISCLOSED ARE AS IS.  THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED 
20
--     WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
21
--     SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE 
22
--     OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
23
--     PARTICULAR PURPOSE OF SAID MATERIAL.
24
--*
25
-- OBJECTIVE:
26
--     CHECK THAT A DECLARATION IN PACKAGE SYSTEM IS ACCESSIBLE
27
--     IF A WITH CLAUSE NAMING SYSTEM IS PROVIDED FOR THE UNIT
28
--     CONTAINING THE REFERENCES.
29
 
30
-- HISTORY:
31
--     JET 09/08/87  CREATED ORIGINAL TEST.
32
--     VCL 03/30/88  CREATED NAMED NUMBERS WITH VALUES OF
33
--                   SYSTEM.MIN_INT AND SYSTEM.MAX_INT. DELETED
34
--                   ASSIGNMENTS OF MIN_INT AND MAX_INT TO INTEGER
35
--                   VARIABLES.
36
 
37
WITH SYSTEM;
38
WITH REPORT;  USE REPORT;
39
 
40
PROCEDURE AD7001B IS
41
 
42
     CHECK_ADDRESS  : SYSTEM.ADDRESS;
43
     CHECK_NAME     : SYSTEM.NAME := SYSTEM.SYSTEM_NAME;
44
     CHECK_PRIORITY : SYSTEM.PRIORITY;
45
     I              : INTEGER;
46
     F              : FLOAT;
47
     SMALL          : CONSTANT := SYSTEM.MIN_INT;
48
     LARGE          : CONSTANT := SYSTEM.MAX_INT;
49
     MEM            : CONSTANT := SYSTEM.MEMORY_SIZE;
50
 
51
BEGIN
52
 
53
     TEST ("AD7001B", "CHECK THAT A DECLARATION IN PACKAGE " &
54
                      "SYSTEM IS ACCESSIBLE IF A WITH CLAUSE " &
55
                      "NAMING SYSTEM IS PROVIDED FOR THE UNIT " &
56
                      "CONTAINING THE REFERENCES");
57
 
58
     I := SYSTEM.STORAGE_UNIT;
59
     I := SYSTEM.MAX_DIGITS;
60
     I := SYSTEM.MAX_MANTISSA;
61
     F := SYSTEM.FINE_DELTA;
62
     F := SYSTEM.TICK;
63
 
64
     RESULT;
65
 
66
END AD7001B;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.