XESS XStend XS40 User Manual Download Page 18

 

XS40 BOARD V1.4 USER MANUAL 

 

17

 

The programmable oscillator output goes directly to a synchronous clock input of the 
FPGA.  The FPGA uses this clock to generate a clock that it sends to the XTAL1 clock 
input of the microcontroller. 

The microcontroller multiplexes the lower eight bits of a memory address with eight bits of 
data and outputs this on its P0 port.  Both the SRAM data lines and the FPGA are 
connected to P0.  The SRAM uses this connection to send and receive data to and from 
the microcontroller.  The FPGA is programmed to latch the address output on P0 under 
control of the ALE signal and send the latched address bits to the lower eight address 
lines of the SRAM. 

Meanwhile, the upper eight bits of the address are output on the P2 port of the 
microcontroller.  The 32 Kbyte SRAM on the XS40 Board uses the lower seven of these 
address bits while the 128 KByte SRAM on the XS40+ Board gets all eight address bits.  
The FPGA also receives the upper eight address bits and decodes these along with the 
PSENB and read/write control line (from pin P3.6 of port P3 ) from the microcontroller to 
generate the CEB and OEB signals that enable the SRAM and its output drivers, 
respectively.  Either of the CEB or OEB signals can be pulled high to disable the SRAM 
and prevent it from having any effect on the rest of the XS40 Board circuitry. 

One of the outputs of the FPGA controls the reset line of the microcontroller.  The 
microcontroller can be prevented from having any effect on the rest of the circuitry by 
forcing the RST pin high through the FPGA.  (When RST is active, the microcontroller pins 
are weakly pulled high.) 

Many of the I/O pins of ports P1 and P3 of the microcontroller connect to the FPGA and 
can be used for general-purpose I/O between the microcontroller and the FPGA.  In 
addition to being general-purpose I/O, the P3 pins also have special functions such as 
serial transmitters, receivers, interrupt inputs, timer inputs, and external SRAM read/write 
control signals.  If you aren't using a particular special function, then you can use the 
associated pin for general-purpose I/O between the microcontroller and the FPGA.  In 
many cases, however, you will program the FPGA to make use of the special-purpose 
microcontroller pins.  (For example, the FPGA could generate microcontroller interrupts.)  
If you want to drive the special-purpose pin from an external circuit, then the FPGA I/O pin 
connected to it must be tristated. 

A seven-segment LED digit connects directly to the FPGA. (These same FPGA pins can 
also drive a VGA monitor.)  The FPGA can be programmed so the microcontroller can 
control the LEDs either through P1 or P3 or by memory-mapping a latch for the LED into 
the memory space of the microcontroller. 

The PC can transmit signals to the XS40 Board through the eight data output bits of the 
parallel port.  The FPGA has direct access to these signals.  The microcontroller can also 
access these signals if you program the FPGA to pass them onto the FPGA I/O pins 
connected to the microcontroller. 

Communication from the XS40 Board back to the PC also occurs through the parallel port.  
The parallel port status pins are connected to pins of microcontroller ports P1 and P3 .  
Either the microcontroller or the FPGA can drive the status pins.  The PC can read the 
status pins to fetch data from the XS40 Board. 

The FPGA also has access to the clock and data lines of a keyboard or mouse attached to 
the PS/2 port of the board. 

Summary of Contents for XStend XS40

Page 1: ...oard V1 4 XS40 XSP Board V1 4 XS40 XSP Board V1 4 User Manual User Manual User Manual User Manual How to install test and use your new XS40 or XSP Board 2608 Sweetgum Drive Apex NC 27502 Toll free 800...

Page 2: ...Corp All XC prefix product designations are trademarks of Xilinx All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any mea...

Page 3: ...your XILINX Foundation software tools installed properly send an e mail message describing your problem to hotline xilinx com or check their web site at http support xilinx com Take notice The XS40 B...

Page 4: ...r package an XS40 or XSP Board note that your XSP Board will be labeled as an XS40 but the socket will contain a Xilinx Spartan FPGA with an XCS prefix a 6 cable with a 25 pin male connector on each e...

Page 5: ...a non conducting surface as shown in Figure 1 Then apply power to jack J9 of the XS40 Board from a 9V DC wall transformer with a 2 1 mm female center positive plug See Figure 2 for the location of jac...

Page 6: ...pins for the various XS40 Boards XS40 Board Type GND Pin 5V Pin 3 3V Pin XS40 005E V1 4 52 2 54 none XS40 005XL V1 4 52 2 54 XS40 010E V1 4 52 2 54 none XS40 010XL V1 4 52 2 54 XSP 010 V1 4 52 2 54 no...

Page 7: ...1 Connecting a VGA Monitor to Your XS40 Board You can display images on a VGA monitor by connecting it to the 15 pin J2 connector at the bottom of your XS40 Board see Figure 1 You will have to downloa...

Page 8: ...OM U7 On The shunt should be installed when the on board serial EEPROM U7 is being programmed J6 Off default The shunt should be removed during normal board use 1 2 ext default The shunt should be ins...

Page 9: ...be displayed if the test fails A status window will also appear on your PC screen informing you of the success or failure of the test If your XS40 Board fails the test you will be shown a checklist of...

Page 10: ...ype pulldown list Next you enter a divisor between 1 and 2052 into the Divisor text box and then click on the SET button Then follow the sequence of instructions given by GXSSETCLK for moving shunts a...

Page 11: ...ownload your circuit each time you make changes to it You can download an FPGA design into your XS40 Board using the GXSLOAD utility as follows You start GXSLOAD by clicking on the icon placed on the...

Page 12: ...g on the Load button will begin sending the highlighted file to the XS40 Board through the parallel port connection BIT files contain configuration bitstreams that are loaded into the FPGA GXSLOAD wil...

Page 13: ...to store the bitstream in a serial EEPROM placed in socket U7 on your XS40 Board The EEPROM will configure the FPGA for operation as soon as power is applied The XILINX XC1700 is a series of serial EE...

Page 14: ...EPROM upon power on 1 Remove the downloading cable from connector J1 of the XS40 Board As an alternative you can use the command XSPORT 0 to make sure the upper two data bits of the parallel port are...

Page 15: ...he FPGA remains configured as an interface to the RAM You can also examine the contents of the RAM device by uploading it to the PC To upload data from an address range in the RAM type the upper and l...

Page 16: ...e some new intra system inputs and outputs created by the need for the microcontroller and the FPGA to cooperate In general the FPGA will be used mainly for low level functions where signal transition...

Page 17: ...like placing printf statements in your C language programs This is admittedly crude but will serve if you don t have access to a programmable stimulus generator or logic analyzer Figure 3 FPLD microc...

Page 18: ...igh Many of the I O pins of ports P1 and P3 of the microcontroller connect to the FPGA and can be used for general purpose I O between the microcontroller and the FPGA In addition to being general pur...

Page 19: ...atus input pins of the PC parallel port Pin 67 drives the vertical sync signal for a VGA monitor 69 P3 1 TXD PC S6 68 P3 4 T0 PS 2 CLK 62 P3 6 WRB WEB 27 P3 7 RDB These pins connect to some of the pin...

Page 20: ...P C _D 4 P C _D 3 P C _D 2 P C _D 1 R E D 0 G R E E N 0 B LU E 1 R E D 1 H S Y N C V S Y N C G R E E N 1 S 3 S 4 S 5 S 6 F P G A 7 S egm entLE D V G A In p u ts P C P a ra l l e l P o rt D a ta O u tp...

Page 21: ...XS40 BOARD V1 4 USER MANUAL 20...

Page 22: ...XS40 BOARD V1 4 USER MANUAL 21...

Page 23: ...xs40v1_4 sch 1 Mon Sep 6 13 53 50 1999...

Reviews: