-- Copyright 1992-1999 Future Parallel -- Source: T:\HWDEV\GENERIC\VHDL\integer_extended.bdy -- VLSI Design Lab -- Designer: Tim Pagden -- Development Notes: T:\HWDEV\GENERIC\VHDL\integer_extended_bdy.dnh -- 04.04.1999 TP 0.0 created by 'create_VHDL_package_body' library vfp; package body integer_extended is -- use IEEE.std_logic_1164.all; use vfp.integer_plus.all; -- LIBRARY.PACKAGE.PROCEDURE (FORMAL_TYPE, FORMAL_TYPE); -- procedure PROCEDURE ( -- a: in TYPE; -- b: out TYPE -- ) is -- declarative part -- begin -- statement part -- end PROCEDURE; -- conversion functions -- RETURN_TYPE := LIBRARY.integer_extended.to_TYPE (FORMAL_TYPE, FORMAL_TYPE); -- function to_TYPE (a, b: TYPE) return TYPE is -- declarative part -- begin -- statement part -- end to_TYPE; -- operators -- RETURN_TYPE := LIBRARY.integer_extended."op" (FORMAL_TYPE, FORMAL_TYPE); -- function "op" (a, b: TYPE) return TYPE is -- declarative part -- begin -- statement part -- end "op"; -- general purpose functions -- class-specific functions -- debug functions procedure debug ( item : string; value : integer ) is use vfp.string_plus.all; begin assert FALSE report "DEBUG: " & item & " = " & to_string(value) severity note; end debug; -- hardware functions end integer_extended;