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] - Rev 4

Compare with Previous | Blame | View Log

/* MTI_DPI */
#ifndef INCLUDED_SIMPLE
#define INCLUDED_SIMPLE
 
#ifdef __cplusplus
#define DPI_LINK_DECL  extern "C" 
#else
#define DPI_LINK_DECL 
#endif
 
#include "svdpi.h"
 
//
// main
DPI_LINK_DECL DPI_DLLESPEC
int
main();
//
// axi-direct
DPI_LINK_DECL int
axi_read(
    int iv_addr,
    int iv_be,
    int* ov_data);
 
DPI_LINK_DECL int
axi_write(
    int iv_addr,
    int iv_be,
    int ov_data);
//
// sw-hdl sync
DPI_LINK_DECL int
ublaze_initial();
 
DPI_LINK_DECL int
ublaze_final();
 
DPI_LINK_DECL int
ublaze_wait(
    int iv_value);
 
/*AXI-wrap*/
DPI_LINK_DECL 
unsigned int axi_read_(int iv_addr, int iv_be);
/*AXI-wrap*/
 
#endif // INCLUDED_SIMPLE
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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