aboutsummaryrefslogtreecommitdiffstats
path: root/src/psl/psl-hash.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-01-27 05:10:10 +0100
committerTristan Gingold <tgingold@free.fr>2016-01-27 18:49:24 +0100
commit506d49798a78f67735c9a529eb849c152ced1e4b (patch)
tree77801cc9fe89451eb311e29d4e570a427bc4206e /src/psl/psl-hash.adb
parent2eb85a0a21effc2e7ad957216178055cb98a2300 (diff)
downloadghdl-506d49798a78f67735c9a529eb849c152ced1e4b.tar.gz
ghdl-506d49798a78f67735c9a529eb849c152ced1e4b.tar.bz2
ghdl-506d49798a78f67735c9a529eb849c152ced1e4b.zip
psl: use Tables instead of GNAT.Table, regenerate, add copyrights.
Diffstat (limited to 'src/psl/psl-hash.adb')
-rw-r--r--src/psl/psl-hash.adb25
1 files changed, 21 insertions, 4 deletions
diff --git a/src/psl/psl-hash.adb b/src/psl/psl-hash.adb
index 62744b336..3333066bb 100644
--- a/src/psl/psl-hash.adb
+++ b/src/psl/psl-hash.adb
@@ -1,4 +1,22 @@
-with GNAT.Table;
+-- PSL - HDL interface.
+-- Copyright (C) 2002-2016 Tristan Gingold
+--
+-- GHDL is free software; you can redistribute it and/or modify it under
+-- the terms of the GNU General Public License as published by the Free
+-- Software Foundation; either version 2, or (at your option) any later
+-- version.
+--
+-- GHDL is distributed in the hope that it will be useful, but WITHOUT ANY
+-- WARRANTY; without even the implied warranty of MERCHANTABILITY or
+-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+-- for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with GHDL; see the file COPYING. If not, write to the Free
+-- Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+-- 02111-1307, USA.
+
+with Tables;
package body PSL.Hash is
@@ -12,12 +30,11 @@ package body PSL.Hash is
Hash_Size : constant Index_Type := 127;
- package Cells is new GNAT.Table
+ package Cells is new Tables
(Table_Component_Type => Cell_Record,
Table_Index_Type => Index_Type,
Table_Low_Bound => 0,
- Table_Initial => 256,
- Table_Increment => 100);
+ Table_Initial => 256);
procedure Init is
begin