OpenCores
URL https://opencores.org/ocsvn/line_codes/line_codes/trunk

Subversion Repositories line_codes

[/] [line_codes/] [trunk/] [rtl/] [vhdl/] [ami_dec.vhd] - Blame information for rev 8

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 ribamar
 
2
-- implementation of the AMI decoder. 
3
 
4
entity ami_dec is
5
        port (
6
        clr_bar,
7
        e0, e1      : in    bit; -- inputs.
8
        s           : out   bit  -- output.
9
        );
10
end ami_dec;
11
 
12
architecture behaviour of ami_dec is
13
begin
14
     process (e0, e1, clr_bar) begin
15
                if (clr_bar = '0')then
16
                        s <= '0';
17
                end if;
18
                s <=  e0 or e1;
19
     end process;
20
end behaviour;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.