Master sample VHDL FPGA design
Model support
Location
Synopsis
FPGA space usage
Source files
Project Navigator files
Model support
Model | Supported |
ADM-XRC |  |
ADM-XRC-P |  |
ADM-XRC-II-Lite |  |
ADM-XRC-II |  |
ADM-XPL | |
ADM-XP | |
ADP-WRC-II | |
ADP-DRC-II | |
ADP-XPI | |
ADM-XRC-4LX | |
ADM-XRC-4SX | |
ADM-XRC-4FX | |
ADPE-XRC-4FX | |
ADM-XRC-5LX | |
ADM-XRC-5T1 | |
ADM-XRC-5T2 / ADM-XRC-5T2-ADV | |
ADM-XRC-5TZ | |
ADM-XRC-5T-DA1 | |
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:
Address 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. |
Write data 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. |
Configuration 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 |
|
Read data 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 |
ADM-XRC with Virtex |
master-xrc-v.scr |
master-xrc-v.prj |
master-xrc.ucf |
ADM-XRC with Virtex-E |
master-xrc-ve.scr |
master-xrc-ve.prj |
master-xrc.ucf |
ADM-XRC-P with Virtex |
master-xrcp-v.scr |
master-xrcp-v.prj |
master-xrcp.ucf |
ADM-XRC-P with Virtex-E |
master-xrcp-ve.scr |
master-xrcp-ve.prj |
master-xrcp.ucf |
ADM-XRC-II-Lite |
master-xrc2l-v2.scr |
master-xrc2l-v2.prj |
master-xrc2l.ucf |
ADM-XRC-II |
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 |
ADM-XRC |
projnav/xrc/<device> |
ADM-XRC-P |
projnav/xrcp/<device> |
ADM-XRC-II-Lite |
projnav/xrc2l/<device> |
ADM-XRC-II |
projnav/xrc2/<device> |