diff options
Diffstat (limited to 'src/psl/psl-hash.adb')
-rw-r--r-- | src/psl/psl-hash.adb | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/src/psl/psl-hash.adb b/src/psl/psl-hash.adb index 62744b3..3333066 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 |