[an error occurred while processing this directive] [an error occurred while processing this directive]
VHDL типа 1533АП6 не работает.Что не так?Подскажите please>>
(«Телесистемы»: Конференция «Языки описания аппаратуры (VHDL и др.))
[an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive]

Отправлено Борода 28 января 2002 г. 00:26

Подскажите пожалуйста новичку ,что не так в этой модели типа 1533АП6.cod-разрешение (выход из Z-состояния) coz-направление передачи.a,b - входы/выходы.Test_bench не проходит.

library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;

entity ap6 is
Port (cod,coz: in std_logic;
a,b:inout std_logic_vector(7 downto 0));
end ap6;

architecture Behavioral of ap6 is
signal n_state,p_state: std_logic_vector(7 downto 0);

begin

a <= n_state when (coz = '0')
else "ZZZZZZZZ";
b <= p_state when (coz = '0')
else "ZZZZZZZZ";

process(cod,coz)

begin

if (cod = '1') then p_state <= a;
if (cod = '1') then n_state <= b;

end if;
end if;
end process;
end Behavioral;

Составить ответ  |||  Конференция  |||  Архив

Ответы


Отправка ответа

Имя (обязательно): 
Пароль: 
E-mail: 

Тема (обязательно):
Сообщение:

Ссылка на URL: 
Название ссылки: 

URL изображения: 


Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru