Dies ist eine alte Version des Dokuments!


library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
 
entity eq1 is
    Port ( i0 : in  STD_LOGIC;
           i1 : in  STD_LOGIC;
           eq : out  STD_LOGIC);
end eq1;
 
architecture sop_arch of eq1 is
  signal p0, p1: std_logic;
begin
  eq <= p0 or p1;
 
  p0 <= (not i0) and (not i1);
  p1 <= i0 and i1;
end sop_arch;
 
fpga/comparator/eq1.vhd.1242994183.txt.gz · Zuletzt geändert: 2010/01/14 23:31 (Externe Bearbeitung)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki