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

Subversion Repositories core_arm

[/] [core_arm/] [trunk/] [vhdl/] [bus/] [c_model/] [ahbarb.h] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 tarookumic
#ifndef AHBARB_H
2
#define AHBARB_H
3
 
4
#define AHBARB_MAXMASTER 2
5
#define AHBARB_MAXSLAVE  2
6
 
7
 
8
typedef int (* ahb_write)();
9
typedef int (* ahb_read)();
10
 
11
typedef struct _ahb_slave {
12
  ahb_write write;
13
  ahb_read read;
14
 
15
  unsigned int start, end;
16
  void *c;
17
} ahb_slave;
18
 
19
typedef struct _ahbarb {
20
  ahb_slave slaves[AHBARB_MAXSLAVE];
21
} ahbarb;
22
 
23
 
24
#endif

powered by: WebSVN 2.1.0

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