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/] [cpu0/] [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" /* NIOS specific - for others get the information
13
                       from somewhere ... */
14
 
15
HPD_rx_stream hpd_rx_streams_0[4] =
16
  {
17
    {(0x80000000 | SHARED_MEM_0_BASE) + 0x200, 0x100, 0x0000000, 0},
18
    {(0x80000000 | SHARED_MEM_0_BASE) + 0x300, 0x018, 0x0000001, 0},
19
    {(0x80000000 | SHARED_MEM_0_BASE) + 0x400, 0x100, 0x0000002, 0},
20
    {(0x80000000 | SHARED_MEM_0_BASE) + 0x500, 0x100, 0x0000003, 0}
21
  };
22
 
23
HPD_rx_packet hpd_rx_packets_0[4] =
24
  {
25
    {(0x80000000 | SHARED_MEM_0_BASE) + 0x600, 0x100, 0x0000004},
26
    {(0x80000000 | SHARED_MEM_0_BASE) + 0x700, 0x100, 0x0000005},
27
    {(0x80000000 | SHARED_MEM_0_BASE) + 0x800, 0x100, 0x0000006},
28
    {(0x80000000 | SHARED_MEM_0_BASE) + 0x900, 0x100, 0x0000007}
29
  };
30
 
31
 
32
HPD_iface hpd_ifaces[NUM_OF_HIBI_PE_DMAS] = {
33
  {(0x80000000 | HIBI_PE_DMA_0_BASE), (0x80000000 | SHARED_MEM_0_BASE),
34
   0x200, 0x00000207, 2, 4, 4, hpd_rx_streams_0, hpd_rx_packets_0}
35
};

powered by: WebSVN 2.1.0

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