ADM-XRC SDK 2.8.1 User Guide (Linux)
© Copyright 2001-2009 Alpha Data


Simple64 sample VHDL FPGA design

Model support

Location

Synopsis

FPGA space usage

Source files

Project Navigator files

Modelsim scripts

Model support

ModelSupported
ADM-XRC 
ADM-XRC-P 
ADM-XRC-II-Lite 
ADM-XRC-II 
ADM-XPL 2VP20, 2VP30 only
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 

Note: the ADM-XRC-5T2-ADV version of this design uses the same source files and bitstreams as the ADM-XRC-5T2, so separate files are not included within this SDK.

Location
$ADMXRC_SDK4/fpga/vhdl/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 addresses 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 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-XPL simple64-xpl-v2p.scr simple64-xpl-v2p.prj simple64-xpl.ucf
ADM-XP simple64-xp-v2p.scr simple64-xp-v2p.prj simple64-xp.ucf
ADP-XPI simple64-xpi-v2p.scr simple64-xpi-v2p.prj simple64-xpi.ucf
ADM-XRC-4FX with 4VFX100 simple64-xrc4fx-v4fx.scr simple64-xrc4fx-v4fx.prj simple64-xrc4fx-4vfx100.ucf
ADM-XRC-4FX with 4VFX140 simple64-xrc4fx-v4fx.scr simple64-xrc4fx-v4fx.prj simple64-xrc4fx-4vfx140.ucf
ADPE-XRC-4FX with 4VFX100 simple64-xrce4fx-v4fx.scr simple64-xrce4fx-v4fx.prj simple64-xrce4fx-4vfx100.ucf
ADPE-XRC-4FX with 4VFX140 simple64-xrce4fx-v4fx.scr simple64-xrce4fx-v4fx.prj simple64-xrce4fx-4vfx140.ucf
ADM-XRC-5LX simple64-xrc5lx-v5lx.scr simple64-xrc5lx-v5lx.prj simple64-xrc5lx.ucf
ADM-XRC-5T1 with FXT simple64-xrc5t1-v5fxt.scr simple64-xrc5t1-v5fxt.prj simple64-xrc5t1-5vfxt.ucf
ADM-XRC-5T1 with LXT simple64-xrc5t1-v5lxt.scr simple64-xrc5t1-v5lxt.prj simple64-xrc5t1.ucf
ADM-XRC-5T1 with SXT simple64-xrc5t1-v5sxt.scr simple64-xrc5t1-v5sxt.prj simple64-xrc5t1.ucf
ADM-XRC-5T2 or ADM-XRC-5T2-ADV with FXT simple64-xrc5t2-v5fxt.scr simple64-xrc5t2-v5fxt.prj simple64-xrc5t2-5vfxt.ucf
ADM-XRC-5T2 or ADM-XRC-5T2-ADV with LXT simple64-xrc5t2-v5lxt.scr simple64-xrc5t2-v5lxt.prj simple64-xrc5t2.ucf
ADM-XRC-5T2 or ADM-XRC-5T2-ADV with SXT simple64-xrc5t2-v5sxt.scr simple64-xrc5t2-v5sxt.prj simple64-xrc5t2.ucf

Project Navigator files

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

Model Project Navigator project file
ADM-XPL projnav/xpl/<device>
ADM-XP projnav/xp/<device>
ADP-XPI projnav/xpi/<device>
ADM-XRC-4FX projnav/xrc4fx/<device>
ADPE-XRC-4FX projnav/xrce4fx/<device>
ADM-XRC-5LX projnav/xrc5lx/<device>
ADM-XRC-5T1 projnav/xrc5t1/<device>
ADM-XRC-5T2
ADM-XRC-5T2-ADV
projnav/xrc5t1/<device>

Modelsim scripts

Example Modelsim-compatible script files for simulating this design are provided. Refer to the following table for the appropriate command line for a particular model:

Model Shell command
ADM-XPL vsim -do "do simple64-xpl.do"
ADM-XP vsim -do "do simple64-xpl.do"
ADM-XPI vsim -do "do simple64-xpi.do"
ADM-XRC-4FX vsim -do "do simple64-xrc4fx.do"
ADPE-XRC-4FX vsim -do "do simple64-xrce4fx.do"
ADM-XRC-5LX vsim -do "do simple64-xpl.do"
ADM-XRC-5T1 vsim -do "do simple64-xpl.do"
ADM-XRC-5T2
ADM-XRC-5T2-ADV
vsim -do "do simple64-xpl.do"

 


 Top of page