H
Hendrik Greving
Guest
hi,
whats wrong here? is "not" together with signed/unsigned wrong?
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_arith.all;
-- sutest
entity sutest is
port (
IN0 : in unsigned(31 downto 0);
OUT0 : out unsigned(31 downto 0)
);
end sutest;
architecture sutest_arch of sutest is
begin
process( IN0 )
begin
OUT0 <= (NOT IN0);
end process;
end sutest_arch;
Regards,
Hen
whats wrong here? is "not" together with signed/unsigned wrong?
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_arith.all;
-- sutest
entity sutest is
port (
IN0 : in unsigned(31 downto 0);
OUT0 : out unsigned(31 downto 0)
);
end sutest;
architecture sutest_arch of sutest is
begin
process( IN0 )
begin
OUT0 <= (NOT IN0);
end process;
end sutest_arch;
Regards,
Hen