Home
Texas Memory Systems XP-15 Computer Hardware User Manual
Contents
1. ii results ii real results ii imag Check result vector ecount 0 printf Checking result vector n for ii 0 ii fft size ii if results ii real real val results ii imag imag val if ecount 5 printf Error in element d ii printf ShB 8 4f 8 4f real val imag val printf Is 8 4f 8 4 n results ii real XP 15 User Guide Texas Memory Systems Inc 8 6 01 A 3 results ii imag ecount if ecount 0 printf XP 15 confidence test completed with no errors n else printf XP 15 confidence test completed with d errors n ecount exit 0 BRK KKK KKK KKK KK KK KKK KKK HK KKK KKK KKK KKK KKH KKK KKK KKK KKK KKK KKK KK KKK KKK KK KKK Function help Description display help screen and exits Arguments none Returns none KK KKK KKK KR KK KKK KKK KKK KKK KK KK KKK KKK KKK KK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK static void help void fprintf stdout parameters Mn fprintf stdout x XP 15 device name n fprintf stdout h this message n exit 0 XP 15 User Guide Texas Memory Systems Inc 8 6 01 A 4 Appendix B PCI Local Bus Specifications The XP 15 interface adapter is a 3 3V signaling environment expansion card as defined by the PCI Local Bus Specification 2 0 2 1 and 2 2 This means that the XP 15 is designed to operate exclusively in 3 3V signaling environment sy
2. this document covers the installation and checkout of an XP 15 in a Compaq Alpha based computer system under Tru64 XP 15 User Guide Texas Memory Systems Inc 8 6 01 2 1 Chapter 3 Installation The XP 15 vector processor has currently been tested in the following computer platforms O Compaq ALPHASERVER ES40 O Compaq ALPHASERVER DS10 XP 15 Software is currently available for the following operating system revisions Q TRU64 Digital Unix 5 1 3 1 Installing the XP 15 Hardware 3 1 1 Jumper Settings The XP 15 has no user selectable jumpers 3 1 2 Installing the XP 15 in a Computer Power off the computer system Select a suitable vacant PCI slot and remove the faceplate Insert the XP15 card firmly into the vacant slot Lock down the XP15 faceplate using the screw that previously held in the blank faceplate 3 2 Installing the XP 15 Software XP 15 software is delivered on CDROM This chapter describes the steps that should be used to install the software The account that performs the installation must have certain system privileges and is normally the system account Release notes for the delivered version of the XP 15 hardware and software are included on the CDROM in a file called README TXT This file lists enhancements since the previous version known hardware and software deficiencies documentation errors and other information not included in the manuals 3 2 1 Tru64 Digital Unix Installation Log on t
3. 3 3 Running the XP 15 Confidence Testais errre L a E E sehen E ese ese ee se ses ne restes nna 3 2 3 9 1 Diagnostic Confidence Test nort ret rei vore Pes Gaus col Ue Tav o vua Y 3 2 3 3 2 Programming Example Confidence Test eene mener rsen senes 3 3 Chapter 4 X Midas Programming Example XTMIC eee ee ee eee eee eese eese eese eese etes etes esso esos us 4 1 ASV Overview Mm 4 1 4 2 Running the XTMIC Example n ee ee me ne nennen es rsen se sr se ese ese riesen rennes 4 1 Appendix A XP 15 Confidence Test e Leere i nee de teneor oa ehe e oo ee Pee eoo easy on oa Eo ev oen vo eov essa Ure na stenti A 1 Appendix B PCI Local Bus Specifications ecce ecce eese eese eese eene etse ese sess sess te sees see esee sese sese oe B 1 Appendix C XP 15 Hardware Control and Status Registers eee e ee ee eee eee ee eee e eene eene teen one C 1 XP 15 User Guide Texas Memory Systems Inc 8 6 01 i Chapter 1 Introduction The XP 15 vector processor is a PCI card that can be installed in a workstation and that delivers SuperComputer class vector processing performance This document is concerned with the installation and set up of the XP 15 Chapter 2 gives an overview of the functionality of the XP 15 Chapter 3 describes the hardware and software installation of the XP 15 Chapter 4 describes a programming example for the XP 15 for use
4. XP 15 Vector Processor User Guide d a S k LY n R B B m Any trademarks or registered trademarks used in this document belong to the companies that own them Copyright 2001 Texas Memory Systems Inc All rights are reserved No part of this work may be reproduced or used in any form or by any means graphic electronic or mechanical including photocopying recording taping or information storage and retrieval systems without permission of the copyright owner Table of Contents Chapter 1 Introduction ree erbe ee ose ee eeu ea abono be eue oe Sa eve uoo EO UY no noun e n Ve eo e Yu ree eo cara EES pena resterete 1 1 Td Related EE 1 1 I 2 TypographicalConventions renna alunna 1 1 Chapter 2 Overview 5 7 iaeeses sees evo Fs Co ee E Ye eo To ea ov scenes ee ee Ya Fe Co ee RNV dees sees scesstedecseveds dosswese esse r resanse oesi Eoss 2 1 Chapter 3 Installation ue eee teer eee ete v eo ve ee oor e a eben or ge Ever oe Eoo sos soevenes ee EUR e souse eases espes eoar o e oeii sens 3 1 3iTTInstalhng the XP 15 Hardware ere ee eU OP ERI ai 3 1 SAL Jumper Seton Sree ss oed i ever dr e DRIN di inen eiim 3 1 3 1 2 Installing the XP 15 in a Computer ee ne eme ne ree restent e 3 1 3 2 Installing the XP 15 SoftWare maino reati ere si snes eee E ros E a Pea eee Toe e EAT EP YET 3 1 3 2 1 Tru64 Digital Unix Installation eese e nenne nennen rester sensere 3 1
5. al Bus Specification Rev 2 2 the XP 15 has one Base Address Regions All registers are defined as offsets into this one address region Bit level definitions of all registers including rules for their use appear in the following tables and paragraphs XP 15 Hardware Registers Register Name Base Address Control Status Register 32 bits R W RESERVED N A These bits are reserved Softreset puts the XP 15 in the power up state Informs XP 15 to start processing SN command RESERVED N A These bits are reserved EL ae A host is big Endian 86 ee XP 15 is in a 64 bit PCI slot RESERVED N A This bit is reserved DMADONE eee the DMA is finished STOP EE the STOP bit has been encountered Indicates the XP 15 is paused Indicates the XP 15 has received an SN checksum error PAUSE 4 ERR PCI200 User Guide Texas Memory Systems Inc 8 6 01 RM ECHO BEL the XP 15 has returned an ECHO packet epos paises the XP 15 has returned an SPR packet DIAG Indicates the XP 15 has returned a diagnostic packet s STAT EGR the XP 15 has returned a status packet Low PCI SN command address register 32 bits R W 31 3 NA R W This register is used to establish the low 32 bits of the PCI address for SN commands to the XP 15 This register consists of the bottom 32 bits of a 32 bit counter with the low order three bits hardwired to zeroes Transfers must begin on a Double DWORD 64 bit boundary Pelosi High PCI SN c
6. esults buffer Creating test signal Performing CFFT Wait for all XP 15 First 10 00 16 01 16 02 16 03 16 04 16 05 16 06 16 07 16 08 16 09 16 Checking values of 0000 0 0000 0000 0000 0000 0000 0000 0000 0000 0000 oooooo0o o o functions to complete CFFT results 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 result vector XP 15 confidence test completed with no errors XP 15 User Guide Texas Memory Systems Inc 8 6 01 Chapter 4 X Midas Programming Example XTMIC This chapter describes the X Midas programming example how to execute it and how to use it as a template for XP 15 applications The source code is located on the XP 15 software CDROM in the examples xtmic directory 4 1 Overview The X Midas programming example is a less robust version of the SAMTMIC software that currently runs on the SAM 450 The XP 15 implementation referred to as the XTMIC performs the same basic processing as the SAMTMIC but with predefined parameters and static weight files The XTMIC performs spectral analysis and interference canceling on two channels of 16 bit data using an FFT size of 128K The algorithm starts with a forward four tap polyphase filter and a forward FFT applies a set of predefined weights performs the inverse FFT and then the inverse polyphase filter The auto spectrum of each signal is calculated as we
7. g environment 3 3V Expansion Card XP 15 Universal Expansion Card I O Buffers are powered by the 5V power rail 2 0 2 1 5V 12V 12V supplied If 3 3V is needed expansion card must provide its own 3 3V 2 2 5V 3 3V 12V and 12V rails are all supplied 5V Expansion Cards are not designed to work in a 3 3V signaling environment I O Buffers are powered by the 3 3V power rail 5V 3 3V 12V and 12V rails are all supplied I O Buffers are powered by the 3 3V power rail 2 0 2 1 5V 12V 12V supplied If 3 3V is needed expansion card must provide its own 3 3V 2 2 5V 3 3V 12V and 12V rails are all supplied Texas Memory Systems recommends the XP 15 adapter for use in 3 3V signaling environments XP15 User Guide Texas Memory Systems Inc 8 6 01 B 1 Appendix C XP 15 Hardware Control and Status Registers The XP 15 is a custom hardware adapter designed to provide processing power to a host computer DEC Alpha Intel PC etc The XP 15 s data bus is 32 bits or 64 bits wide depending on the host PCI slot The following tables describe the XP 15 s hardware control registers Each register is classified as read only write only or read write The least significant bit of each register is always tied to the least significant bit of the PCI bus Any unspecified bits should be masked in software after they are read even though they will not be used As defined by the PCI Loc
8. in an X Midas environment 1 1 Related Texts The following Texas Memory Systems user documentation may be useful for reference purposes TM 44 Programming Overview VP Scientific Math Library Reference Manual 1 2 Typographical Conventions Text within this document is typed in the same typeface as this paragraph User input and information is in the same typeface as the word filename in the example below Filename XP 15 User Guide Texas Memory Systems Inc 8 6 01 1 1 Chapter 2 Overview The XP 15 is a high performance vector processor implemented on a single card suitable for installing in a PCI Local Bus card slot in a general purpose computer The XP 15 is based on the 8 GFLOPS TM 44 DSP chip from Texas Memory Systems and includes four 32 MB banks of fast local memory The XP 15 is programmed by making calls to move data from host memory to XP 15 local memory to perform one or more vector processing operations on the data and to move results back to host memory There are more than 400 such function calls available to the XP 15 programmer detailed specifications for these functions can be found in the VP Scientific Math Library Reference Manual and an introduction to XP 15 programming techniques can be found in the TM 44 Programming Overview Although many computer systems provide PCI Local Bus card slots a driver for the XP15 is currently available for computer systems from Compaq under Tru64 version 5 1 only Accordingly
9. l use for its processing The input files must contain 16 bit integer data and must have at least 1507328 elements Assuming the input files are called input_a and input_b the command line required to run the XTMIC would look like X Midas gt run_x input_a input_b XTMIC gt Starting xtmic demo XTMIC gt Setting up files pipes XTMIC gt Initializing XP15 buffers XTMIC gt Entering loop Total iterations 10 0000000000000 Elapsed seconds 5 945312 Average outer loop speed was 2 01839685440063 XTMIC gt Finished xtmic demo XP 15 User Guide Texas Memory Systems Inc 8 6 01 Appendix A XP 15 Confidence Test BRK KKK KK KKK KK KKK KKK KKK KK KKK KKK KK KKK KKK I KKK KKK KKK ke e e ke e I I II Copyright c 2001 by Texas Memory Systems Inc Texas Memory Systems Inc 11200 Westheimer 1000 Houston TX 77042 713 266 3200 Module Name cfft c Package CFFT demo Version Revision Release Date Date Description XP15 FFT demo H e hee ke hee ke He He ke hehe KKK e he e KK KK he he KK KK KKK KKK KKK e hee He hee ke He ke ke hec ke e ec ke e e ke KKK KKK KKK KKK KK KKK include lt stdio h gt include lt stdlib h gt include lt strings h gt include samdef h include lt vp h gt define FFT SIZE 1024 1024 Static void help void BRK check cheek hehe e hehe e KKK e he e KKK KK KKK KKK KKK KKK KK He He e He He e che I ke ke e He e e He KK KKK KK KK Function main Description entry poi
10. ll as the cross spectrum of the two signals and averaged versions of these spectra are sent to the host computer for display In addition to the auto and cross spectra signals the end result of the TMIC calculations is also piped back to the host 4 2 Running the XTMIC Example Copy the contents ofthe examples xtmic directory from the CDROM to a suitable local directory For instructions on reading the CDROM please refer to the Installing the XP 15 Software section for the relevant computer and operating system earlier in this document cp r CDROM examples xtmic This will copy the entire option tree to the specified location Start the X Midas programming environment and then associate the XTMIC option tree with this location using the X Midas xmopt function For example if the xtmic option tree was copied to home midas projects xtmic then one would type xmopt XTMIC home midas projects xtmic Then to add the XTMIC project to the current path xmpath XTMIC The xmbopt utility can then be used to build the program xmbopt XTMIC The build file assumes that the XP 15 software has been installed in the TMS directory as described in the software installation section above If this is not so then the build file will have to be modified to reflect the new software location XP 15 User Guide Texas Memory Systems Inc 8 6 01 4 1 The XTMIC macro requires two command line parameters that determine which files the XTMIC wil
11. mples cfft directory and a listing of the source code can be found in Appendix A This simple application creates a signal containing a single impulse transfers the signal from host memory to XP 15 local memory performs a one million point complex FFT on the signal in the XP 15 reads the results back to host memory and checks the results Copy the contents of the examples cfft directory from the CDROM to a suitable local directory For instructions on reading the CDROM please refer to the Installing the XP 15 Software section for the relevant computer and operating system earlier in this document cp CDROM sources examples cfft This will copy two files from the CDROM cfft c and Makefile The make utility can be used to build the program The make file assumes that the XP 15 software has been installed in the TMS directory as described in the software installation section above If this is not so then the make file will have to be modified to reflect the new software location make gcc I TMS include o cfft cfft c L TMS lib lvp lsam XP 15 User Guide Texas Memory Systems Inc 8 6 01 The sample application is executed with one parameter on the command line the XP 15 unit to be used Typically this will be unit 0 zero unless multiple XP 15s are installed in this host computer cfft x 0 XP 15 Confidence test performing a 1048576 point CFFT on XP 15 0 Allocate memory for test signal and FFT results Clearing r
12. nt for XP15 FFT demo Arguments argc argv number of inputs pointer to array of inputs Returns none KK hee e hee ke hee ke ehe ke e He e e hee KKK e he KKK KKK KKK IKK he He ke hee He KKK KKK He ke e ec He He KK KKK KKK KK KKK KKK int main int argc char argv int cc extern char optarg extern int optind int ii int ecount float real val imag val TMS INT xp15 1 TMS_INT fft_size FFT SIZE TMS_INT status TMS_COMPLEX signal results TMS COMPLEX cu cy Get command line arguments XP 15 User Guide Texas Memory Systems Inc 8 6 01 A 1 while cc getopt argc argv hx EOF t switch cc t case x xp15 atoi optarg break case h case default help Print some useful information printf XP 15 Confidence test performing a d point CFFT on XP 15 d n fft size xp15 Allocate host memory for a test signal printf Allocate memory for test signal and FFT results n signal TMS COMPLEX malloc fft size sizeof TMS COMPLEX if signal NULL printf Failed to allocate signal buffer memory n exit 1 results TMS COMPLEX malloc fft size sizeof TMS COMPLEX if results NULL printf Failed to allocate results buffer memory n exit 1 Create a test signal a single spike and clear results buffer printf Clearing results buffer n memset results 0 fft size
13. o the computer with system privileges this is normally root Insert and mount the CDROM using a command along the lines of the one below mount r dev disk cdrom0c cdrom There are two script files located on the CDROM one is to load the user software and the other is to load the XP15 driver First load the user software as follows cd cdrom change directory to the CDROM mount point install software invoke the software install script The script will run and will ask questions about where the software is located and where to install it on the host machine A typical run is shown below with normal user responses underlined Installing Texas Memory Systems XP15 USER software Are you installing the software on a Compaq Tru64 system y n yes XP 15 User Guide Texas Memory Systems Inc 8 6 01 8 1 Enter the mount point of the CDROM cdrom What directory do you want to install the XP 15 software to usr tms The XP15 software will be installed from cdrom to usr tms Is this correct y n yes Installing the XP15 software Finished installing the USER part of the XP15 software The final step in installing the XP15 is to install the driver using a script that also asks a few questions A typical run is shown again with user responses underlined cd cdrom install driver Installing Texas Memory Systems XP15 DRIVER software Are you installing the DRIVER software on a Compaq Tru64 system y n yes Enter the moun
14. ommand address register 32 bits R W 63 32 Upper bits of this register are not used Low PCI SN response address register 32 bits R W 31 3 NA R W This register is used to establish the low 32 bits of the PCI address for SN responses from the XP 15 This register consists of the bottom 32 bits of a 32 bit counter with the low order three bits hardwired to zeroes Transfers must begin on a Double DWORD 64 bit boundary SC oie acl ee a 0o High PCI SN response address register 32 bits R W 63 32 Upper bits of this register are not used PCI200 User Guide Texas Memory Systems Inc 8 6 01 C 2
15. sizeof TMS COMPLEX printf Creating test signal n memset signal 0 fft size sizeof TMS COMPLEX signal 0 real 16 0 real val signal 0 real imag val 0 0 Allocate XP 15 buffers cu TMS COMPLEX vb_pointer xp15 VP RAM A MEM 0 cy TMS COMPLEX vb_pointer xp15 VP RAM B MEM 0 Move the input signal into XP 15 local memory XP 15 User Guide Texas Memory Systems Inc 8 6 01 A 2 status vmov TMS FLOAT signal TMS FLOAT cu fft size 2 if status 0 sam error status Perform the CFFT printf Performing CFFT n status cfft cu input buffer NULL Twids not needed by XP 15 cy output scratch buffer 1 repeat value 1 this time 1 0 forward FFT scaled by 1 0 fft size one million complex points if status 0 sam error status Move the FFT results back to host memory returned status indicates which buffer holds the final results if status 1 status vmov TMS FLOAT cu TMS FLOAT results fft_size 2 else status vmov TMS FLOAT cy TMS FLOAT results fft size 2 if status 0 sam error status Synchronize with the XP 15 printf Wait for all XP 15 functions to complete n status viper sync xp15 1 if status O sam error status Print values printf First 10 values of CFFT results n for ii 0 ii lt 10 ii printf 02d 8 4f 8 4 n
16. stem motherboards During the development of the XP 15 the liberty was taken to add a second key slot on the PCI edge connector This allows for operation and testing in most 5V signaling environment motherboards that provide a 3 3V power rail This is neither a recommended nor a supported configuration The following table clarifies the requirements for system motherboards under the different revisions of the PCI Specification 5V 12V and 12V required 3 3V may either be included with system or a means to add it afterwards must be provided PCI Local Bus Specification 2 0 PCI Local Bus Specification 2 1 5V 12V and 12V required 3 3V may either be included with system or a means to add it afterwards must be provided 5V 3 3V 12V and 12V rails are all required 5V 3 3V 12V and 12V rails are all required PCI Local Bus 5V 3 3V 12V and 12V rails 5V 3 3V 12V and 12V rails Specification 2 2 are all required are all required The following table clarifies the requirements for expansion cards in the different signaling environments Expansion Cards 5V Signaling Environment 3 3V Signaling Environment 5V Expansion Card I O Buffers are powered by the 5V power rail 2 0 2 1 5V 12V 12V supplied If 3 3V is needed expansion card must provide its own 3 3V 2 2 5V 3 3V 12V and 12V rails are all supplied 3 3V Expansion Cards are not designed to work in a 5V signalin
17. t point of the CDROM cdrom The XP15 driver software will be install from cdrom Copy driver source Add path to driver source files Create make and make the driver Create soft links Update system configuration and load the XP15 driver You need to reboot the system to make the new driver available Do you want to reboot the system now y n yes 3 3 Running the XP 15 Confidence Test The XP 15 confidence test is a two stage process starting with a simple diagnostic test followed by running a simple programming example 3 3 1 Diagnostic Confidence Test The XP 15 diagnostic is located in the TMS bin directory that was installed from the cdrom and is called XPMON XPMON has many features and commands but the one command that tests the basic operation of the XP 15 is the T99 command A sample run is shown the XP 15 to be tested is dev xp0 xpmon d dev xp0 XP 15 Diagnostic Monitor v1 0 XP 15 device dev xp0 opened successfully Allocating host data buffers DMA write buffer size 0x2000000 bytes DMA read buffer size 0x2000000 bytes Verbosity set to HIGH XP 15 User Guide Texas Memory Systems Inc 8 6 01 3 2 Xpmon 0 gt t99 Running all tests Performing SPRAG tests testing many functions All tests should run without any errors If any errors occur please contact Texas Memory Systems 3 3 2 Programming Example Confidence Test The XP 15 confidence test is located on the XP 15 software CDROM in the exa
Download Pdf Manuals
Related Search
Related Contents
Page 1 TRISOFT 1825 E. 38`/2 ST. AUSTIN, TEXAS 78722 DDR2 DDR3 Tester with Led User manual product introduction: WDF 20000 UV 18 Projets soumis Copyright © All rights reserved.
Failed to retrieve file