[an error occurred while processing this directive]
|
А точнее процесс синтеза проходит, на выходе только Warning-и типа: library IEEE; -- Uncomment the following lines to use the declarations that are entity corr1 is architecture Behavioral of corr1 is begin reg: process (S1,S2,CLK) end process reg; XOR_S <= not (Q_S1 xor Q_S2);
E-mail:
info@telesys.ru
WARNING:Xst:646 - Signal
WARNING:Xst:647 - Input
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
--use IEEE.STD_NUMERIC_STD.ALL;
-- provided for instantiating Xilinx primitive components.
--library UNISIM;
--use UNISIM.VComponents.all;
Port ( S1 : in std_logic;
S2 : in std_logic;
CLK : in std_logic;
R : out std_logic_vector(0 to 9));
end corr1;
signal Q_S1 : std_logic_vector(0 to 62);
signal Q_S2 : std_logic_vector(0 to 62);
signal BUF_S1 : std_logic_vector(0 to 30);
signal BUF_S2 : std_logic_vector(0 to 30);
signal xor_s : std_logic_vector(0 to 62);
--Q_S1 <= (others => '0');
--Q_S2 <= (others => '0');
begin
--wait on CLK, RESET;
--wait until CLK'event and CLK='1';
if (CLK'event and CLK='1') then
case S1 is
when '1' =>
BUF_S1 <= (others => '1');
Q_S1 <= BUF_S1 & '1' & Q_S1(32 to 62);
when others =>
BUF_S1 <= (others => '0');
Q_S1 <= BUF_S1 & '0' & Q_S1(32 to 62);
end case;
case S2 is
when '1' =>
BUF_S2 <= (others => '1');
Q_S2 <= Q_S2(0 to 30) & BUF_S2;
when others =>
BUF_S2 <= (others => '0');
Q_S2 <= Q_S2(0 to 30) & BUF_S2;
end case;
end if;
--R(0) <= Q_S1;
--R(1) <= Q_S2;
end Behavioral;
Премного благодарен за внимание...
Ответы