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

Subversion Repositories mips_enhanced

[/] [mips_enhanced/] [trunk/] [grlib-gpl-1.0.19-b3188/] [lib/] [openchip/] [charlcd/] [charlcd.vhd] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dimamali
----------------------------------------------------------------------------
2
--  This file is a part of the GRLIB VHDL IP LIBRARY
3
--  Copyright (C) 2004 GAISLER RESEARCH
4
--
5
--  This program is free software; you can redistribute it and/or modify
6
--  it under the terms of the GNU General Public License as published by
7
--  the Free Software Foundation; either version 2 of the License, or
8
--  (at your option) any later version.
9
--
10
--  See the file COPYING for the full details of the license.
11
--
12
-----------------------------------------------------------------------------
13
-- package:     charlcd
14
-- File:        charlcd.vhd
15
-- Author:      Antti Lukats, OpenChip
16
-- Description: Character LCD types and components
17
------------------------------------------------------------------------------
18
 
19
library ieee;
20
use ieee.std_logic_1164.all;
21
library grlib;
22
use grlib.amba.all;
23
 
24
package charlcd is
25
 
26
type charlcd_in_type is record
27
  d_in          : std_logic_vector(7 downto 0);
28
end record;
29
 
30
type charlcd_out_type is record
31
  d_out         : std_logic_vector(7 downto 0);
32
  d_out_oe      : std_logic;
33
  en            : std_logic_vector(3 downto 0);
34
  rs            : std_logic;
35
  r_wn          : std_logic;
36
  backlight_en  : std_logic;
37
 
38
end record;
39
 
40
component apbcharlcd
41
  generic (
42
    pindex  : integer := 0;
43
    paddr   : integer := 0;
44
    pmask   : integer := 16#fff#;
45
    pirq    : integer := 0);
46
  port (
47
    rst     : in  std_ulogic;
48
    clk     : in  std_ulogic;
49
    apbi    : in  apb_slv_in_type;
50
    apbo    : out apb_slv_out_type;
51
    lcdi   : in  charlcd_in_type;
52
    lcdo   : out charlcd_out_type);
53
end component;
54
 
55
end;

powered by: WebSVN 2.1.0

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