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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [processor/] [VHDL/] [ext_modules/] [ext_key_matrix/] [ext_key_matrix_pkg.vhd] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 jlechner
-----------------------------------------------------------------------
2
-- This file is part of SCARTS.
3
-- 
4
-- SCARTS is free software: you can redistribute it and/or modify
5
-- it under the terms of the GNU General Public License as published by
6
-- the Free Software Foundation, either version 3 of the License, or
7
-- (at your option) any later version.
8
-- 
9
-- SCARTS is distributed in the hope that it will be useful,
10
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
11
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
-- GNU General Public License for more details.
13
-- 
14
-- You should have received a copy of the GNU General Public License
15
-- along with SCARTS.  If not, see <http://www.gnu.org/licenses/>.
16
-----------------------------------------------------------------------
17
 
18
 
19
 
20
 
21
LIBRARY IEEE;
22
use IEEE.std_logic_1164.all;
23
 
24
use work.scarts_pkg.all;
25
 
26
 
27
package ext_key_matrix_pkg is
28
 
29
 
30
 
31
  component ext_key_matrix
32
    generic
33
    (
34
      CLK_FREQ  : integer range 1 to integer'high;
35
      COLUMN_COUNT       : integer range 1 to integer'high;
36
      ROW_COUNT          : integer range 1 to integer'high
37
    );
38
    port
39
    (
40
      clk       : in std_logic;
41
      extsel    : in std_ulogic;
42
      exti      : in  module_in_type;
43
      exto      : out module_out_type;
44
      columns   : out std_logic_vector(COLUMN_COUNT - 1 downto 0);
45
      rows      : in  std_logic_vector(ROW_COUNT - 1 downto 0)
46
    );
47
  end component ext_key_matrix;
48
 
49
 
50
end ext_key_matrix_pkg;
51
 

powered by: WebSVN 2.1.0

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