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

Subversion Repositories funbase_ip_library

[/] [funbase_ip_library/] [trunk/] [TUT/] [soc/] [hibi_pe_dma_example_1/] [1.0/] [src/] [cpu2/] [hpd_config.c] - Blame information for rev 145

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 145 lanttu
/*
2
 * @file   hpd_config.c
3
 * @author Lasse Lehtonen
4
 * @date   2012-02-17
5
 *
6
 * @brief Implements HIBI_PE_DMA interface configuration information
7
 * structures.
8
 *
9
 */
10
 
11
#include "hpd_config.h"
12
#include "system.h"
13
 
14
 
15
HPD_rx_stream hpd_rx_streams_0[4] =
16
  {
17
    {(0x80000000 | SHARED_MEM_2_BASE) + 0x200, 0x100, 0x0000400, 0},
18
    {(0x80000000 | SHARED_MEM_2_BASE) + 0x300, 0x100, 0x0000401, 0},
19
    {(0x80000000 | SHARED_MEM_2_BASE) + 0x400, 0x100, 0x0000402, 0},
20
    {(0x80000000 | SHARED_MEM_2_BASE) + 0x500, 0x100, 0x0000403, 0}
21
  };
22
 
23
HPD_rx_packet hpd_rx_packets_0[4] =
24
  {
25
    {(0x80000000 | SHARED_MEM_2_BASE) + 0x600, 0x100, 0x0000404},
26
    {(0x80000000 | SHARED_MEM_2_BASE) + 0x700, 0x100, 0x0000405},
27
    {(0x80000000 | SHARED_MEM_2_BASE) + 0x800, 0x010, 0x0000406},
28
    {(0x80000000 | SHARED_MEM_2_BASE) + 0x900, 0x100, 0x0000407}
29
  };
30
 
31
 
32
 
33
HPD_iface hpd_ifaces[NUM_OF_HIBI_PE_DMAS] = {
34
  {(0x80000000 | HIBI_PE_DMA_2_BASE), (0x80000000 | SHARED_MEM_2_BASE),
35
   0x20, 0x00000001, 2, 4, 4, hpd_rx_streams_0, hpd_rx_packets_0}
36
};

powered by: WebSVN 2.1.0

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