---------------------------------------------------------------------------- -- const_pkg.vhd -- Constants Package -- Version 1.0 -- -- Copyright (C) 2017 H.Poetzl -- -- This program 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 of the License, or (at your option) any later version. -- ---------------------------------------------------------------------------- library IEEE; use IEEE.std_logic_1164.ALL; use work.func_pkg.ALL; package const_pkg is constant CONST_A : integer := 250; constant CONST_B : integer := 10; constant CONST_C : integer := f_div_ceil(CONST_A, CONST_B); end package;