xst3_IDE
所属分类:VHDL/FPGA/Verilog
开发工具:Others
文件大小:33KB
下载次数:52
上传日期:2008-01-11 14:47:26
上 传 者:
sron63
说明: Access IDE harddisk by Xilinx FPGA
Support PIO2
(err)
文件列表:
IDE\ide.npl (752, 2006-05-30)
IDE\ide.ucf (1388, 2006-05-30)
IDE\ide-200.ucf (1383, 2006-05-30)
IDE\xst (0, 2006-05-30)
IDE\xst\work (0, 2006-05-30)
IDE\xst\work\sub00 (0, 2006-05-30)
IDE\_ngo (0, 2006-05-30)
IDE\debounce.vhd (1903, 2006-05-31)
IDE\ide.bit (403006, 2006-05-30)
IDE\atacntl.vhd (40079, 2006-05-31)
IDE\ide.vhd (9034, 2006-05-31)
IDE\memtest.vhd (11146, 2006-05-31)
IDE\.svn (0, 2006-05-26)
IDE\.svn\tmp (0, 2006-05-26)
IDE\.svn\tmp\wcprops (0, 2006-05-26)
IDE\.svn\tmp\props (0, 2006-05-26)
IDE\.svn\tmp\prop-base (0, 2006-05-26)
IDE\.svn\tmp\text-base (0, 2006-05-26)
IDE\.svn\wcprops (0, 2006-05-26)
IDE\.svn\props (0, 2006-05-26)
IDE\.svn\prop-base (0, 2006-05-26)
IDE\.svn\text-base (0, 2006-05-26)
IDE\randgen.vhd (3937, 2006-05-31)
IDE\__projnav (0, 2006-05-30)
IDE\common.vhd (1240, 2006-05-30)
IDE (0, 2006-05-26)
USING THE IDE HARD DISK INTERFACE ON THE XST-3.0 BOARD
This is a simple design example that writes data to sectors on an IDE
hard disk and then reads it back to verify it.
DESIGN FILES
* common.vhd
This file contains some definitions and functions used in the rest
of the VHDL code.
* atacntl.vhd
This is the VHDL file that describes an ATAPI interface to an IDE
hard disk. You can get a more detailed description of the interface
at http://xess.com/appnotes/an-041404-atacntl.pdf .
* memtest.vhd, randgen.vhd
These VHDL files describe a memory tester module that writes a
stream of data from a random-number generator (RNG) to a storage
device and then reads the data back and compares it to the RNG
output to verify it was stored correctly.
* debounce.vhd
This VHDL file describes a simple switch debouncer.
* ide.vhd
This is the VHDL file that combines the IDE interface and memory
tester module to create a design that tests writes and reads of hard
disk sectors.
* ide.ucf
These are the constraints which assign the I/O signals of IDE
interface to the appropriate pins of the FPGA on the XSA-3S1000 +
XST-3.0 combination.
* ide.bit
This is a compiled bitstream for the design that can be downloaded
into the XSA-3S1000 + XST-3.0 combination.
* ide-200.ucf
This is an alternate set of pin assignments to be used if the design
is recompiled for an XSA-200 + XST-3.0 combination.
* ide.npl
Open this project file with WebPACK if you need to recompile the
design.
USING THE DESIGN EXAMPLE
* Step 1:
Attach an ATX power supply to the XST-3.0 Board and an IDE hard
disk.
* Step 2:
Attach an IDE cable from header IDE1 on the XST-3.0 Board to the IDE
hard disk.
* Step 3:
Set jumper J9 on the XSA-3S1000 Board to XS.
* Step 4:
Download the default parallel port interface into the XSA-3S1000
(\XSTOOLS\XSA\3S1000\dwnldpar.svf) if it is not already present.
(Running GXSTEST will do this automatically.)
* Step 5:
Download the ide.bit file to the XSA Board.
* Step 6:
After a 20-second delay, the application will write and read sectors
on the hard disk and report the success or failure of the operation
by displaying an "O" or an "E" on LED2, respectively. Press switch
SW2 on the XSA Board to re-run the test.
ENVIRONMENT
This example design was developed using the following version of
software:
Xilinx WebPACK : 6.3.03i
SOURCE FILES
You can download the source files for this example design from the XESS
website at http://www.xess.com/projects/xst3_IDE.zip .
AUTHOR
Dave Vanden Bout, X Engineering Software Systems Corp.
Send bug reports to bugs@xess.com.
COPYRIGHT AND LICENSE
Copyright 2006 by X Engineering Software Systems Corporation.
This application can be freely distributed and modified as long as you
do not remove the attributions to the author or his employer.
HISTORY
05/30/2006 - Release 1.0.1:
* Added multisector R/W.
* Added PIO Mode 2 timing parameters.
* Added enhanced ATA status outputs.
* Added outputs to inactivate the XSA Flash and IDE disk DMA
acknowledge.
* Added a switch input that re-runs the sector R/W test.
01/30/2006 - Initial release.
近期下载者:
相关文件:
收藏者: