URL
https://opencores.org/ocsvn/pcie_ds_dma/pcie_ds_dma/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 19 |
Line 2... |
Line 2... |
|
|
#ifndef TF_CheckItem_CL_WBPEXH
|
#ifndef TF_CheckItem_CL_WBPEXH
|
#define TF_CheckItem_CL_WBPEXH
|
#define TF_CheckItem_CL_WBPEXH
|
|
|
#include "utypes.h"
|
#include "utypes.h"
|
//#include "brd.h"
|
#include "board.h"
|
//#include "time.h"
|
#include "time.h"
|
//#include "ctrlstrm.h"
|
#include "ctrlstrm.h"
|
|
|
//#include <string.h>
|
//#include <string.h>
|
|
|
class board;
|
class board;
|
|
|
Line 23... |
Line 23... |
|
|
//! Завершение работы с модулем
|
//! Завершение работы с модулем
|
virtual void cleanup( void );
|
virtual void cleanup( void );
|
|
|
|
|
int StreamInit( U32 strm, U32 cnt_buf, U32 size_one_buf_of_bytes, U32 wb_adr, U32 dir, U32 cycle, U32 system, U32 agree_mode );
|
int StreamInit( U32 strm, U32 cnt_buf, U32 size_one_buf_of_bytes, U32 loc_wb_adr, U32 dir, U32 cycle, U32 system, U32 agree_mode );
|
|
|
void StreamDestroy( U32 strm );
|
void StreamDestroy( U32 strm );
|
|
|
U32* StreamGetBufByNum( U32 strm, U32 numBuf );
|
U32* StreamGetBufByNum( U32 strm, U32 numBuf );
|
|
|
Line 66... |
Line 66... |
{
|
{
|
U32 status;
|
U32 status;
|
U32 strm;
|
U32 strm;
|
U32 cnt_buf;
|
U32 cnt_buf;
|
U32 size_one_buf_of_bytes;
|
U32 size_one_buf_of_bytes;
|
U32 trd;
|
U32 loc_wb_adr;
|
U32 cycle;
|
U32 cycle;
|
U32 system;
|
U32 system;
|
U32 dir;
|
U32 dir;
|
|
|
U32 indexDma;
|
U32 indexDma;
|
U32 indexPc;
|
U32 indexPc;
|
U32 agree_mode;
|
U32 agree_mode;
|
|
|
//BRD_Handle hStream;
|
//BRD_Handle hStream;
|
//BRDstrm_Stub *pStub;
|
BRDstrm_Stub *pStub;
|
U08 *pBlk[256]; //!< Массив указателей на блоки памяти
|
U08 *pBlk[256]; //!< Массив указателей на блоки памяти
|
|
|
StreamParam()
|
StreamParam()
|
{
|
{
|
//memset( this, 0, sizeof( StreamParam ) );
|
//memset( this, 0, sizeof( StreamParam ) );
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.