[an error occurred while processing this directive]
|
library IEEE;
use IEEE.numeric_std.all;
entity prov_n is
Port ( a : in unsigned(15 downto 0);
s : in unsigned(3 downto 0);
o0 : out unsigned(15 downto 0);
o1 : out unsigned(15 downto 0));
end prov_n;
architecture Behavioral of prov_n is
begin
o0 <= shift_right(a,to_integer(s));
o1 <= a sll to_integer(s);
end Behavioral;
E-mail: info@telesys.ru