019- NET A4
LOC=P79;
020- NET A5
LOC=P82;
021- NET A6
LOC=P83;
022- NET A7
LOC=P84;
023- NET A8
LOC=P58; # UPPER BYTE OF ADDRESS
024- NET A9
LOC=P56;
025- NET A10
LOC=P54;
026- NET A11
LOC=P55;
027- NET A12
LOC=P53;
028- NET A13
LOC=P57;
029- NET A14
LOC=P61;
030- #
031- # XS95 BOARD RAM CONTROL PINS
032- NET OE_
LOC=P62; # ACTIVE-LOW OUTPUT ENABLE
033- NET CE_
LOC=P65; # ACTIVE-LOW CHIP ENABLE
034- #
035- #
036- # XSTEND BOARD CONNECTIONS
037- #
038- # VGA CONNECTIONS
039- NET VSYNC_
LOC=P24;
040- NET HSYNC_
LOC=P15;
041- NET RED1
LOC=P14;
042- NET RED0
LOC=P18;
043- NET GREEN1
LOC=P17;
044- NET GREEN0
LOC=P19;
045- NET BLUE1
LOC=P23;
046- NET BLUE0
LOC=P21;
047- #
048- # PUSHBUTTON SWITCH CONNECTIONS (ACTIVE-LOW)
049- NET PUSH_RESET_
LOC=P10;
3.3
Using the PS/2 Keyboard Interface
This example creates a circuit that accepts scan codes from a keyboard attached to the PS/2
interface of the XStend Board and displays it on the LEDs. In addition, if a scan code for one of
the keys '0'—'9' arrives, then the numeral will be displayed on the right LED display of the
XStend Board. The ABEL code for this example is shown in
Listing 19
;
Listing 20
and
Listing
21
show the UCF files for using the XS40 and XS95 Boards with the XStend Board,
respectively.
The design files for this example should be found in C:\XST-PROJ\EXP3. The steps for
compiling and testing the design using an XS40 combined with an XStend Board are as follows:
•
Synthesize the ABEL code in the EXP3.ABL for an XC4005XL FPGA.
•
Compile the synthesized netlist using the EXP3_40.UCF constraint file.
•
Mount an XS40 Board in the XStend Board and attach the downloading cable from the
XS40 to the PC parallel port. Apply 9VDC though jack J9 of the XS40. Place shunts on
jumpers J4, J7, and J8 to enable the LEDs. Place a shunt on jumper J11 to keep the XStend
codec disabled. Attach a keyboard to the PS/2 connector of the XStend Board.
Содержание XStend
Страница 29: ...XStend Bus Connections...
Страница 30: ...XStend RAMs...
Страница 31: ...XStend Analog I O...
Страница 32: ...XStend Stereo Codec...
Страница 33: ...XStend Switches LEDs VGA Interface and PS 2 Interface...
Страница 34: ...XStend Board Layout...