Home
User Manual - Rice University
Contents
1. and follow indications in 3 1 1 4 3 3 Save and Load Now if you want to save your current workspace your configuration and stimulus history you can do it by pressing button Save Q or selecting option Save in the File Menu And if you want to load a previous workspace you only have to press button Open or select option Open in the File Menu Thus the new configuration will be set and the stimulus will be applied Loading of a file is slow since it repeats all the process that is it repeats the stimulus applied to the board circuit Imagine that you are testing the design of a filter in an XS Board and when applying some stimulus maybe 60 or 70 steps long it fails You may save the configuration and stimulus in a file e g filter sti then you could redesign your filter download it to the board and once it is downloaded you could open the file filter sti Thus the stimulus will be automatically applied to the board so you just have to check whether the results are OK now or not 12 WinXSPort User Manual 4 Example Control of a counter We want to implement a counter in an FPGA placed in an XS40 Board Using Xilinx Foundation Series our design 1s LOC P70 uE e ara LOC P77 tur l e LOC P6E ur LOC P69 WoC IFAD LOC P 47 IPAD Figure 12 Counter design As said before this design is going to be implemented in an XS40 Board thus we must work in XS Board Mode and it will be necessary to kn
2. 35 Board Mode C Parallel Port Mode Figure 5 XS Board Mode Parallel Port Mode If you are using an XS Board be sure this mode of operation is selected so that signals can reach the board in the correct status e Parallel Port Mode This mode of operation should be used for those cases when it is necessary to connect the port with an arbitrary circuit not an XS Board If you use this mode you control and read the level of the DB 25 pins that 1s what you see on your display is what you have at the DB 23 pins For instance if you select the WinXSPort signals DO and D3 to send data and S7 to read data and you write DO 1 and D3 0 you will have 1 at pin 2 of the connector and O at pin 3 If the output data of the external circuit drives pin 11 of the connector to 0 the program will show O at signal S7 The connection between WinXSPort signals and DB 25 pins is set as indicated in Appendix A Table 2 e XS Board Mode This mode of operation should be used for those cases when you are connecting the parallel port with an XS Board If you use this mode you control and read the level of the FPGA CPLD pins of the board that is what you see on your display is what you have at the FPGA CLPD pins For instance if you select the WinXSPort signals DO and D3 to send data and S7 to read data and you write DO 1 and D3 0 you will have 1 at pin 44 of the PLD and O at pin 45 If
3. 9 and it began when the enable signal was set to l United aides WinkS Pat ETS UA gaplecal bib bo the Parallel Past dle ai viel CLOCK EMABLE OUT BE Figure 14 Main window with the outputs given by WinXSPort 14 WinXSPort User Manual 5 Help Apart from this manual you can also get on line help for the application You can access this help by two different means using the help file provided with WinXSPort or directly from the application 5 1 Help file You can access help by double clicking on icon WinXSPort Help A window dialog with three tabs contents index and search will appear e Contents Clicking on the books you will find complete information about the possibilities of WinXSPort a guide to get used to working with it know the different options steps buttons Graphs and icons are provided in order to help using it Temas de Ayuda WMASPORT Application Help lx Contenido Indice Buscar Haga clic en un tema y despu s en Mostrar Tambi n puede hacer clic en otra ficha por ejemplo en la ficha Indice Introduction Parallel Port The Application Installation Bugs Thanks to El Cerrar Imprimir Cancelar Figure 15 Application help contents e Index A list of topics 1s provided so you can choose one of them directly But you can also write the first letters of the topic you are interested in 15 WinXSPort e Search Tem
4. 9 Thanks to Thanks to Prof M Eugenia Llamas for reviewing the English version of this manual Thanks to Xess Corporation specially to Dr Dave Van den Bout for donating an XS40 board for the project 10 About us WinXSPort has been developed by Gonzalo Mart n de Mercado P rez Francisco A Lago Garcia and T Paloma Ortega Camarero under the direction of Prof Ignacio de Miguel Jim nez Gonzalo Fran and Paloma are students at the Escuela T cnica Superior de Ingenieros de Telecomunicaci n Universidad de Valladolid Valladolid Spain and Ignacio is an Assistant Professor at that College You may contact us at WWW http pesquera tel uva es wxsport E mail wxsport pesquera tel uva es This software can also be downloaded from XESS Corp Website http www xess com FPGA 20 WinXSPort User Manual 11 References Peacock Harries Anderson Xess VandenBout Xilinx Craig Peacock Interfacing the Standard Parallel Port April 1991 http www senet com au cpeacock Ian Harries Interfacing to the IBM PC Parallel Printer Port Dpt Of Computing Imperial College London UK http www doc ic ac uk ih doc par Peter H Anderson Use of a PC Printer Port for Control and Data Acquisition Dpt of Electrical Engineering Morgan State University http et nmsu edu etti fall96 computer printer printer html XESS Corporation XS40 XSP and XS95 Board Manual 1998 Dave Van
5. your design drives pin 75 of the PLD to 0 the program will show O at signal S7 The connection between WinXSPort signals and XS Board pins is set as indicated in Appendix A Table 3 Keep in mind that you will not be able to choose signal CO as it is connected to the PROGRAM pin of the FPGAs IMPORTANT Remember that if you are using an XS Board in your application you must use XS Board Mode since if you use Parallel Port Mode instead the FPGA will clear its configuration memory WinXSPort User Manual Li a window will be displayed showing the connection between WinXSPort signals and DB 25 or XS Board pins If you press button Information 3 1 1 3 Clock Signal Shar ee ae O First Half Cycle 0 a MaaR ai cack a a Rol Half Cycle 1 Figure 6 Clock Signal WinXSPort defines a default clock in case you need a clock signal for your application Then clock 1s always assigned to pin DO so you will not be able to use this pin for anything else The clock changes its state 1 0 in each step that is when pressing button Step at the Stimulus Control Therefore 1 step 1 half cycle You can choose 1f you want the clock to start at level O or 1 3 1 1 4 Signal Choice and Signal Definition Now you have to indicate which signals and therefore which pins you are going to work with Thus you must select those checkboxes you are interested in You may give a meaningful name to the signal M D7 Name Define Figure
6. 7 Signal choice Once the signals have been chosen it is possible to define them so as to have the necessary state for the signal You can define periodic or non periodic signals as it is possible to choose the number of half cycles or steps in high low status Signal Definition xI 4 i Half Cycles Steps Low Number of Half Cucles Steps jo f HalfCyclez Steps High M Periodic IEE Cancel Figure 8 Signal Definition WinXSPort User Manual In the figure a signal has been defined it is 3 cycles high 3 cycles low 4 cycles high and 1 cycle high and it has been made periodic by marking the checkbox You must write the number of cycles in the edit box indicate if it is low high and then press right arrow to continue It is important to know that you must press right arrow to really introduce the signal It is also possible to go back by pressing left arrow and redefine the sequence by changing the value in the edit box You will see at the same time how your signal is being defined in the graph above When you have finished you must press button OK It is not mandatory to define the signals you are going to use you may change its status interactively later 3 1 2 Timer Configuration You can set the minimum allowable time between write read operations default is 100 msecs If you are controlling the generation of signals in a digital circuit and you know that the time spent by your circuit to generate
7. Configuration window we read the status register that is the data sent from the external circuit to the PC Since all the data D1 D7 CO C3 are written before the clock change about 1 us before although it depends on the computer there should be no problems with set up time some ns Xilinx When testing your design with WinXSPort bear in mind that data DO D7 is sent before data CO C3 to the board 8 Known Problems e The length of the execution of the application is finite 999 steps and then a message box will notify it To see how to solve this problem see the section 7 FAQs e The length of the definition of signals is also finite and a message box will notify it e Sometimes part of the frame with the names of the signals disappears You will solve it clicking on the vertical scroll bar e Clicking in the left frame makes the configuration and stimulus buttons to deactivate Click in the right frame and they will be active again e If you have defined some signals for your application and some time later you define some more the history of the new signals will be set to zero as can be seen in the figure below In general you should add all the signals used before starting sending data to the external circuit 19 WinXSPort User Manual t Umile Ardo wWinkSPoait ETS UA gapas ubie las Parallel Pal Fie View Windows Help Ole ee Foi Help paris Fl Figure 18 Signal C2 was defined after 7 steps
8. User Manual 5 2 Help in the Application Help for the application is accessed when clicking Help in main menu You will obtain the same dialog window as before In addition it is also possible to obtain help for some topics by clicking button Help directly from the application p and then clicking the object For example if you want to know what the button 1s used for you must click Help button first and then when the mouse has changed into an arrow and a you must press button Configuration Window and you will obtain help for 1t 6 Install Uninstall To install the program or new options execute wxsetup exe and follow the Instructions To unistall execute the Uninstall program and click Start Press Quit when the process has finished 7 FAQs e The application doesn t take the last value of the signal when I try to define it It 1s important to know that you must press the right arrow to really introduce the signal that 1s after indicating the number of high low level cycles press button to make the software know the new value 17 WinXSPort User Manual e How can I define a counter from 0 to 15 First of all you have to select signals DO D1 D2 and D3 data register in the configuration panel Figure 3 Then in signal definition dialog Figure 8 you must define signals as follows D3 In order to get help about how to choose and define signals you can go to section 3 1 1 4 Then in each
9. gt o O D5 o O D O D _ O D E DA a somo os E O O a O Y ER RE EA 7 5 4 3 2 1 S7 S6 S5 S4 S3 C3 C2 Cl CO 22
10. in a DB 25 female connector For instance when you write 1 at bit O ot data register DO you will have 1 at pin 2 of the connector Pins controlled by the Data Register nee iz 11 9 10 a o T 6 es es e3 jesen us a Pins controlled by the Status Register Pins controlled by the Control Register Note Pins 18 to 25 must be connected to GND Figure 1 DB 25 female connector Correspondence between pins and registers after Harries In case you need further information about the parallel port and how to make applications interfacing the parallel port you should have a look to Peacock Harries and Anderson WinXSPort User Manual 3 WinXSPort 1 0 the Application WinXSPort lets you work with the Parallel Port of a computer sending and receiving information from the different pins It is especially designed so that you can send and receive data from an XS40 board Xess VandenBout but you can also control other devices It 1s advisable to read the introduction to the Parallel Port of this manual before you use this application WinXSPort is very easy to use First of all you have to run the application You can do it by double clicking on the WinXSPort icon Wires Port 1 0 and you will see the main window k Untitled Windows WinxS5Port ETSIT UYA graphical utility for the Parallel Port Miel ES File View Windows Help Ole B12 For Help press Fl Figure 2 WinXSPort Main Wind
11. offers and interesting comments that can help you to solve some of your problems while using 1t WinXSPort has been developed by a group of students at the College of Telecommunication Engineers ETSIT at the University of Valladolid Spain Hopefully you will find this program useful 1 1 Main features of WinXSPort 1 0 e It allows communication with XS Boards from XESS Corporation http www xess com FPGA and other external circuits e Jt has got a Graphical User Interface e It works on Windows 95 98 NT e It supports different port addresses e You can send signals to the board and read signals from it e You may select and give meaningful names to the pins used e Stimulus signals can be set in two ways Interactive mode you may change the signal applied on a pin by pressing a button Defined signals you may define a timing diagram e g my signal X should be high 5 steps low 3 steps and so on Your signals will change according to that diagram e The signals you sent to the board and read from it will be displayed on the screen e You can store the configuration and the stimulus in a file and load it later to repeat automatically the stimulus sent to the board 1 2 Requirements e Windows 95 98 NT e DriverLINX Port I O Driver must be installed in your computer This driver is provided without charge by Scientific Software Tools Inc http www sstnet com You can find a copy at XESS Corp website
12. outputs from input is 150 msecs you may be interested in reading the outputs of your circuit at least 150 msecs after the inputs are given so you must click button a and set your timer Timer Configuration Timer Time between write and read i 00 MECS Figure 9 Timer Configuration Window Then this timer is used to set the minimum time between writing signals Dx Cx and reading signals Sx The minimum time is 1 ms but since Windows is not a real time operating system if you specify a timer of less that 100 ms 1t will not be accurate 3 2 Running the Application Sending and Receiving Data Once the configuration is set you are ready to run the application and establish communication with the Parallel Port sending and receiving data to from it You only have to press button Stimulus Control Window WinXSPort User Manual Then a new window will appear where you can interactively change signals status Stimulus Control Figure 10 Stimulus Control Window In the stimulus control dialog you can see the signals you are working with only those associated with Dx and Cx but not the ones associated with Sx and their current and next status on off aT Pressing the Switch button you may change the signal status interactively if it has not been defined If you have defined a non periodic signal that lasts N cycles this switch button will not be enabled until cycle N 1 This button is not enabled for periodic sign
13. to apply All these tasks can be done in the WinXSPort Configuration Panel WinXSPort User Manual wasPort Configuration Panel Welcome to the WXs Port Configuration Screen Here vou can configure the stimulus you want to use the outputs you want to see and the location for all those signals Port Configuration Parallel Port Address 0 270 A D a E Parallel Port Mode Input Signals T Do you need a clock signal T bo DI mM TDS T D4 D5 DE TD Ci ial l to i qi a i gt a to i Weine El LUE E eR Weine Weine Werne PE Weine T T TT Lancel Figure 3 WinXSPort Configuration Panel 3 1 1 1 Port Address The default port address is 0x378 but it is also possible to change it in case your application is going to be run in a machine whose Parallel Port has been assigned another address Parallel Port Address Kae F Figure 4 Parallel Port Address You are given the possibility to select Other address so you must be very careful with the one you write as it is going to be the base address for your next operations with Parallel Port WinXSPort User Manual 3 1 1 2 Parallel Port Mode XS Board Mode WinXSPort allows you to choose which mode you are going to work with It is possible to have an application running in Parallel Port Mode or in XS Board Mode Thus first of all you must indicate it in the configuration window aj
14. Na Y User Manual LICENSING AND INTELLECTUAL PROPERTY ISSUES WinXSPort Version 1 0 1 Jun 1999 WinXSPort is available at no cost for non profit purposes WinXSPort Not for profit User License Agreement 1 You may copy and distribute copies of WinXSPort or copies of the source code for WinXSPort in any medium provided that you appropriately give credit to the authors and keep intact all intellectual property and disclaimer notices 2 You may modify your copy of WinXSPort but you may not distribute modified versions of WinXSPort You may distribute patches to the original WinXSPort as separate files along with the original WinXSPort 3 You may not charge anything for copies of WinXSPort beyond a fair estimate of the cost of media and computer network time required to make and distribute the copies 4 Incorporation of WinXSPort or any portion thereof into commercial software distribution of WinXSPort for profit or use of WinXSPort for other for profit purposes requires a special agreement with the authors Please contact Ignacio de Miguel at ignmig tel uva es 5 The authors of WinXSPort and Universidad of Valladolid assume absolutely no responsibility for the use or misuse of WinXSPort In no event shall the authors of WinXSPort or Universidad de Valladolid be liable for any damages resulting from use or performance of WinXSPort WinXSPort has been registered as intellectual property of the authors Francisco A Lago Garc
15. als Pressing the Repeat Sequence button the signal will follow the sequence previously defined For example you may have defined a signal to as 11010 and every time you press this button it will follow that sequence This button is not enabled for periodic signals 10 WinXSPort User Manual 3 2 1 Step and Reset In order to continue step by step you must press button Step and the main window will be updated with the status of all the selected signals It will send the input to the external circuit or board and afterwards 1t will read the output provided Unditied Windows Win Port ETSIT 4UVA graphical utility for the Pas el Porn Ml ES Shirt Conti Figure 11 Different signals during the execution In the figure above you can see the signals the application is using names in the left frame and their corresponding status When pressing the Reset button the signals waveforms displayed on the right frame of the window will be cleared but signals will not change to their initial state reset doesn t mean to make a Power on but just clear the window 3 2 2 Reconfiguration of signals It is also possible to reconfigure the state of the signals select new signals remove others etc whenever necessary opening WinXSPort Configuration Panel with button Configuration Window 11 WinXSPort User Manual ad and if you also want to define new signals you must press button Define Define
16. as de Ayuda WXSPORT Application Help El Ei Contenido ndice Buscar 1 Escriba las primeras letras de la palabra que est buscando TUF 2 Haga clic en una entrada de indice y despu s en Mostrar Parallel Port Pin Definition Port Port Address Port Mode printing and print preview Registers Running the Application Save SaveLoad results Signal Configuration State Register status bar Thanks to The Application toolbar bd Imanin Cancelar Figure 16 Application help index User Manual Here you can search words expressions related to topics etc You must write the word you are interested in and you will obtain a list of topics which contain this word or pages on which this word is present The first time you use this operation the list of words and database for the help will be created Temas de Ayuda WXSPORT Application Help EAE Contenido ndice Buscar 1 Escriba laz palabras que desea buscar ruri T Borrar 2 Seleccione algunas palabras coincidentes para limitar la Opciones b squeda rn Eileen simian running Running Enscar ahora Reconstruir Pe 3 Haga clic en un tema y despu s en Mostrar Port Mode Board Mode Mode Running the Application The Application Po 4 temas encontrados Todas las palabras Comenzar Autom tico Pauza Im Cancelar Figure 17 Application help search 16 WinXSPort
17. cccccccccccccccccccccccccsccccccccceecs 2 ZU BASE ADDRESS dec ade e td ade eso 2 O TAS SA A OP ONCE RO A aN Om ORC Eee NCO TEE Te Oa 2 3 WINXSPORT 1 0 THE APPLICATION ui 4 3 AC ONEIGURING W INGAAS POR O a a a AA AA E aa a ERE a acid 5 5 1 1 WINK SE OM Con euran EARL sais 5 VAL LUNCI C ORN EUT ON aa 9 3 2 RUNNING THE APPLICATION SENDING AND RECEIVING DATA ccceccsceccsceccsceccecececcscscsctscscesescucescecesccess 9 PLN PONA ROSE A PP ETE EAE EAE E ATEEN EAEE O EEA Il Ja RECON CUT Of Sonal ei Set CAS e A i DE e ee do er Il ES IN LOAD eee os carers Seah eee eee ao nn ena A Pe dena ee isk es ene O a 12 4 EXAMPLE CONTROL OF A COUNTER iii ii 13 ro A IEA 15 A O A 15 2 AEBLPIN TOR APPLICATION co dai cos pias ecos da lilas oles meo oti pies hn Aes este ces eos eth dia 17 6 INSTALE UNINS TALE cacas 17 TAO oo Cetdatue ua OU ciO enano ceOO 17 S KNOWN PROBLEMS cie 19 E A Les Brera ee oe oon Scere See ae Ee ee eR ent ee eee ae ee eee Cae we eee eer ee ae 20 IAB UT o eS 20 11 REE ERENCES uu is 21 12 APPENDIX At CONNECTION SCHEMES cuina osne oosadassssessdieecao sss 21 WinXSPort User Manual 1 Welcome to WinXSPort 1 0 WinXSPort lets you establish communication with an XS Board or a digital circuit through the Parallel Port of your Computer You will be able to easily test your designs by using a Windows application In this manual you will discover how to use the application WinXSPort the different possibilities it
18. den Bout The Practical Xilinx Designer Lab Book Prentice Hall 1998 Xilinx The Programmable Logic Data Book 1998 12 APPENDIX A Connection schemes If you are going to work in Parallel Port Mode that 1s you are working with an external circuit or you simply need the signals sent to the Parallel Port you must know that the connections between the registers which control de Parallel Port and the pins in the DB 25 connector are as indicated below D7 WinXSPort Signal DB 25 Connector pin Table 2 Connections between the registers and the DB 25 Connector 21 WinXSPort User Manual But this application has been primarily intended to establish communication between the Parallel Port of the computer and XS40 Boards In this case the connections made are as indicated below We have also written the library component you should place in your schematic in order to use each pin In general you just need an IPAD or an OPAD and an IBUF OBUP but sometimes you need other components in this special cases just place the component and the IBUF OBUF but do not set the parameter LOC Pxx D7 MD2 es ee AN MDO a Do map La o _ Pa Not used by WinXSPort Table 3 Connections with an XS40 Board If you are using an XS95 board you should take into account the following table WinXSPort Signal XS95 CPLD pin D D D D D D 28 TDD 6 a Not used by WinXSPort Table 4 Connections with an XS95 Board a
19. http www xess com FPGA port95nt exe e You should configure your parallel port in SPP mode WinXSPort User Manual 2 Introduction to the Parallel Port A very common technique to connect a PC with electronic circuits is using the Parallel Port as it offers inputs and outputs for data which are compatible with TTL levels Then it is really useful to control digital circuits with a PC and be able to read data generated by the circuit The Parallel Port is usually placed in the back side of a computer The Parallel Port connector is typically a 25 pin female connector type D DB 25 There are several specifications for the parallel port Some of them are e SPP Standard Parallel Port It is the original specification being the one this document refers to You should set your port to this mode in order to use WinXSPort e EPP Enhanced Parallel Port e ECP Extended Capabilities Port The configuration of your parallel port can be changed using BIOS You may find more information about the different specifications at Peacock 2 1 Base address You can use several registers or read write ports to control the Parallel Port These registers are placed in fixed memory positions A Parallel Port is usually assigned one of these address ranges Ox3BC Ox3BC 0x3BF It is not often used nowadays 0x378 0x378 0x37F Usually used for LPT1 0x278 0x278 Ox27F Usually used for LPT2 Table 1 Parallel Port address and ranges Firs
20. ia Gonzalo Martin de Mercado P rez T Paloma Ortega Camarero and Ignacio de Miguel Jim nez XESS Corporation is granted the right to distribute this software Intellectual Property of the Authors 1999 Permission to use copy modify and distribute this software and its documentation for any non commercial purpose and without fee is hereby granted provided that the above notice appear in all copies both the above notice and this permission notice appear in supporting documentation THIS SOFTWARE IS PROVIDED AS IS WITHOUT REPRESENTATION OR WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED INCLUDING WITHOUT LIMITATION ANY REPRESENTATIONS OR ENDORSEMENTS REGARDING THE USE OF THE RESULTS OF OR PERFORMANCE OF THE SOFTWARE ITS APPROPRIATENESS ACCURACY RELIABILITY OR CORRECTNESS THE ENTIRE RISK AS TO THE USE OF THIS SOFTWARE IS ASSUMED BY THE USER IN NO EVENT WILL THE AUTHORS OR THE UNIVERSIDAD DE VALLADOLID BE LIABLE FOR ANY DAMAGES DIRECT INDIRECT INCIDENTAL OR CONSEQUENTIAL RESULTING FROM ANY DEFECT IN THE SOFTWARE EVEN IF THE AUTHORS OR THE UNIVERSIDAD DE VALLADOLID HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES IF YOU DO NOT ACCEPT THESE TERMS YOU MUST CEASE AND DESIST USING THIS SOFTWARE IMMEDIATELY TABLE OF CONTENTS Le WELCOME TOWINA SPORT VO ii dea 1 EL MAN FEATURES OF WINX SPORT LM eee od es 1 DOC i EMEN A A O A NA 1 2 INTRODUCTION TO THE PARALLEL PORT cecccccccccccccccccccc
21. ome of the signals e g DO D1 which are connected to NOT gates in the board and it assures that the values the user introduces are going to be those which appear in the correspondent pin of the FPGA For example let s use signal DO This signal is related to pin 2 of the DB 25 connector and it is also connected going through a NOT gate to pin 44 of the FPGA Thus when working in Parallel Port Mode and DO 1 the application assures that pin 2 of the DB 25 connector that is the correspondent pin connected to DO is also set to this value But if you are 18 WinXSPort User Manual working in XS Board Mode and set DO to 1 this is also going to be the value that you will get in pin 44 of the FPGA Parallel Port Mode XS Board Mode TABLE 2 1 Port Mode Board Mode Then as indicated above WinXSPort takes care of all these problems so the user only has to know in which mode he she wants to work and make sure the introduced values are those needed for the application Remember that 1f you are using the XSBoard in your application you must use XS Board Mode since if you use Parallel Port Mode instead the FPGA will clear 1ts configuration memory e When using the clock DO how do you write and read signals Do you take into account set up time We write the data register and control register Afterwards we write the data register again but with the clock signal changed Then after holding on some time as set in the Timer
22. ow Then it 1s necessary to configure the pins that is to select which pins you are going to use and work with Just press button Configuration Window to make the WinXSPort Configuration Panel appear and set your own configuration This process is explained with more detail in section 3 1 1 It should work with XS95 and XSP boards too WinXSPort User Manual Then it is time for the application to be run that is to start sending and receiving data Pressing button Stimulus Control Window another window will appear There it is possible to change the values of the signals in each step and send them with button Step E at E The application will run step by step letting you see the state of each signal in the main window This process will be explained in section 3 2 3 1 Configuring WinXSPort You should configure WinXSPort before using it you have to indicate the Parallel Port address in your PC select the application working mode and the pins you are going to use You must do it in the WinXSPort Configuration Panel You may also configure the time elapsed between sending data to the external circuit and reading the output from it That period can be set by pressing the Timer Configuration button 3 1 1 WinXSPort Configuration Panel First of all you have to indicate the Parallel Port address in your PC select the application working mode the pins you are going to use You may even define the stimulus you are going
23. ow which are the connections between the FPGA the Parallel Port and the DB 25 Connector Appendix A table A 2 gt In this design inputs are e Clock Signal Pin 44 of the FPGA is used which corresponds to input signal DO of WinXSPort As we are using Board Mode when we write 1 in the program there will also be 1 in pin 44 of the FPGA idem with 0 e Enable Pin 47 of the FPGA is used which corresponds to input signal D3 Counter outputs are placed in pins 70 77 66 and 69 of the FPGA which correspond to WinXSPort signals S3 S4 S3 and S6 respectively So the configuration we are going to use in WinXSPort is shown in the figure below 13 WinXSPort User Manual Wo at Corpa Pare ho the Peet Config bon 5 cee Hee te oon Condens Pe tirrado you send bp eas has uds acd Pan bi pes ered de location dor ll haces pared Parral Part 2 Doe Lampard na FF Dopa need a clock signal Fest HallCuele D C iH 1 Poo Eo a a a rs To mia care Fer 54 fours oa hen iria es fours FF D3 E ES F ours D Dt Poe HE M op ra F De oF Figure 13 Configuration Panel As said before we must use both a clock signal DO and an enable signal D3 This one can be defined in this dialog box pressing Define or change its status interactively later In the figure below you can see the different signals In the outputs OUTI is the LSB and OUT4 is the MSB The counter has performed 0 1 2
24. step of the execution of the application you will obtain values in pins DO D3 corresponding to 0 1 2 15 e Part of my left frame has disappeared what should I do Just click in the vertical scroll bar It will synchronize then with the right frame of the window e A message box has appeared indicating that the application has come to an end what can I do to continue the execution The length of the execution of the application is finite 999 steps and then a message box will notify it If you want to continue the execution you must press Reset button to clear the window and then you can go on by pressing button Step e I have opened a file and have modified it but now I would like to open the saved version I can t do it as the software ignores me What can I do Press New in the toolbar menu and don t save the changes when you are asked to and then open the file e I m using Xilinx Foundation Series and an XS40 board and would like to use pins 32 34 75 15 17 and 16 of the FPGA but I m getting errors like Bad format for LOC constraint P32 on IPAD symbol when implementing my design Why All those pins are special pins of the FPGA Instead using an IPAD or an OPAD you should use a special library component Take a look at Table 3 at Appendix A where you will find the component you should use in each case e Why are there two different configuration modes In XS Board Mode the application is in charge of s
25. t of all you should know the base address for the Parallel Port you are going to use e Ifyou are using Windows 95 it is easy to know this address following the sequence Start gt Settings gt Control Panel System gt Device Manager Ports Printer Port LPTx Resources And there you have it e If you are using Windows NT you can check it using BIOS 2 2 Registers There are three 8 bit registers or ports which offer interesting operations for communication with the Parallel Port WinXSPort User Manual 1 Data Register It is placed at the base address of the port and it is used to send data from the computer to an external peripheral by setting the voltage level of 8 of the pins in the DB 23 connector 2 Status Register It is placed at Base address 1 and 1t 1s used to make the computer read data from an external peripheral It reads the voltage level of 5 of the pins in the connector 3 Control Register It 1s placed at Base address 2 Another 4 pins that can be used to send data to an external peripheral For example 1f you want to send control signals to an external digital circuit you can use data or control register to do it setting bits DO to D7 of the data register or bits CO to C3 of the control register If you are going to receive data from a peripheral you can do it by reading bits S3 to S7 of the status register In the figure below you can see which bit in each register controls which pin
Download Pdf Manuals
Related Search
Related Contents
MP 360° - Top Hoe ENERGY MANAGEMENT SYSTEM Manual Leica DISTO D810 touch フラッシュマン FM6T・I取扱説明書(2012年8月~) Omnia UL_R-UL_RI - schede Disc and Hydraulic Brakes Cables Direct CT-368B cable tie EIB-004 Back-up Generators Home Decorators Collection 2877425970 Instructions / Assembly Copyright © All rights reserved.
Failed to retrieve file