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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [testbench/] [dmatest.c] - Diff between revs 310 and 970

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 310 Rev 970
Line 1... Line 1...
/* DMA test */
/* DMA test */
 
 
#include "support.h"
#include "support.h"
 
#include "board.h"
#include "../peripheral/fields.h"
#include "../peripheral/fields.h"
#include "../peripheral/dma.h"
#include "../peripheral/dma.h"
 
 
#define DMA_BASE 0x90000000LU
 
 
 
typedef volatile unsigned long *DMA_REG;
typedef volatile unsigned long *DMA_REG;
 
 
DMA_REG csr = (unsigned long *)(DMA_BASE + DMA_CSR),
DMA_REG csr = (unsigned long *)(DMA_BASE + DMA_CSR),
    int_msk_a = (unsigned long *)(DMA_BASE + DMA_INT_MSK_A),
    int_msk_a = (unsigned long *)(DMA_BASE + DMA_INT_MSK_A),
    int_msk_b = (unsigned long *)(DMA_BASE + DMA_INT_MSK_B),
    int_msk_b = (unsigned long *)(DMA_BASE + DMA_INT_MSK_B),

powered by: WebSVN 2.1.0

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