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_bfm/] [dpi/] [eth_host_bfm.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_ETH_HOST_BFM
3
#define INCLUDED_ETH_HOST_BFM
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
// test-bfm / used in hdl-backend for Lin-tap IF
15
DPI_LINK_DECL DPI_DLLESPEC
16
int
17
test_bfm();
18
//
19
// BFM ETH READ, from HDL
20
DPI_LINK_DECL int
21
eth_frm_read_len(
22
    int* ov_len);
23
 
24
DPI_LINK_DECL int
25
eth_frm_read(
26
    int* ov_data,
27
    int iv_position);
28
//
29
// BFM ETH WRITE, to HDL
30
DPI_LINK_DECL int
31
eth_frm_write_len(
32
    int iv_len);
33
 
34
DPI_LINK_DECL int
35
eth_frm_write(
36
    int iv_data,
37
    int iv_position);
38
//
39
// CPP-HDL sync
40
DPI_LINK_DECL int
41
host_initial();
42
 
43
DPI_LINK_DECL int
44
host_delay(
45
    int iv_data);
46
 
47
DPI_LINK_DECL int
48
host_final();
49
 
50
#endif // INCLUDED_ETH_HOST_BFM

powered by: WebSVN 2.1.0

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