Novo

Forum kao aplikacija na telefonu

Dodajte forum na početni ekran i koristite ga kao aplikaciju, sa menijem na dnu ekrana.

  • 0 odgovora
  • 2.402 pregleda
VHDL - Wait / Sensitivity list 26.03.2008. u 16:28 · pre 226 meseci #1
Imam sledeci problem:

Imam zadatak da umjesro sensitivity list u processu stavim WAIT Klauze.


implementirao sam zadatak na sledeci nacin

Code:

entity Mux41 is
    port( x0, x1, x2, x3: in std_logic;
        sel: in std_logic_vector(1 downto 0);
        y: out std_logic);
end Mux41;

architecture Behavioral of Mux41 is
begin
process
begin
    wait on sel, x0, x1, x2, x3;
    case sel is            
        when "00" => y<= x0;
        when "01" => y<= x1;
        when "10" => y<= x2;
        when others  => y<= x3;
    end case;
end process;
end Behavioral;


ali kad pokusam da napravim RTL shematic ili Test Bench javi mi sledecu poruku

Bad condition in wait statement, or only one clock per process

sta nije u redu sa uslovom u wait?
Potpis
Apartmani na Jahorini http://www.apartmanimaja.com
Prijavite se da biste odgovorili u ovoj temi.PrijavaRegistracija

Premeštanje teme