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/] [cpu1/] [hpd_config.c] - Rev 145
Compare with Previous | Blame | View Log
/* * @file hpd_config.c * @author Lasse Lehtonen * @date 2012-02-17 * * @brief Implements HIBI_PE_DMA interface configuration information * structures. * */ #include "hpd_config.h" #include "system.h" /* NIOS specific - for others get the information from somewhere ... */ HPD_rx_stream hpd_rx_streams_0[4] = { {(0x80000000 | SHARED_MEM_1_BASE) + 0x200, 0x100, 0x0000200, 0}, {(0x80000000 | SHARED_MEM_1_BASE) + 0x300, 0x018, 0x0000201, 0}, {(0x80000000 | SHARED_MEM_1_BASE) + 0x400, 0x100, 0x0000202, 0}, {(0x80000000 | SHARED_MEM_1_BASE) + 0x500, 0x100, 0x0000203, 0} }; HPD_rx_packet hpd_rx_packets_0[4] = { {(0x80000000 | SHARED_MEM_1_BASE) + 0x600, 0x100, 0x0000204}, {(0x80000000 | SHARED_MEM_1_BASE) + 0x700, 0x100, 0x0000205}, {(0x80000000 | SHARED_MEM_1_BASE) + 0x800, 0x100, 0x0000206}, {(0x80000000 | SHARED_MEM_1_BASE) + 0x900, 0x010, 0x0000207} }; HPD_iface hpd_ifaces[NUM_OF_HIBI_PE_DMAS] = { {(0x80000000 | HIBI_PE_DMA_1_BASE), (0x80000000 | SHARED_MEM_1_BASE), 0x200, 0x00000406, 2, 4, 4, hpd_rx_streams_0, hpd_rx_packets_0} };