library IEEE, DWARE;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;
use DWARE.DW_dp_functions.all;
-- DWARE.DW_dp_functions_arith package if IEEE.std_logic_arith is used

entity DWF_dp_rndsat_test is
  port (a, b, c : in  signed(7 downto 0);
        z       : out signed(7 downto 0));
end DWF_dp_rndsat_test;

architecture rtl of DWF_dp_rndsat_test is
begin
  z <= DWF_dp_rndsat (a * b, 11, 4, DW_dp_rnd_near_even) + c;
end rtl;