ADM-XRC SDK 2.5.0b1 User Guide (Linux)
© Copyright 2001-2005 Alpha Data


Simple64 sample Verilog FPGA design

Model support

Location

Synopsis

FPGA space usage

Source files

Project Navigator files

Model support

XRC XRC-P XRC-II-Lite XRC-II XPL XP WRC-II DRC-II XPI XRC-4LX XRC-4SX
        2VP20
2VP30
         

Location
$ADMXRC_SDK4/fpga/verilog/simple64
Synopsis

The Simple64 FPGA design demonstrates how to implement host-accessible registers in an FPGA design with a 64-bit local data bus. It is a 64-bit version of the Simple FPGA design.

The registers described below are located at addreses 0x0 and 0x4 respectively on the local bus. This means that they are visible in the lower and upper 32-bit halves of the local bus data LAD[63:0]. Because the design uses the local bus byte enables LBE#[7:0] to qualify direct slave writes, these registers can be written independently of each other even though they are packed into a single 64-bit word.

From the host's point of view, the registers in the FPGA are the same as in the Simple FPGA design. They can be accessed via the ADMXRC2_Read and ADMXRC2_Write API calls, or via a memory-mapped region. The latter method is demonstrated by the Simple sample application.

FPGA Space Usage

Nibble-reversed data register (REVDATA, local bus address 0x0)
Bits Mnemonic Type Function
31:0 VAL R/W When read, this register returns the nibble-reversed version of the last value written to it.

Nibble-reversed data register (DATA, local bus address 0x4)
Bits Mnemonic Type Function
31:0 VAL R/W When read, this register returns the last value written to it.

Source files

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

Model XST script file XST project file UCF file
XPL simple-xpl-v2p.scr simple-xpl-v2p.prj simple-xpl.ucf
XP simple-xp-v2p.scr simple-xp-v2p.prj simple-xp.ucf

Project Navigator files

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

Model Project Navigator project file
XPL projnav/xpl/<device>
XP projnav/xp/<device>

 


 Top of page