OpenCores
URL https://opencores.org/ocsvn/1g_ethernet_dpi/1g_ethernet_dpi/trunk

Subversion Repositories 1g_ethernet_dpi

[/] [1g_ethernet_dpi/] [trunk/] [sw/] [dev/] [test_main/] [src/] [_hdl/] [dpi/] [simple.h] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 kuzmi4
/* MTI_DPI */
2
#ifndef INCLUDED_SIMPLE
3
#define INCLUDED_SIMPLE
4
 
5
#ifdef __cplusplus
6
#define DPI_LINK_DECL  extern "C" 
7
#else
8
#define DPI_LINK_DECL 
9
#endif
10
 
11
#include "svdpi.h"
12
 
13
//
14
// main
15
DPI_LINK_DECL DPI_DLLESPEC
16
int
17
main();
18
//
19
// axi-direct
20
DPI_LINK_DECL int
21
axi_read(
22
    int iv_addr,
23
    int iv_be,
24
    int* ov_data);
25
 
26
DPI_LINK_DECL int
27
axi_write(
28
    int iv_addr,
29
    int iv_be,
30
    int ov_data);
31
//
32
// sw-hdl sync
33
DPI_LINK_DECL int
34
ublaze_initial();
35
 
36
DPI_LINK_DECL int
37
ublaze_final();
38
 
39
DPI_LINK_DECL int
40
ublaze_wait(
41
    int iv_value);
42
 
43
/*AXI-wrap*/
44
DPI_LINK_DECL
45
unsigned int axi_read_(int iv_addr, int iv_be);
46
/*AXI-wrap*/
47
 
48
#endif // INCLUDED_SIMPLE

powered by: WebSVN 2.1.0

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