-- +------------------------------------ -- | Copyright 1992-1997 Future Parallel -- | VLSI Design Lab -- | Library: VFP -- | Designer: Tim Pagden -- | Opened: 28 Dec 1997 -- +------------------------------------ library IEEE; package body string_class is use IEEE.std_logic_1164.all; -- extensions to std.standard.character and std.standard.string -- character and string defined in std.standard -- text operators -- defined in std.standard -- general purpose functions -- none yet defined -- software functions -- none yet defined -- text functions -- function split (a: string; str_array: string_list; separator: string) return integer; -- 15.11.95 -- function is_vowel (a: character) return boolean; -- 28.12.97 -- function ordinate (a: character) return integer; -- 28.12.97 -- conversion functions -- function to_string (a: std_ulogic_vector) return string; -- 29.11.95 -- function to_string (a: std_logic_vector) return string; -- 03.02.95 -- function to_string (a: twos_complement) return string; -- 29.11.95 -- mixed operators -- function "&" (a: string; b: integer) return string; -- function "&" (a: string; b: std_logic_vector) return string; end string_class;