ADM-XRC SDK 2.4.0 User Guide (Linux)
© Copyright 2001-2004 Alpha Data


Master sample VHDL FPGA design

Model support

Location

Synopsis

FPGA space usage

Source files

Project Navigator files

Model support

XRC XRC-P XRCII-Lite XRCII XRCIIPro-Lite XRCIIPro WRCII DRCII
       

Location
$ADMXRC_SDK4/fpga/vhdl/master
Synopsis

The Master FPGA design demonstrates direct master access by the FPGA to host memory.

FPGA Space Usage

The design implements several registers for generating Direct Master transfers to and from host memory:

Count register (ADDR, local bus address 0x0)
Bits Mnemonic Type Function
1:0   MBZ  
31:2 ADDR WO This field holds the local bus address to be used for the next Direct Master transfer. Writing to bits [31:24] initiates a Direct Master transfer, so this register should be written after the other registers have been initialized.

Count register (WDATA, local bus address 0x4)
Bits Mnemonic Type Function
31:0 VAL WO For Direct Master write transfers, this register holds the 32-bit data value that should be written.

Count register (CFG, local bus address 0x8)
Bits Mnemonic Type Function
0 WRITE WO When this field is '1', the next Direct Master transfer is a write; otherwise it is a read.
31:1   MBZ  

Count register (RDATA, local bus address 0xC)
Bits Mnemonic Type Function
31:0 VAL RO This register contains the 32-bit value read on the last Direct Master read.

Status register (STAT, local bus address 0x10)
Bits Mnemonic Type Function
0 BUSY RO When this field returns '1', it indicates that a Direct Master transfer is in progress.
31:1   MBZ  

Source files

For a list of the VHDL source files, refer to the appropriate XST project file, as referenced in the following table:

Model XST script file XST project file UCF file
XRC with Virtex master-xrc-v.scr master-xrc-v.prj master-xrc.ucf
XRC with Virtex-E master-xrc-ve.scr master-xrc-ve.prj master-xrc.ucf
XRC-P with Virtex master-xrcp-v.scr master-xrcp-v.prj master-xrcp.ucf
XRC-P with Virtex-E master-xrcp-ve.scr master-xrcp-ve.prj master-xrcp.ucf
XRCII-Lite master-xrc2l-v2.scr master-xrc2l-v2.prj master-xrc2l.ucf
XRCII master-xrc2-v2.scr master-xrc2-v2.prj master-xrc2.ucf

Project Navigator files

Project Navigator projects can be found in the projnav directory as follows:

Model Project Navigator project file
XRC projnav/xrc/<device>
XRC-P projnav/xrcp/<device>
XRCII-Lite projnav/xrc2l/<device>
XRCII projnav/xrc2/<device>

 


 Top of page