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

Subversion Repositories riscv_vhdl

[/] [riscv_vhdl/] [trunk/] [examples/] [common/] [axi_maps.h] - Blame information for rev 5

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 sergeykhbr
/******************************************************************************
2
 * @file
3
 * @copyright Copyright 2015 GNSS Sensor Ltd. All right reserved.
4
 * @author    Sergey Khabarov - sergeykhbr@gmail.com
5
 * @brief     AXI4 device mapping
6
 * @details   Don't use this address directly use Kernel interface to get
7
 *            detected device interface.
8
******************************************************************************/
9
 
10
#ifndef __AXI_MAPS_H__
11
#define __AXI_MAPS_H__
12
 
13
#include <inttypes.h>
14
#include "axi_const.h"
15
#include "maps/map_pnp.h"
16
#include "maps/map_gpio.h"
17
#include "maps/map_gptimers.h"
18
#include "maps/map_uart.h"
19
#include "maps/map_irqctrl.h"
20
#include "maps/map_rfctrl.h"
21
#include "maps/map_gnssengine.h"
22
#include "maps/map_ethmac.h"
23
 
24
#define ADDR_NASTI_SLAVE_FWIMAGE    0x00100000
25
#define ADDR_NASTI_SLAVE_SRAM       0x10000000
26
#define ADDR_NASTI_SLAVE_GPIO       0x80000000
27
#define ADDR_NASTI_SLAVE_UART1      0x80001000
28
#define ADDR_NASTI_SLAVE_IRQCTRL    0x80002000
29
#define ADDR_NASTI_SLAVE_GNSSENGINE 0x80003000
30
#define ADDR_NASTI_SLAVE_RFCTRL     0x80004000
31
#define ADDR_NASTI_SLAVE_GPTIMERS   0x80005000
32
#define ADDR_NASTI_SLAVE_FSEGPS     0x8000a000
33
#define ADDR_NASTI_SLAVE_ETHMAC     0x80040000
34
#define ADDR_NASTI_SLAVE_PNP        0xfffff000
35
 
36
 
37
// Interrupt pins assignemts:
38
#define CFG_IRQ_UNUSED      0
39
#define CFG_IRQ_UART1       1
40
#define CFG_IRQ_ETHMAC      2
41
#define CFG_IRQ_GPTIMERS    3
42
#define CFG_IRQ_MISS_ACCESS 4
43
#define CFG_IRQ_GNSSENGINE  5
44
#define CFG_IRQ_TOTAL       6
45
 
46
 
47
#endif  // __AXI_MAPS_H__

powered by: WebSVN 2.1.0

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