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

Subversion Repositories core_arm

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 tarookumic
#ifndef APBMST_H
2
#define APBMST_H
3
 
4
#define APBMST_MAXSLAVE  2
5
 
6
 
7
typedef int (* apb_write)();
8
typedef int (* apb_read)();
9
 
10
typedef struct _apb_slave {
11
  apb_write write;
12
  apb_read read;
13
 
14
  unsigned int start, end;
15
  void *c;
16
} apb_slave;
17
 
18
typedef struct _apbmst {
19
  apb_slave slaves[APBMST_MAXSLAVE];
20
} apbmst;
21
 
22
#endif

powered by: WebSVN 2.1.0

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